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 cpw
intermediary net/minecraft/class_2812
named net/minecraft/world/chunk/EmptyChunk
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.WorldChunk
WorldChunk.CreationType
Nested classes/interfaces inherited from class net.minecraft.world.chunk.Chunk
Chunk.TickSchedulers
-
Field Summary
Fields inherited from class net.minecraft.world.chunk.WorldChunk
LOGGER, world
Fields inherited from class net.minecraft.world.chunk.Chunk
blender, blockEntities, blockEntityNbts, chunkNoiseSampler, heightLimitView, heightmaps, needsSaving, pos, postProcessingLists, sectionArray, upgradeData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBlockEntity
(BlockEntity blockEntity) boolean
areSectionsEmptyBetween
(int lowerHeight, int upperHeight) getBiomeForNoiseGen
(int biomeX, int biomeY, int biomeZ) getBlockEntity
(BlockPos pos, WorldChunk.CreationType creationType) getBlockState
(BlockPos pos) getFluidState
(BlockPos pos) int
getLuminance
(BlockPos pos) boolean
isEmpty()
void
void
setBlockEntity
(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, loadFromPacket, loadToWorld, removeChunkTickSchedulers, runPostProcessing, setLevelTypeProvider, setLoadedToWorld, updateAllBlockEntities
Methods inherited from class net.minecraft.world.chunk.Chunk
addPendingBlockEntityNbt, addStructureReference, getBelowZeroRetrogen, getBlender, 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, method_38257, method_38258, needsSaving, sampleHeightmap, setBlender, setHeightmap, setInhabitedTime, setLightOn, setShouldSave, setStructureReferences, setStructureStart, setStructureStarts, usesOldNoise
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.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods 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>
Lcqb;<init>(Lbzw;Lbzd;)V
intermediary <init>
Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;)V
named <init>
Lnet/minecraft/world/chunk/WorldChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;)V
-
-
Method Details
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockView
- Overrides:
getBlockState
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official a_
Lbzc;a_(Lgh;)Lcnv;
intermediary method_8320
Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
setBlockState
- Overrides:
setBlockState
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official a
Lcpr;a(Lgh;Lcnv;Z)Lcnv;
intermediary method_12010
Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;
named setBlockState
Lnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
-
getFluidState
- Specified by:
getFluidState
in interfaceBlockView
- Overrides:
getFluidState
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official b_
Lbzc;b_(Lgh;)Ldhi;
intermediary method_8316
Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
named getFluidState
Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
getLuminance
- Mappings:
Namespace Name Mixin selector official g
Lbzc;g(Lgh;)I
intermediary method_8317
Lnet/minecraft/class_1922;method_8317(Lnet/minecraft/class_2338;)I
named getLuminance
Lnet/minecraft/world/BlockView;getLuminance(Lnet/minecraft/util/math/BlockPos;)I
-
getBlockEntity
@Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType) - Overrides:
getBlockEntity
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official a
Lcqb;a(Lgh;Lcqb$b;)Lcls;
intermediary method_12201
Lnet/minecraft/class_2818;method_12201(Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586;
named getBlockEntity
Lnet/minecraft/world/chunk/WorldChunk;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/WorldChunk$CreationType;)Lnet/minecraft/block/entity/BlockEntity;
-
addBlockEntity
- Overrides:
addBlockEntity
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official b
Lcqb;b(Lcls;)V
intermediary method_12216
Lnet/minecraft/class_2818;method_12216(Lnet/minecraft/class_2586;)V
named addBlockEntity
Lnet/minecraft/world/chunk/WorldChunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
setBlockEntity
- Overrides:
setBlockEntity
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official a
Lcpr;a(Lcls;)V
intermediary method_12007
Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)V
named setBlockEntity
Lnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
removeBlockEntity
- Overrides:
removeBlockEntity
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official d
Lcpr;d(Lgh;)V
intermediary method_12041
Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)V
named removeBlockEntity
Lnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
-
isEmpty
public boolean isEmpty()- Overrides:
isEmpty
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official A
Lcqb;A()Z
intermediary method_12223
Lnet/minecraft/class_2818;method_12223()Z
named isEmpty
Lnet/minecraft/world/chunk/WorldChunk;isEmpty()Z
-
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight) - Overrides:
areSectionsEmptyBetween
in classChunk
- Mappings:
Namespace Name Mixin selector official a
Lcpr;a(II)Z
intermediary method_12228
Lnet/minecraft/class_2791;method_12228(II)Z
named areSectionsEmptyBetween
Lnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
-
getLevelType
- Overrides:
getLevelType
in classWorldChunk
- Mappings:
Namespace Name Mixin selector official B
Lcqb;B()Laco$c;
intermediary method_12225
Lnet/minecraft/class_2818;method_12225()Lnet/minecraft/class_3193$class_3194;
named getLevelType
Lnet/minecraft/world/chunk/WorldChunk;getLevelType()Lnet/minecraft/server/world/ChunkHolder$LevelType;
-
getBiomeForNoiseGen
- Specified by:
getBiomeForNoiseGen
in interfaceBiomeAccess.Storage
- Overrides:
getBiomeForNoiseGen
in classChunk
- Mappings:
Namespace Name Mixin selector official getNoiseBiome
Lcau$a;getNoiseBiome(III)Lcas;
intermediary method_16359
Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_1959;
named getBiomeForNoiseGen
Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/world/biome/Biome;
-