Class SingleBlockFakeLevel.SingleBlockFakeLevelGetter
java.lang.Object
com.ldtteam.structurize.client.fakelevel.SingleBlockFakeLevel.SingleBlockFakeLevelGetter
- All Implemented Interfaces:
IFakeLevelBlockGetter,net.minecraft.world.level.BlockGetter,net.minecraft.world.level.LevelHeightAccessor,net.minecraftforge.common.extensions.IForgeBlockGetter
- Enclosing class:
- SingleBlockFakeLevel
public static class SingleBlockFakeLevel.SingleBlockFakeLevelGetter
extends Object
implements IFakeLevelBlockGetter
-
Field Summary
FieldsModifier and TypeFieldDescriptionnet.minecraft.world.level.block.entity.BlockEntitynet.minecraft.world.level.block.state.BlockState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeSelfInCrashReport(net.minecraft.CrashReportCategory category) To show who is this fake level in level crashesnet.minecraft.world.level.block.entity.BlockEntitygetBlockEntity(net.minecraft.core.BlockPos pos) net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos pos) intshortgetSizeX()shortgetSizeZ()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface com.ldtteam.structurize.client.fakelevel.IFakeLevelBlockGetter
getAABB, getFluidState, getMaxX, getMaxZ, getMinBuildHeight, getMinX, getMinZ, getRawBlockState, getRawBlockStateFunction, isPosInside, isPosOutsideMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManagerMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
blockState
public net.minecraft.world.level.block.state.BlockState blockState -
blockEntity
public net.minecraft.world.level.block.entity.BlockEntity blockEntity
-
-
Constructor Details
-
SingleBlockFakeLevelGetter
public SingleBlockFakeLevelGetter()
-
-
Method Details
-
getBlockEntity
public net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos pos) - Specified by:
getBlockEntityin interfacenet.minecraft.world.level.BlockGetter
-
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) - Specified by:
getBlockStatein interfacenet.minecraft.world.level.BlockGetter
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacenet.minecraft.world.level.LevelHeightAccessor
-
getSizeX
public short getSizeX()- Specified by:
getSizeXin interfaceIFakeLevelBlockGetter- Returns:
- width for X axis
-
getSizeZ
public short getSizeZ()- Specified by:
getSizeZin interfaceIFakeLevelBlockGetter- Returns:
- width for Z axis
-
describeSelfInCrashReport
public void describeSelfInCrashReport(net.minecraft.CrashReportCategory category) Description copied from interface:IFakeLevelBlockGetterTo show who is this fake level in level crashes- Specified by:
describeSelfInCrashReportin interfaceIFakeLevelBlockGetter
-