Package net.minecraft.world.chunk
Class EmptyChunk
java.lang.Object
net.minecraft.world.chunk.WorldChunk
net.minecraft.world.chunk.EmptyChunk
- All Implemented Interfaces:
BlockView,Chunk,HeightLimitView,StructureHolder
public class EmptyChunk extends WorldChunk
- Mappings:
Namespace Name official cknintermediary net/minecraft/class_2812named net/minecraft/world/chunk/EmptyChunk
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classEmptyChunk.EmptyBiomeArrayNested classes/interfaces inherited from class net.minecraft.world.chunk.WorldChunk
WorldChunk.CreationType, WorldChunk.DirectBlockEntityTickInvoker<T extends BlockEntity>, WorldChunk.EmptyBlockEntityTickInvoker, WorldChunk.WrappedBlockEntityTickInvoker -
Field Summary
Fields inherited from class net.minecraft.world.chunk.WorldChunk
EMPTY_SECTION -
Constructor Summary
Constructors Constructor Description EmptyChunk(World world, ChunkPos pos) -
Method Summary
Modifier and Type Method Description voidaddBlockEntity(BlockEntity blockEntity)booleanareSectionsEmptyBetween(int lowerHeight, int upperHeight)@Nullable BlockEntitygetBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)BlockStategetBlockState(BlockPos pos)FluidStategetFluidState(BlockPos pos)ChunkHolder.LevelTypegetLevelType()intgetLuminance(BlockPos pos)booleanisEmpty()voidmarkDirty()voidremoveBlockEntity(BlockPos pos)voidsetBlockEntity(BlockEntity blockEntity)@Nullable BlockStatesetBlockState(BlockPos pos, BlockState state, boolean moved)Methods inherited from class net.minecraft.world.chunk.WorldChunk
addEntity, addPendingBlockEntityNbt, addStructureReference, disableTickSchedulers, enableTickSchedulers, getBiomeArray, getBlockEntities, getBlockEntity, getBlockEntityNbt, getBlockEntityPositions, getBlockTickScheduler, getBottomY, getFluidState, getFluidTickScheduler, getGameEventDispatcher, getHeight, getHeightmap, getHeightmaps, getInhabitedTime, getLightSourcesStream, getPackedBlockEntityNbt, getPos, getPostProcessingLists, getSectionArray, getStatus, getStructureReferences, getStructureReferences, getStructureStart, getStructureStarts, getUpgradeData, getWorld, isLightOn, loadFromPacket, loadToWorld, needsSaving, removeAllBlockEntities, runPostProcessing, sampleHeightmap, setHeightmap, setInhabitedTime, setLevelTypeProvider, setLightOn, setLoadedToWorld, setShouldSave, setStructureReferences, setStructureStart, setStructureStarts, updateAllBlockEntityTickersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockView
getDismountHeight, getDismountHeight, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.chunk.Chunk
getHighestNonEmptySection, getHighestNonEmptySectionYOffset, getSection, markBlockForPostProcessing, markBlockForPostProcessingMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Constructor Details
-
EmptyChunk
- Mappings:
Namespace Name Mixin selector official <init>Lckn;<init>(Lbuq;Lbtv;)Vintermediary <init>Lnet/minecraft/class_2812;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;)Vnamed <init>Lnet/minecraft/world/chunk/EmptyChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;)V
-
-
Method Details
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockView- Overrides:
getBlockStatein classWorldChunk- Mappings:
Namespace Name Mixin selector official d_Lbtu;d_(Lfx;)Lcio;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
setBlockState
- Specified by:
setBlockStatein interfaceChunk- Overrides:
setBlockStatein classWorldChunk- Mappings:
Namespace Name Mixin selector official aLckh;a(Lfx;Lcio;Z)Lcio;intermediary method_12010Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;named setBlockStateLnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockView- Overrides:
getFluidStatein classWorldChunk- Mappings:
Namespace Name Mixin selector official bLbtu;b(Lfx;)Ldce;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
getLuminance
- Mappings:
Namespace Name Mixin selector official fLbtu;f(Lfx;)Iintermediary method_8317Lnet/minecraft/class_1922;method_8317(Lnet/minecraft/class_2338;)Inamed getLuminanceLnet/minecraft/world/BlockView;getLuminance(Lnet/minecraft/util/math/BlockPos;)I
-
getBlockEntity
@Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)- Overrides:
getBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector official aLcks;a(Lfx;Lcks$b;)Lcgm;intermediary method_12201Lnet/minecraft/class_2818;method_12201(Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586;named getBlockEntityLnet/minecraft/world/chunk/WorldChunk;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/WorldChunk$CreationType;)Lnet/minecraft/block/entity/BlockEntity;
-
addBlockEntity
- Overrides:
addBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector official bLcks;b(Lcgm;)Vintermediary method_12216Lnet/minecraft/class_2818;method_12216(Lnet/minecraft/class_2586;)Vnamed addBlockEntityLnet/minecraft/world/chunk/WorldChunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
setBlockEntity
- Specified by:
setBlockEntityin interfaceChunk- Overrides:
setBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector official aLckh;a(Lcgm;)Vintermediary method_12007Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)Vnamed setBlockEntityLnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
removeBlockEntity
- Specified by:
removeBlockEntityin interfaceChunk- Overrides:
removeBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector official dLckh;d(Lfx;)Vintermediary method_12041Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)Vnamed removeBlockEntityLnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
-
markDirty
public void markDirty()- Overrides:
markDirtyin classWorldChunk- Mappings:
Namespace Name Mixin selector official tLcks;t()Vintermediary method_12220Lnet/minecraft/class_2818;method_12220()Vnamed markDirtyLnet/minecraft/world/chunk/WorldChunk;markDirty()V
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classWorldChunk- Mappings:
Namespace Name Mixin selector official uLcks;u()Zintermediary method_12223Lnet/minecraft/class_2818;method_12223()Znamed isEmptyLnet/minecraft/world/chunk/WorldChunk;isEmpty()Z
-
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight)- Mappings:
Namespace Name Mixin selector official aLckh;a(II)Zintermediary method_12228Lnet/minecraft/class_2791;method_12228(II)Znamed areSectionsEmptyBetweenLnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
-
getLevelType
- Overrides:
getLevelTypein classWorldChunk- Mappings:
Namespace Name Mixin selector official vLcks;v()Laar$c;intermediary method_12225Lnet/minecraft/class_2818;method_12225()Lnet/minecraft/class_3193$class_3194;named getLevelTypeLnet/minecraft/world/chunk/WorldChunk;getLevelType()Lnet/minecraft/server/world/ChunkHolder$LevelType;
-