Package net.minecraft.world.chunk
Class WorldChunk
java.lang.Object
net.minecraft.world.chunk.WorldChunk
- All Implemented Interfaces:
BlockView,Chunk,HeightLimitView,StructureHolder
- Direct Known Subclasses:
EmptyChunk
- Mappings:
Namespace Name official cmeintermediary net/minecraft/class_2818named net/minecraft/world/chunk/WorldChunk
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate classprivate class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BiomeArrayprivate Map<BlockPos,BlockEntity>private TickScheduler<Block>private static BlockEntityTickInvokerstatic @Nullable ChunkSectionprivate TickScheduler<Fluid>private Int2ObjectMap<GameEventDispatcher>private Map<Heightmap.Type,Heightmap>private longprivate @Nullable Supplier<ChunkHolder.LevelType>private booleanprivate booleanprivate @Nullable Consumer<WorldChunk>(package private) static Loggerprivate Map<BlockPos,NbtCompound>private ChunkPosprivate ShortList[]private ChunkSection[]private booleanprivate Map<StructureFeature<?>,LongSet>private Map<StructureFeature<?>,StructureStart<?>>private UpgradeData(package private) World -
Constructor Summary
ConstructorsConstructorDescriptionWorldChunk(ServerWorld serverWorld, ProtoChunk protoChunk, @Nullable Consumer<WorldChunk> consumer)WorldChunk(World world, ChunkPos pos, BiomeArray biomes)WorldChunk(World world, ChunkPos pos, BiomeArray biomes, UpgradeData upgradeData, TickScheduler<Block> blockTickScheduler, TickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sections, @Nullable Consumer<WorldChunk> loadToWorldConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlockEntity(BlockEntity blockEntity)voidDeprecated.voidvoidaddStructureReference(StructureFeature<?> structure, long reference)private boolean(package private) booleancanTickBlockEntity(BlockPos pos)private @Nullable BlockEntitycreateBlockEntity(BlockPos pos)voidvoidenableTickSchedulers(ServerWorld world)getBlockEntity(BlockPos pos)getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)getBlockEntityNbt(BlockPos pos)getBlockState(BlockPos pos)intReturns the bottom Y level, or height, inclusive, of this view.getFluidState(int x, int y, int z)getFluidState(BlockPos pos)getGameEventDispatcher(int ySectionCoord)intgetHeightmap(Heightmap.Type type)longgetPos()Map<StructureFeature<?>,LongSet>getStructureReferences(StructureFeature<?> structure)getStructureStart(StructureFeature<?> structure)Map<StructureFeature<?>,StructureStart<?>>getWorld()booleanisEmpty()booleanprivate @Nullable BlockEntityloadBlockEntity(BlockPos pos, NbtCompound nbt)voidloadFromPacket(@Nullable BiomeArray biomes, PacketByteBuf buf, NbtCompound nbt, BitSet bitSet)voidvoidprivate <T extends BlockEntity>
voidmethod_32918(T t)method_35319(Heightmap.Type type)booleanvoidprivate voidremoveBlockEntity(BlockEntity blockEntity)voidremoveBlockEntity(BlockPos pos)private voidremoveBlockEntityTicker(BlockPos blockPos)voidintsampleHeightmap(Heightmap.Type type, int x, int z)voidsetBlockEntity(BlockEntity blockEntity)setBlockState(BlockPos pos, BlockState state, boolean moved)voidsetHeightmap(Heightmap.Type type, long[] heightmap)voidsetInhabitedTime(long inhabitedTime)voidsetLevelTypeProvider(Supplier<ChunkHolder.LevelType> levelTypeProvider)voidsetLightOn(boolean lightOn)voidsetLoadedToWorld(boolean loaded)voidsetShouldSave(boolean shouldSave)voidsetStructureReferences(Map<StructureFeature<?>,LongSet> structureReferences)voidsetStructureStart(StructureFeature<?> structure, StructureStart<?> start)voidsetStructureStarts(Map<StructureFeature<?>,StructureStart<?>> structureStarts)voidprivate <T extends BlockEntity>
voidupdateGameEventListener(T blockEntity)private <T extends BlockEntity>
voidupdateTicker(T blockEntity)private <T extends BlockEntity>
BlockEntityTickInvokerwrapTicker(T blockEntity, BlockEntityTicker<T> blockEntityTicker)Methods 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, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.chunk.Chunk
areSectionsEmptyBetween, getHighestNonEmptySection, getHighestNonEmptySectionYOffset, getSection, markBlockForPostProcessing, markBlockForPostProcessingMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLcme;b:Lorg/apache/logging/log4j/Logger;intermediary field_12839Lnet/minecraft/class_2818;field_12839:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/chunk/WorldChunk;LOGGER:Lorg/apache/logging/log4j/Logger;
-
EMPTY_BLOCK_ENTITY_TICKER
- Mappings:
Namespace Name Mixin selector official cLcme;c:Lcje;intermediary field_27221Lnet/minecraft/class_2818;field_27221:Lnet/minecraft/class_5562;named EMPTY_BLOCK_ENTITY_TICKERLnet/minecraft/world/chunk/WorldChunk;EMPTY_BLOCK_ENTITY_TICKER:Lnet/minecraft/world/chunk/BlockEntityTickInvoker;
-
EMPTY_SECTION
- Mappings:
Namespace Name Mixin selector official aLcme;a:Lcmf;intermediary field_12852Lnet/minecraft/class_2818;field_12852:Lnet/minecraft/class_2826;named EMPTY_SECTIONLnet/minecraft/world/chunk/WorldChunk;EMPTY_SECTION:Lnet/minecraft/world/chunk/ChunkSection;
-
sections
- Mappings:
Namespace Name Mixin selector official dLcme;d:[Lcmf;intermediary field_12840Lnet/minecraft/class_2818;field_12840:[Lnet/minecraft/class_2826;named sectionsLnet/minecraft/world/chunk/WorldChunk;sections:[Lnet/minecraft/world/chunk/ChunkSection;
-
biomeArray
- Mappings:
Namespace Name Mixin selector official eLcme;e:Lclu;intermediary field_20655Lnet/minecraft/class_2818;field_20655:Lnet/minecraft/class_4548;named biomeArrayLnet/minecraft/world/chunk/WorldChunk;biomeArray:Lnet/minecraft/world/biome/source/BiomeArray;
-
pendingBlockEntityNbts
- Mappings:
Namespace Name Mixin selector official fLcme;f:Ljava/util/Map;intermediary field_12846Lnet/minecraft/class_2818;field_12846:Ljava/util/Map;named pendingBlockEntityNbtsLnet/minecraft/world/chunk/WorldChunk;pendingBlockEntityNbts:Ljava/util/Map;
-
blockEntityTickers
- Mappings:
Namespace Name Mixin selector official gLcme;g:Ljava/util/Map;intermediary field_27222Lnet/minecraft/class_2818;field_27222:Ljava/util/Map;named blockEntityTickersLnet/minecraft/world/chunk/WorldChunk;blockEntityTickers:Ljava/util/Map;
-
loadedToWorld
private boolean loadedToWorld- Mappings:
Namespace Name Mixin selector official hLcme;h:Zintermediary field_12855Lnet/minecraft/class_2818;field_12855:Znamed loadedToWorldLnet/minecraft/world/chunk/WorldChunk;loadedToWorld:Z
-
world
- Mappings:
Namespace Name Mixin selector official iLcme;i:Lbvy;intermediary field_12858Lnet/minecraft/class_2818;field_12858:Lnet/minecraft/class_1937;named worldLnet/minecraft/world/chunk/WorldChunk;world:Lnet/minecraft/world/World;
-
heightmaps
- Mappings:
Namespace Name Mixin selector official jLcme;j:Ljava/util/Map;intermediary field_12853Lnet/minecraft/class_2818;field_12853:Ljava/util/Map;named heightmapsLnet/minecraft/world/chunk/WorldChunk;heightmaps:Ljava/util/Map;
-
upgradeData
- Mappings:
Namespace Name Mixin selector official kLcme;k:Lcmo;intermediary field_12849Lnet/minecraft/class_2818;field_12849:Lnet/minecraft/class_2843;named upgradeDataLnet/minecraft/world/chunk/WorldChunk;upgradeData:Lnet/minecraft/world/chunk/UpgradeData;
-
blockEntities
- Mappings:
Namespace Name Mixin selector official lLcme;l:Ljava/util/Map;intermediary field_12854Lnet/minecraft/class_2818;field_12854:Ljava/util/Map;named blockEntitiesLnet/minecraft/world/chunk/WorldChunk;blockEntities:Ljava/util/Map;
-
structureStarts
- Mappings:
Namespace Name Mixin selector official mLcme;m:Ljava/util/Map;intermediary field_12838Lnet/minecraft/class_2818;field_12838:Ljava/util/Map;named structureStartsLnet/minecraft/world/chunk/WorldChunk;structureStarts:Ljava/util/Map;
-
structureReferences
- Mappings:
Namespace Name Mixin selector official nLcme;n:Ljava/util/Map;intermediary field_12845Lnet/minecraft/class_2818;field_12845:Ljava/util/Map;named structureReferencesLnet/minecraft/world/chunk/WorldChunk;structureReferences:Ljava/util/Map;
-
postProcessingLists
- Mappings:
Namespace Name Mixin selector official oLcme;o:[Lit/unimi/dsi/fastutil/shorts/ShortList;intermediary field_12836Lnet/minecraft/class_2818;field_12836:[Lit/unimi/dsi/fastutil/shorts/ShortList;named postProcessingListsLnet/minecraft/world/chunk/WorldChunk;postProcessingLists:[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
blockTickScheduler
- Mappings:
Namespace Name Mixin selector official pLcme;p:Lbwq;intermediary field_12841Lnet/minecraft/class_2818;field_12841:Lnet/minecraft/class_1951;named blockTickSchedulerLnet/minecraft/world/chunk/WorldChunk;blockTickScheduler:Lnet/minecraft/world/TickScheduler;
-
fluidTickScheduler
- Mappings:
Namespace Name Mixin selector official qLcme;q:Lbwq;intermediary field_12857Lnet/minecraft/class_2818;field_12857:Lnet/minecraft/class_1951;named fluidTickSchedulerLnet/minecraft/world/chunk/WorldChunk;fluidTickScheduler:Lnet/minecraft/world/TickScheduler;
-
shouldSave
private volatile boolean shouldSave- Mappings:
Namespace Name Mixin selector official rLcme;r:Zintermediary field_12834Lnet/minecraft/class_2818;field_12834:Znamed shouldSaveLnet/minecraft/world/chunk/WorldChunk;shouldSave:Z
-
inhabitedTime
private long inhabitedTime- Mappings:
Namespace Name Mixin selector official sLcme;s:Jintermediary field_12843Lnet/minecraft/class_2818;field_12843:Jnamed inhabitedTimeLnet/minecraft/world/chunk/WorldChunk;inhabitedTime:J
-
levelTypeProvider
- Mappings:
Namespace Name Mixin selector official tLcme;t:Ljava/util/function/Supplier;intermediary field_12856Lnet/minecraft/class_2818;field_12856:Ljava/util/function/Supplier;named levelTypeProviderLnet/minecraft/world/chunk/WorldChunk;levelTypeProvider:Ljava/util/function/Supplier;
-
loadToWorldConsumer
- Mappings:
Namespace Name Mixin selector official uLcme;u:Ljava/util/function/Consumer;intermediary field_12850Lnet/minecraft/class_2818;field_12850:Ljava/util/function/Consumer;named loadToWorldConsumerLnet/minecraft/world/chunk/WorldChunk;loadToWorldConsumer:Ljava/util/function/Consumer;
-
pos
- Mappings:
Namespace Name Mixin selector official vLcme;v:Lbvd;intermediary field_12848Lnet/minecraft/class_2818;field_12848:Lnet/minecraft/class_1923;named posLnet/minecraft/world/chunk/WorldChunk;pos:Lnet/minecraft/util/math/ChunkPos;
-
lightOn
private volatile boolean lightOn- Mappings:
Namespace Name Mixin selector official wLcme;w:Zintermediary field_12847Lnet/minecraft/class_2818;field_12847:Znamed lightOnLnet/minecraft/world/chunk/WorldChunk;lightOn:Z
-
gameEventDispatchers
- Mappings:
Namespace Name Mixin selector official xLcme;x:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_28129Lnet/minecraft/class_2818;field_28129:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named gameEventDispatchersLnet/minecraft/world/chunk/WorldChunk;gameEventDispatchers:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
-
Constructor Details
-
WorldChunk
- Mappings:
Namespace Name Mixin selector official <init>Lcme;<init>(Lbvy;Lbvd;Lclu;)Vintermediary <init>Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;Lnet/minecraft/class_4548;)Vnamed <init>Lnet/minecraft/world/chunk/WorldChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/biome/source/BiomeArray;)V
-
WorldChunk
public WorldChunk(World world, ChunkPos pos, BiomeArray biomes, UpgradeData upgradeData, TickScheduler<Block> blockTickScheduler, TickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable @Nullable ChunkSection[] sections, @Nullable @Nullable Consumer<WorldChunk> loadToWorldConsumer)- Mappings:
Namespace Name Mixin selector official <init>Lcme;<init>(Lbvy;Lbvd;Lclu;Lcmo;Lbwq;Lbwq;J[Lcmf;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;Lnet/minecraft/class_4548;Lnet/minecraft/class_2843;Lnet/minecraft/class_1951;Lnet/minecraft/class_1951;J[Lnet/minecraft/class_2826;Ljava/util/function/Consumer;)Vnamed <init>Lnet/minecraft/world/chunk/WorldChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/biome/source/BiomeArray;Lnet/minecraft/world/chunk/UpgradeData;Lnet/minecraft/world/TickScheduler;Lnet/minecraft/world/TickScheduler;J[Lnet/minecraft/world/chunk/ChunkSection;Ljava/util/function/Consumer;)V
-
WorldChunk
public WorldChunk(ServerWorld serverWorld, ProtoChunk protoChunk, @Nullable @Nullable Consumer<WorldChunk> consumer)- Mappings:
Namespace Name Mixin selector official <init>Lcme;<init>(Labl;Lcmm;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_2839;Ljava/util/function/Consumer;)Vnamed <init>Lnet/minecraft/world/chunk/WorldChunk;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/ProtoChunk;Ljava/util/function/Consumer;)V
-
-
Method Details
-
getGameEventDispatcher
- Specified by:
getGameEventDispatcherin interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(I)Lcod;intermediary method_32914Lnet/minecraft/class_2791;method_32914(I)Lnet/minecraft/class_5713;named getGameEventDispatcherLnet/minecraft/world/chunk/Chunk;getGameEventDispatcher(I)Lnet/minecraft/world/event/listener/GameEventDispatcher;
-
getHeightmap
- Specified by:
getHeightmapin interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(Lcpa$a;)Lcpa;intermediary method_12032Lnet/minecraft/class_2791;method_12032(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2902;named getHeightmapLnet/minecraft/world/chunk/Chunk;getHeightmap(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/Heightmap;
-
getBlockEntityPositions
- Specified by:
getBlockEntityPositionsin interfaceChunk- Mappings:
Namespace Name Mixin selector official cLclt;c()Ljava/util/Set;intermediary method_12021Lnet/minecraft/class_2791;method_12021()Ljava/util/Set;named getBlockEntityPositionsLnet/minecraft/world/chunk/Chunk;getBlockEntityPositions()Ljava/util/Set;
-
getSectionArray
- Specified by:
getSectionArrayin interfaceChunk- Mappings:
Namespace Name Mixin selector official dLclt;d()[Lcmf;intermediary method_12006Lnet/minecraft/class_2791;method_12006()[Lnet/minecraft/class_2826;named getSectionArrayLnet/minecraft/world/chunk/Chunk;getSectionArray()[Lnet/minecraft/world/chunk/ChunkSection;
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockView- Mappings:
Namespace Name Mixin selector official a_Lbvc;a_(Lgb;)Lcka;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;
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockView- Mappings:
Namespace Name Mixin selector official b_Lbvc;b_(Lgb;)Lddz;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;
-
getFluidState
- Mappings:
Namespace Name Mixin selector official aLcme;a(III)Lddz;intermediary method_12234Lnet/minecraft/class_2818;method_12234(III)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/world/chunk/WorldChunk;getFluidState(III)Lnet/minecraft/fluid/FluidState;
-
setBlockState
- Specified by:
setBlockStatein interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(Lgb;Lcka;Z)Lcka;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;
-
addEntity
Deprecated. -
setHeightmap
- Specified by:
setHeightmapin interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(Lcpa$a;[J)Vintermediary method_12037Lnet/minecraft/class_2791;method_12037(Lnet/minecraft/class_2902$class_2903;[J)Vnamed setHeightmapLnet/minecraft/world/chunk/Chunk;setHeightmap(Lnet/minecraft/world/Heightmap$Type;[J)V
-
sampleHeightmap
- Specified by:
sampleHeightmapin interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(Lcpa$a;II)Iintermediary method_12005Lnet/minecraft/class_2791;method_12005(Lnet/minecraft/class_2902$class_2903;II)Inamed sampleHeightmapLnet/minecraft/world/chunk/Chunk;sampleHeightmap(Lnet/minecraft/world/Heightmap$Type;II)I
-
method_35319
- Specified by:
method_35319in interfaceChunk- Mappings:
Namespace Name Mixin selector official bLclt;b(Lcpa$a;)Lgb;intermediary method_35319Lnet/minecraft/class_2791;method_35319(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2338;named method_35319Lnet/minecraft/world/chunk/Chunk;method_35319(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/util/math/BlockPos;
-
createBlockEntity
- Mappings:
Namespace Name Mixin selector official jLcme;j(Lgb;)Lchx;intermediary method_12208Lnet/minecraft/class_2818;method_12208(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;named createBlockEntityLnet/minecraft/world/chunk/WorldChunk;createBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockView- Mappings:
Namespace Name Mixin selector official c_Lbvc;c_(Lgb;)Lchx;intermediary method_8321Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;named getBlockEntityLnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
getBlockEntity
@Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)- Mappings:
Namespace Name Mixin selector official aLcme;a(Lgb;Lcme$b;)Lchx;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
- Mappings:
Namespace Name Mixin selector official bLcme;b(Lchx;)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
-
canTickBlockEntities
private boolean canTickBlockEntities()- Mappings:
Namespace Name Mixin selector official ELcme;E()Zintermediary method_31715Lnet/minecraft/class_2818;method_31715()Znamed canTickBlockEntitiesLnet/minecraft/world/chunk/WorldChunk;canTickBlockEntities()Z
-
canTickBlockEntity
- Mappings:
Namespace Name Mixin selector official kLcme;k(Lgb;)Zintermediary method_31724Lnet/minecraft/class_2818;method_31724(Lnet/minecraft/class_2338;)Znamed canTickBlockEntityLnet/minecraft/world/chunk/WorldChunk;canTickBlockEntity(Lnet/minecraft/util/math/BlockPos;)Z
-
setBlockEntity
- Specified by:
setBlockEntityin interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(Lchx;)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
-
addPendingBlockEntityNbt
- Specified by:
addPendingBlockEntityNbtin interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(Lmv;)Vintermediary method_12042Lnet/minecraft/class_2791;method_12042(Lnet/minecraft/class_2487;)Vnamed addPendingBlockEntityNbtLnet/minecraft/world/chunk/Chunk;addPendingBlockEntityNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getPackedBlockEntityNbt
- Specified by:
getPackedBlockEntityNbtin interfaceChunk- Mappings:
Namespace Name Mixin selector official iLclt;i(Lgb;)Lmv;intermediary method_20598Lnet/minecraft/class_2791;method_20598(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;named getPackedBlockEntityNbtLnet/minecraft/world/chunk/Chunk;getPackedBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
-
removeBlockEntity
- Specified by:
removeBlockEntityin interfaceChunk- Mappings:
Namespace Name Mixin selector official dLclt;d(Lgb;)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
-
method_32918
- Mappings:
Namespace Name Mixin selector official cLcme;c(Lchx;)Vintermediary method_32918Lnet/minecraft/class_2818;method_32918(Lnet/minecraft/class_2586;)Vnamed method_32918Lnet/minecraft/world/chunk/WorldChunk;method_32918(Lnet/minecraft/block/entity/BlockEntity;)V
-
removeBlockEntityTicker
- Mappings:
Namespace Name Mixin selector official lLcme;l(Lgb;)Vintermediary method_31725Lnet/minecraft/class_2818;method_31725(Lnet/minecraft/class_2338;)Vnamed removeBlockEntityTickerLnet/minecraft/world/chunk/WorldChunk;removeBlockEntityTicker(Lnet/minecraft/util/math/BlockPos;)V
-
loadToWorld
public void loadToWorld()- Mappings:
Namespace Name Mixin selector official xLcme;x()Vintermediary method_12206Lnet/minecraft/class_2818;method_12206()Vnamed loadToWorldLnet/minecraft/world/chunk/WorldChunk;loadToWorld()V
-
markDirty
public void markDirty()- Mappings:
Namespace Name Mixin selector official tLcme;t()Vintermediary method_12220Lnet/minecraft/class_2818;method_12220()Vnamed markDirtyLnet/minecraft/world/chunk/WorldChunk;markDirty()V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official uLcme;u()Zintermediary method_12223Lnet/minecraft/class_2818;method_12223()Znamed isEmptyLnet/minecraft/world/chunk/WorldChunk;isEmpty()Z
-
getPos
-
loadFromPacket
public void loadFromPacket(@Nullable @Nullable BiomeArray biomes, PacketByteBuf buf, NbtCompound nbt, BitSet bitSet)- Mappings:
Namespace Name Mixin selector official aLcme;a(Lclu;Lob;Lmv;Ljava/util/BitSet;)Vintermediary method_12224Lnet/minecraft/class_2818;method_12224(Lnet/minecraft/class_4548;Lnet/minecraft/class_2540;Lnet/minecraft/class_2487;Ljava/util/BitSet;)Vnamed loadFromPacketLnet/minecraft/world/chunk/WorldChunk;loadFromPacket(Lnet/minecraft/world/biome/source/BiomeArray;Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/nbt/NbtCompound;Ljava/util/BitSet;)V
-
removeBlockEntity
- Mappings:
Namespace Name Mixin selector official dLcme;d(Lchx;)Vintermediary method_31722Lnet/minecraft/class_2818;method_31722(Lnet/minecraft/class_2586;)Vnamed removeBlockEntityLnet/minecraft/world/chunk/WorldChunk;removeBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
getBiomeArray
- Specified by:
getBiomeArrayin interfaceChunk- Mappings:
Namespace Name Mixin selector official hLclt;h()Lclu;intermediary method_12036Lnet/minecraft/class_2791;method_12036()Lnet/minecraft/class_4548;named getBiomeArrayLnet/minecraft/world/chunk/Chunk;getBiomeArray()Lnet/minecraft/world/biome/source/BiomeArray;
-
setLoadedToWorld
public void setLoadedToWorld(boolean loaded)- Mappings:
Namespace Name Mixin selector official cLcme;c(Z)Vintermediary method_12226Lnet/minecraft/class_2818;method_12226(Z)Vnamed setLoadedToWorldLnet/minecraft/world/chunk/WorldChunk;setLoadedToWorld(Z)V
-
getWorld
- Mappings:
Namespace Name Mixin selector official yLcme;y()Lbvy;intermediary method_12200Lnet/minecraft/class_2818;method_12200()Lnet/minecraft/class_1937;named getWorldLnet/minecraft/world/chunk/WorldChunk;getWorld()Lnet/minecraft/world/World;
-
getHeightmaps
- Specified by:
getHeightmapsin interfaceChunk- Mappings:
Namespace Name Mixin selector official eLclt;e()Ljava/util/Collection;intermediary method_12011Lnet/minecraft/class_2791;method_12011()Ljava/util/Collection;named getHeightmapsLnet/minecraft/world/chunk/Chunk;getHeightmaps()Ljava/util/Collection;
-
getBlockEntities
- Mappings:
Namespace Name Mixin selector official zLcme;z()Ljava/util/Map;intermediary method_12214Lnet/minecraft/class_2818;method_12214()Ljava/util/Map;named getBlockEntitiesLnet/minecraft/world/chunk/WorldChunk;getBlockEntities()Ljava/util/Map;
-
getBlockEntityNbt
- Specified by:
getBlockEntityNbtin interfaceChunk- Mappings:
Namespace Name Mixin selector official hLclt;h(Lgb;)Lmv;intermediary method_12024Lnet/minecraft/class_2791;method_12024(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;named getBlockEntityNbtLnet/minecraft/world/chunk/Chunk;getBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
-
getLightSourcesStream
- Specified by:
getLightSourcesStreamin interfaceChunk- Mappings:
Namespace Name Mixin selector official nLclt;n()Ljava/util/stream/Stream;intermediary method_12018Lnet/minecraft/class_2791;method_12018()Ljava/util/stream/Stream;named getLightSourcesStreamLnet/minecraft/world/chunk/Chunk;getLightSourcesStream()Ljava/util/stream/Stream;
-
getBlockTickScheduler
- Specified by:
getBlockTickSchedulerin interfaceChunk- Mappings:
Namespace Name Mixin selector official oLclt;o()Lbwq;intermediary method_12013Lnet/minecraft/class_2791;method_12013()Lnet/minecraft/class_1951;named getBlockTickSchedulerLnet/minecraft/world/chunk/Chunk;getBlockTickScheduler()Lnet/minecraft/world/TickScheduler;
-
getFluidTickScheduler
- Specified by:
getFluidTickSchedulerin interfaceChunk- Mappings:
Namespace Name Mixin selector official pLclt;p()Lbwq;intermediary method_12014Lnet/minecraft/class_2791;method_12014()Lnet/minecraft/class_1951;named getFluidTickSchedulerLnet/minecraft/world/chunk/Chunk;getFluidTickScheduler()Lnet/minecraft/world/TickScheduler;
-
setShouldSave
public void setShouldSave(boolean shouldSave)- Specified by:
setShouldSavein interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(Z)Vintermediary method_12008Lnet/minecraft/class_2791;method_12008(Z)Vnamed setShouldSaveLnet/minecraft/world/chunk/Chunk;setShouldSave(Z)V
-
needsSaving
public boolean needsSaving()- Specified by:
needsSavingin interfaceChunk- Mappings:
Namespace Name Mixin selector official iLclt;i()Zintermediary method_12044Lnet/minecraft/class_2791;method_12044()Znamed needsSavingLnet/minecraft/world/chunk/Chunk;needsSaving()Z
-
getStructureStart
- Specified by:
getStructureStartin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official aLcma;a(Lctk;)Ldav;intermediary method_12181Lnet/minecraft/class_2810;method_12181(Lnet/minecraft/class_3195;)Lnet/minecraft/class_3449;named getStructureStartLnet/minecraft/world/StructureHolder;getStructureStart(Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/structure/StructureStart;
-
setStructureStart
- Specified by:
setStructureStartin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official aLcma;a(Lctk;Ldav;)Vintermediary method_12184Lnet/minecraft/class_2810;method_12184(Lnet/minecraft/class_3195;Lnet/minecraft/class_3449;)Vnamed setStructureStartLnet/minecraft/world/StructureHolder;setStructureStart(Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/structure/StructureStart;)V
-
getStructureStarts
- Specified by:
getStructureStartsin interfaceChunk- Mappings:
Namespace Name Mixin selector official gLclt;g()Ljava/util/Map;intermediary method_12016Lnet/minecraft/class_2791;method_12016()Ljava/util/Map;named getStructureStartsLnet/minecraft/world/chunk/Chunk;getStructureStarts()Ljava/util/Map;
-
setStructureStarts
- Specified by:
setStructureStartsin interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(Ljava/util/Map;)Vintermediary method_12034Lnet/minecraft/class_2791;method_12034(Ljava/util/Map;)Vnamed setStructureStartsLnet/minecraft/world/chunk/Chunk;setStructureStarts(Ljava/util/Map;)V
-
getStructureReferences
- Specified by:
getStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official bLcma;b(Lctk;)Lit/unimi/dsi/fastutil/longs/LongSet;intermediary method_12180Lnet/minecraft/class_2810;method_12180(Lnet/minecraft/class_3195;)Lit/unimi/dsi/fastutil/longs/LongSet;named getStructureReferencesLnet/minecraft/world/StructureHolder;getStructureReferences(Lnet/minecraft/world/gen/feature/StructureFeature;)Lit/unimi/dsi/fastutil/longs/LongSet;
-
addStructureReference
- Specified by:
addStructureReferencein interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official aLcma;a(Lctk;J)Vintermediary method_12182Lnet/minecraft/class_2810;method_12182(Lnet/minecraft/class_3195;J)Vnamed addStructureReferenceLnet/minecraft/world/StructureHolder;addStructureReference(Lnet/minecraft/world/gen/feature/StructureFeature;J)V
-
getStructureReferences
- Specified by:
getStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official wLcma;w()Ljava/util/Map;intermediary method_12179Lnet/minecraft/class_2810;method_12179()Ljava/util/Map;named getStructureReferencesLnet/minecraft/world/StructureHolder;getStructureReferences()Ljava/util/Map;
-
setStructureReferences
- Specified by:
setStructureReferencesin interfaceStructureHolder- Mappings:
Namespace Name Mixin selector official bLcma;b(Ljava/util/Map;)Vintermediary method_12183Lnet/minecraft/class_2810;method_12183(Ljava/util/Map;)Vnamed setStructureReferencesLnet/minecraft/world/StructureHolder;setStructureReferences(Ljava/util/Map;)V
-
getInhabitedTime
public long getInhabitedTime()- Specified by:
getInhabitedTimein interfaceChunk- Mappings:
Namespace Name Mixin selector official rLclt;r()Jintermediary method_12033Lnet/minecraft/class_2791;method_12033()Jnamed getInhabitedTimeLnet/minecraft/world/chunk/Chunk;getInhabitedTime()J
-
setInhabitedTime
public void setInhabitedTime(long inhabitedTime)- Specified by:
setInhabitedTimein interfaceChunk- Mappings:
Namespace Name Mixin selector official aLclt;a(J)Vintermediary method_12028Lnet/minecraft/class_2791;method_12028(J)Vnamed setInhabitedTimeLnet/minecraft/world/chunk/Chunk;setInhabitedTime(J)V
-
runPostProcessing
public void runPostProcessing()- Mappings:
Namespace Name Mixin selector official ALcme;A()Vintermediary method_12221Lnet/minecraft/class_2818;method_12221()Vnamed runPostProcessingLnet/minecraft/world/chunk/WorldChunk;runPostProcessing()V
-
loadBlockEntity
- Mappings:
Namespace Name Mixin selector official aLcme;a(Lgb;Lmv;)Lchx;intermediary method_12204Lnet/minecraft/class_2818;method_12204(Lnet/minecraft/class_2338;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2586;named loadBlockEntityLnet/minecraft/world/chunk/WorldChunk;loadBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/block/entity/BlockEntity;
-
getUpgradeData
- Specified by:
getUpgradeDatain interfaceChunk- Mappings:
Namespace Name Mixin selector official qLclt;q()Lcmo;intermediary method_12003Lnet/minecraft/class_2791;method_12003()Lnet/minecraft/class_2843;named getUpgradeDataLnet/minecraft/world/chunk/Chunk;getUpgradeData()Lnet/minecraft/world/chunk/UpgradeData;
-
getPostProcessingLists
- Specified by:
getPostProcessingListsin interfaceChunk- Mappings:
Namespace Name Mixin selector official kLclt;k()[Lit/unimi/dsi/fastutil/shorts/ShortList;intermediary method_12012Lnet/minecraft/class_2791;method_12012()[Lit/unimi/dsi/fastutil/shorts/ShortList;named getPostProcessingListsLnet/minecraft/world/chunk/Chunk;getPostProcessingLists()[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
disableTickSchedulers
public void disableTickSchedulers()- Mappings:
Namespace Name Mixin selector official BLcme;B()Vintermediary method_20530Lnet/minecraft/class_2818;method_20530()Vnamed disableTickSchedulersLnet/minecraft/world/chunk/WorldChunk;disableTickSchedulers()V
-
enableTickSchedulers
- Mappings:
Namespace Name Mixin selector official aLcme;a(Labl;)Vintermediary method_20471Lnet/minecraft/class_2818;method_20471(Lnet/minecraft/class_3218;)Vnamed enableTickSchedulersLnet/minecraft/world/chunk/WorldChunk;enableTickSchedulers(Lnet/minecraft/server/world/ServerWorld;)V
-
getBottomY
public int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
getBottomYin interfaceHeightLimitView- See Also:
HeightLimitView.getTopY(),HeightLimitView.getHeight()- Mappings:
Namespace Name Mixin selector official s_Lbwa;s_()Iintermediary method_31607Lnet/minecraft/class_5539;method_31607()Inamed getBottomYLnet/minecraft/world/HeightLimitView;getBottomY()I
-
getHeight
public int getHeight()Returns the difference in the minimum and maximum height.This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view.
- Specified by:
getHeightin interfaceHeightLimitView- Returns:
- the difference in the minimum and maximum height
- See Also:
HeightLimitView.getBottomY(),HeightLimitView.getTopY()- Mappings:
Namespace Name Mixin selector official t_Lbwa;t_()Iintermediary method_31605Lnet/minecraft/class_5539;method_31605()Inamed getHeightLnet/minecraft/world/HeightLimitView;getHeight()I
-
getStatus
- Specified by:
getStatusin interfaceChunk- Mappings:
Namespace Name Mixin selector official jLclt;j()Lclx;intermediary method_12009Lnet/minecraft/class_2791;method_12009()Lnet/minecraft/class_2806;named getStatusLnet/minecraft/world/chunk/Chunk;getStatus()Lnet/minecraft/world/chunk/ChunkStatus;
-
getLevelType
- Mappings:
Namespace Name Mixin selector official vLcme;v()Laax$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;
-
setLevelTypeProvider
- Mappings:
Namespace Name Mixin selector official aLcme;a(Ljava/util/function/Supplier;)Vintermediary method_12207Lnet/minecraft/class_2818;method_12207(Ljava/util/function/Supplier;)Vnamed setLevelTypeProviderLnet/minecraft/world/chunk/WorldChunk;setLevelTypeProvider(Ljava/util/function/Supplier;)V
-
isLightOn
public boolean isLightOn() -
setLightOn
public void setLightOn(boolean lightOn)- Specified by:
setLightOnin interfaceChunk- Mappings:
Namespace Name Mixin selector official bLclt;b(Z)Vintermediary method_12020Lnet/minecraft/class_2791;method_12020(Z)Vnamed setLightOnLnet/minecraft/world/chunk/Chunk;setLightOn(Z)V
-
removeAllBlockEntities
public void removeAllBlockEntities()- Mappings:
Namespace Name Mixin selector official CLcme;C()Vintermediary method_31712Lnet/minecraft/class_2818;method_31712()Vnamed removeAllBlockEntitiesLnet/minecraft/world/chunk/WorldChunk;removeAllBlockEntities()V
-
updateAllBlockEntities
public void updateAllBlockEntities()- Mappings:
Namespace Name Mixin selector official DLcme;D()Vintermediary method_31713Lnet/minecraft/class_2818;method_31713()Vnamed updateAllBlockEntitiesLnet/minecraft/world/chunk/WorldChunk;updateAllBlockEntities()V
-
updateGameEventListener
- Mappings:
Namespace Name Mixin selector official eLcme;e(Lchx;)Vintermediary method_32919Lnet/minecraft/class_2818;method_32919(Lnet/minecraft/class_2586;)Vnamed updateGameEventListenerLnet/minecraft/world/chunk/WorldChunk;updateGameEventListener(Lnet/minecraft/block/entity/BlockEntity;)V
-
updateTicker
- Mappings:
Namespace Name Mixin selector official fLcme;f(Lchx;)Vintermediary method_31723Lnet/minecraft/class_2818;method_31723(Lnet/minecraft/class_2586;)Vnamed updateTickerLnet/minecraft/world/chunk/WorldChunk;updateTicker(Lnet/minecraft/block/entity/BlockEntity;)V
-
wrapTicker
private <T extends BlockEntity> BlockEntityTickInvoker wrapTicker(T blockEntity, BlockEntityTicker<T> blockEntityTicker)- Mappings:
Namespace Name Mixin selector official aLcme;a(Lchx;Lchy;)Lcje;intermediary method_31718Lnet/minecraft/class_2818;method_31718(Lnet/minecraft/class_2586;Lnet/minecraft/class_5558;)Lnet/minecraft/class_5562;named wrapTickerLnet/minecraft/world/chunk/WorldChunk;wrapTicker(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/block/entity/BlockEntityTicker;)Lnet/minecraft/world/chunk/BlockEntityTickInvoker;
-