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,HeightLimitView,StructureHolder
- Mappings:
Namespace Name official cquintermediary net/minecraft/class_2812named net/minecraft/world/chunk/EmptyChunk
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.WorldChunk
WorldChunk.CreationType, WorldChunk.EntityLoaderNested classes/interfaces inherited from class net.minecraft.world.chunk.Chunk
Chunk.TickSchedulers -
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, heightLimitView, heightmaps, needsSaving, pos, postProcessingLists, sectionArray, upgradeData -
Constructor Summary
ConstructorsConstructorDescriptionEmptyChunk(World world, ChunkPos chunkPos, RegistryEntry<Biome> registryEntry) -
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()voidvoidsetBlockEntity(BlockEntity blockEntity) setBlockState(BlockPos pos, BlockState state, boolean moved) Methods inherited from class net.minecraft.world.chunk.WorldChunk
addChunkTickSchedulers, addEntity, canTickBlockEntity, clear, disableTickSchedulers, getBlockEntities, getBlockEntity, getBlockTickScheduler, getFluidState, getFluidTickScheduler, getGameEventDispatcher, getLightSourcesStream, getPackedBlockEntityNbt, getStatus, getTickSchedulers, getWorld, loadEntities, loadFromPacket, removeChunkTickSchedulers, runPostProcessing, setLevelTypeProvider, setLoadedToWorld, setShouldRenderOnUpdate, shouldRenderOnUpdate, updateAllBlockEntitiesMethods inherited from class net.minecraft.world.chunk.Chunk
addPendingBlockEntityNbt, addStructureReference, getBelowZeroRetrogen, getBlendingData, getBlockEntityNbt, getBlockEntityPositions, getBottomY, getHeight, getHeightLimitView, getHeightmap, getHeightmaps, getHighestNonEmptySection, getHighestNonEmptySectionYOffset, getInhabitedTime, getList, getOrCreateChunkNoiseSampler, getPos, getPostProcessingLists, getSection, getSectionArray, getStructureReferences, getStructureReferences, getStructureStart, getStructureStarts, getUpgradeData, hasBelowZeroRetrogen, hasHeightmap, hasStructureReferences, increaseInhabitedTime, isLightOn, markBlockForPostProcessing, markBlockForPostProcessing, needsSaving, populateBiomes, sampleHeightmap, setBiomeIfAbsent, setBlendingData, setHeightmap, setInhabitedTime, setLightOn, setNeedsSaving, setStructureReferences, setStructureStart, setStructureStarts, 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, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
field_36407
- Mappings:
Namespace Name Mixin selector official lLcqu;l:Lgr;intermediary field_36407Lnet/minecraft/class_2812;field_36407:Lnet/minecraft/class_6880;named field_36407Lnet/minecraft/world/chunk/EmptyChunk;field_36407:Lnet/minecraft/util/registry/RegistryEntry;
-
-
Constructor Details
-
EmptyChunk
-
-
Method Details
-
getBlockState
Returns the block state atpos.- Specified by:
getBlockStatein interfaceBlockView- Overrides:
getBlockStatein classWorldChunk- Returns:
- the block state at
pos - Mappings:
Namespace Name Mixin selector official a_Lcaa;a_(Lgi;)Lcou;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
- Overrides:
setBlockStatein classWorldChunk- Mappings:
Namespace Name Mixin selector official aLcqp;a(Lgi;Lcou;Z)Lcou;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
Returns the fluid state atpos.- Specified by:
getFluidStatein interfaceBlockView- Overrides:
getFluidStatein classWorldChunk- Returns:
- the fluid state at
pos - Mappings:
Namespace Name Mixin selector official b_Lcaa;b_(Lgi;)Ldiw;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 hLcaa;h(Lgi;)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 aLcqz;a(Lgi;Lcqz$b;)Lcmq;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 bLcqz;b(Lcmq;)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
- Overrides:
setBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector official aLcqp;a(Lcmq;)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
- Overrides:
removeBlockEntityin classWorldChunk- Mappings:
Namespace Name Mixin selector official dLcqp;d(Lgi;)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
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin classWorldChunk- Mappings:
Namespace Name Mixin selector official ALcqz;A()Zintermediary method_12223Lnet/minecraft/class_2818;method_12223()Znamed isEmptyLnet/minecraft/world/chunk/WorldChunk;isEmpty()Z
-
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight) - Overrides:
areSectionsEmptyBetweenin classChunk- Mappings:
Namespace Name Mixin selector official aLcqp;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 BLcqz;B()Ladh$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;
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGenin interfaceBiomeAccess.Storage- Overrides:
getBiomeForNoiseGenin classChunk- Mappings:
Namespace Name Mixin selector official getNoiseBiomeLcbs$a;getNoiseBiome(III)Lgr;intermediary method_16359Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;named getBiomeForNoiseGenLnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/util/registry/RegistryEntry;
-