Package net.minecraft.world.chunk
Class EmptyChunk
java.lang.Object
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.WorldChunk
net.minecraft.world.chunk.EmptyChunk
- All Implemented Interfaces:
BiomeAccess.Storage,BlockView,LightSourceView,HeightLimitView,StructureHolder
- Mappings:
Namespace Name named net/minecraft/world/chunk/EmptyChunkintermediary net/minecraft/class_2812official edt
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.WorldChunk
WorldChunk.CreationType, WorldChunk.EntityLoader, WorldChunk.UnsavedListenerNested classes/interfaces inherited from class net.minecraft.world.chunk.Chunk
Chunk.TickSchedulersNested classes/interfaces inherited from interface net.minecraft.world.BlockView
BlockView.CollisionVisitor -
Field Summary
FieldsFields inherited from class net.minecraft.world.chunk.WorldChunk
LOGGER, worldFields inherited from class net.minecraft.world.chunk.Chunk
blendingData, blockEntities, blockEntityNbts, chunkNoiseSampler, chunkSkyLight, heightLimitView, heightmaps, MISSING_SECTION, pos, postProcessingLists, sectionArray, upgradeDataFields inherited from interface net.minecraft.world.BlockView
field_54147 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlockEntity(BlockEntity blockEntity) booleanareSectionsEmptyBetween(int lowerHeight, int upperHeight) getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ) getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) getBlockState(BlockPos pos) Returns the block state atpos.getFluidState(BlockPos pos) Returns the fluid state atpos.intgetLuminance(BlockPos pos) booleanisEmpty()booleanisSectionEmpty(int sectionCoord) voidvoidsetBlockEntity(BlockEntity blockEntity) setBlockState(BlockPos pos, BlockState state, int flags) Methods inherited from class net.minecraft.world.chunk.WorldChunk
addChunkTickSchedulers, addEntity, canTickBlockEntity, clear, disableTickSchedulers, getBlockEntities, getBlockEntity, getBlockTickScheduler, getFluidState, getFluidTickScheduler, getGameEventDispatcher, getPackedBlockEntityNbt, getStatus, getTickSchedulers, getWorld, loadBiomeFromPacket, loadEntities, loadFromPacket, markNeedsSaving, removeChunkTickSchedulers, runPostProcessing, setLevelTypeProvider, setLoadedToWorld, setUnsavedListener, updateAllBlockEntitiesMethods inherited from class net.minecraft.world.chunk.Chunk
addPendingBlockEntityNbt, addStructureReference, forEachBlockMatchingPredicate, forEachLightSource, getBelowZeroRetrogen, getBlendingData, getBlockEntityNbt, getBlockEntityPositions, getBottomY, getChunkSkyLight, getHeight, getHeightLimitView, getHeightmap, getHeightmaps, getHighestNonEmptySection, getHighestNonEmptySectionYOffset, getInhabitedTime, getList, getMaxStatus, getOrCreateChunkNoiseSampler, getOrCreateGenerationSettings, getPos, getPostProcessingLists, getSection, getSectionArray, getStructureReferences, getStructureReferences, getStructureStart, getStructureStarts, getUpgradeData, hasBelowZeroRetrogen, hasHeightmap, hasStructureReferences, increaseInhabitedTime, isLightOn, isSerializable, markBlockForPostProcessing, markBlocksForPostProcessing, needsSaving, populateBiomes, refreshSurfaceY, sampleHeightmap, setBlockState, setHeightmap, setInhabitedTime, setLightOn, setStructureReferences, setStructureStart, setStructureStarts, tryMarkSaved, usesOldNoiseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
biomeEntry
- Mappings:
Namespace Name Mixin selector named biomeEntryLnet/minecraft/world/chunk/EmptyChunk;biomeEntry:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_36407Lnet/minecraft/class_2812;field_36407:Lnet/minecraft/class_6880;official nLedt;n:Ljg;
-
-
Constructor Details
-
EmptyChunk
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/EmptyChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary <init>Lnet/minecraft/class_2812;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;Lnet/minecraft/class_6880;)Vofficial <init>Ledt;<init>(Ldkj;Ldjo;Ljg;)V
-
-
Method Details
-
getBlockState
Returns the block state atpos.- Specified by:
getBlockStatein interfaceBlockView- Overrides:
getBlockStatein classWorldChunk- Returns:
- the block state at
pos - Implementation Note:
- This returns the block state for
Blocks.VOID_AIRif the Y coordinate is outside the height limit. - Mappings:
Namespace Name Mixin selector named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;official a_Ldjn;a_(Liw;)Lebq;
-
setBlockState
- Overrides:
setBlockStatein classWorldChunk- Mappings:
Namespace Name Mixin selector named setBlockStateLnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;intermediary method_12010Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Lnet/minecraft/class_2680;official aLedn;a(Liw;Lebq;I)Lebq;
-
getFluidState
Returns the fluid state atpos.- Specified by:
getFluidStatein interfaceBlockView- Overrides:
getFluidStatein classWorldChunk- Returns:
- the fluid state at
pos - Implementation Note:
- This returns the fluid state for
Fluids.EMPTYif the Y coordinate is outside the height limit. - Mappings:
Namespace Name Mixin selector named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;official b_Ldjn;b_(Liw;)Leya;
-
getLuminance
- Mappings:
Namespace Name Mixin selector named getLuminanceLnet/minecraft/world/BlockView;getLuminance(Lnet/minecraft/util/math/BlockPos;)Iintermediary method_8317Lnet/minecraft/class_1922;method_8317(Lnet/minecraft/class_2338;)Iofficial iLdjn;i(Liw;)I
-
getBlockEntity
@Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) - Overrides:
getBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector named getBlockEntityLnet/minecraft/world/chunk/WorldChunk;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/WorldChunk$CreationType;)Lnet/minecraft/block/entity/BlockEntity;intermediary method_12201Lnet/minecraft/class_2818;method_12201(Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586;official aLedx;a(Liw;Ledx$b;)Ldyo;
-
addBlockEntity
- Overrides:
addBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector named addBlockEntityLnet/minecraft/world/chunk/WorldChunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)Vintermediary method_12216Lnet/minecraft/class_2818;method_12216(Lnet/minecraft/class_2586;)Vofficial bLedx;b(Ldyo;)V
-
setBlockEntity
- Overrides:
setBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector named setBlockEntityLnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)Vintermediary method_12007Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)Vofficial aLedn;a(Ldyo;)V
-
removeBlockEntity
- Overrides:
removeBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector named removeBlockEntityLnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_12041Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)Vofficial dLedn;d(Liw;)V
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classWorldChunk- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/world/chunk/WorldChunk;isEmpty()Zintermediary method_12223Lnet/minecraft/class_2818;method_12223()Zofficial ELedx;E()Z
-
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight) - Overrides:
areSectionsEmptyBetweenin classChunk- Mappings:
Namespace Name Mixin selector named areSectionsEmptyBetweenLnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Zintermediary method_12228Lnet/minecraft/class_2791;method_12228(II)Zofficial aLedn;a(II)Z
-
isSectionEmpty
public boolean isSectionEmpty(int sectionCoord) - Overrides:
isSectionEmptyin classChunk- Mappings:
Namespace Name Mixin selector named isSectionEmptyLnet/minecraft/world/chunk/Chunk;isSectionEmpty(I)Zintermediary method_60791Lnet/minecraft/class_2791;method_60791(I)Zofficial cLedn;c(I)Z
-
getLevelType
- Overrides:
getLevelTypein classWorldChunk- Mappings:
Namespace Name Mixin selector named getLevelTypeLnet/minecraft/world/chunk/WorldChunk;getLevelType()Lnet/minecraft/server/world/ChunkLevelType;intermediary method_12225Lnet/minecraft/class_2818;method_12225()Lnet/minecraft/class_3194;official FLedx;F()Larp;
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGenin interfaceBiomeAccess.Storage- Overrides:
getBiomeForNoiseGenin classChunk- Mappings:
Namespace Name Mixin selector named getBiomeForNoiseGenLnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_16359Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;official getNoiseBiomeLdlo$a;getNoiseBiome(III)Ljg;
-