Class EmptyBlockGetter
java.lang.Object
com.soulfiremc.server.util.structs.EmptyBlockGetter
- All Implemented Interfaces:
net.minecraft.world.level.BlockGetter
,net.minecraft.world.level.LevelHeightAccessor
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.BlockGetter
net.minecraft.world.level.BlockGetter.BlockStepVisitor
-
Field Summary
FieldsFields inherited from interface net.minecraft.world.level.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
-
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.world.level.block.entity.BlockEntity
getBlockEntity
(net.minecraft.core.BlockPos pos) net.minecraft.world.level.block.state.BlockState
getBlockState
(net.minecraft.core.BlockPos pos) net.minecraft.world.level.material.FluidState
getFluidState
(net.minecraft.core.BlockPos pos) int
int
getMinY()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, isBlockInLine
Methods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
INSTANCE
-
-
Method Details
-
getBlockEntity
@Nullable public @Nullable net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos pos) - Specified by:
getBlockEntity
in interfacenet.minecraft.world.level.BlockGetter
-
getBlockState
public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) - Specified by:
getBlockState
in interfacenet.minecraft.world.level.BlockGetter
-
getFluidState
public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos pos) - Specified by:
getFluidState
in interfacenet.minecraft.world.level.BlockGetter
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfacenet.minecraft.world.level.LevelHeightAccessor
-
getMinY
public int getMinY()- Specified by:
getMinY
in interfacenet.minecraft.world.level.LevelHeightAccessor
-