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 cmw
intermediary net/minecraft/class_2818
named net/minecraft/world/chunk/WorldChunk
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
private class
private class
-
Field Summary
Modifier and TypeFieldDescriptionprivate BiomeArray
private final Map<BlockPos,
BlockEntity> private final Map<BlockPos,
WorldChunk.WrappedBlockEntityTickInvoker> private TickScheduler<Block>
private static final BlockEntityTickInvoker
static final @Nullable ChunkSection
private TickScheduler<Fluid>
private final Int2ObjectMap<GameEventDispatcher>
private final Map<Heightmap.Type,
Heightmap> private long
private @Nullable Supplier<ChunkHolder.LevelType>
private boolean
private boolean
private @Nullable Consumer<WorldChunk>
(package private) static final Logger
private final Map<BlockPos,
NbtCompound> private final ChunkPos
private final ShortList[]
private final ChunkSection[]
private boolean
private final Map<StructureFeature<?>,
LongSet> private final Map<StructureFeature<?>,
StructureStart<?>> private final UpgradeData
(package private) final World
-
Constructor Summary
ConstructorDescriptionWorldChunk
(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 TypeMethodDescriptionvoid
addBlockEntity
(BlockEntity blockEntity) void
Deprecated.void
void
addStructureReference
(StructureFeature<?> structure, long reference) private boolean
(package private) boolean
private @Nullable BlockEntity
void
void
enableTickSchedulers
(ServerWorld world) getBlockEntity
(BlockPos pos) getBlockEntity
(BlockPos pos, WorldChunk.CreationType creationType) getBlockState
(BlockPos pos) int
Returns the bottom Y level, or height, inclusive, of this view.getFluidState
(int x, int y, int z) getFluidState
(BlockPos pos) getGameEventDispatcher
(int ySectionCoord) int
getHeightmap
(Heightmap.Type type) long
getPos()
getStructureReferences
(StructureFeature<?> structure) getStructureStart
(StructureFeature<?> structure) Map<StructureFeature<?>,
StructureStart<?>> getWorld()
boolean
isEmpty()
boolean
private @Nullable BlockEntity
loadBlockEntity
(BlockPos pos, NbtCompound nbt) void
loadFromPacket
(@Nullable BiomeArray biomes, PacketByteBuf buf, NbtCompound nbt, BitSet bitSet) void
void
method_35319
(Heightmap.Type type) boolean
void
private void
removeBlockEntity
(BlockEntity blockEntity) void
private void
private <T extends BlockEntity>
voidremoveGameEventListener
(T blockEntity) void
int
sampleHeightmap
(Heightmap.Type type, int x, int z) void
setBlockEntity
(BlockEntity blockEntity) setBlockState
(BlockPos pos, BlockState state, boolean moved) void
setInhabitedTime
(long inhabitedTime) void
setLevelTypeProvider
(Supplier<ChunkHolder.LevelType> levelTypeProvider) void
setLightOn
(boolean lightOn) void
setLoadedToWorld
(boolean loaded) void
setShouldSave
(boolean shouldSave) void
setStructureReferences
(Map<StructureFeature<?>, LongSet> structureReferences) void
setStructureStart
(StructureFeature<?> structure, StructureStart<?> start) void
setStructureStarts
(Map<StructureFeature<?>, StructureStart<?>> structureStarts) void
private <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, wait
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.chunk.Chunk
areSectionsEmptyBetween, getHighestNonEmptySection, getHighestNonEmptySectionYOffset, getSection, markBlockForPostProcessing, markBlockForPostProcessing, setHeightmap
Methods 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 b
Lcmw;b:Lorg/apache/logging/log4j/Logger;
intermediary field_12839
Lnet/minecraft/class_2818;field_12839:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/chunk/WorldChunk;LOGGER:Lorg/apache/logging/log4j/Logger;
-
EMPTY_BLOCK_ENTITY_TICKER
- Mappings:
Namespace Name Mixin selector official c
Lcmw;c:Lcjw;
intermediary field_27221
Lnet/minecraft/class_2818;field_27221:Lnet/minecraft/class_5562;
named EMPTY_BLOCK_ENTITY_TICKER
Lnet/minecraft/world/chunk/WorldChunk;EMPTY_BLOCK_ENTITY_TICKER:Lnet/minecraft/world/chunk/BlockEntityTickInvoker;
-
EMPTY_SECTION
- Mappings:
Namespace Name Mixin selector official a
Lcmw;a:Lcmx;
intermediary field_12852
Lnet/minecraft/class_2818;field_12852:Lnet/minecraft/class_2826;
named EMPTY_SECTION
Lnet/minecraft/world/chunk/WorldChunk;EMPTY_SECTION:Lnet/minecraft/world/chunk/ChunkSection;
-
sections
- Mappings:
Namespace Name Mixin selector official d
Lcmw;d:[Lcmx;
intermediary field_12840
Lnet/minecraft/class_2818;field_12840:[Lnet/minecraft/class_2826;
named sections
Lnet/minecraft/world/chunk/WorldChunk;sections:[Lnet/minecraft/world/chunk/ChunkSection;
-
biomeArray
- Mappings:
Namespace Name Mixin selector official e
Lcmw;e:Lcmm;
intermediary field_20655
Lnet/minecraft/class_2818;field_20655:Lnet/minecraft/class_4548;
named biomeArray
Lnet/minecraft/world/chunk/WorldChunk;biomeArray:Lnet/minecraft/world/biome/source/BiomeArray;
-
pendingBlockEntityNbts
- Mappings:
Namespace Name Mixin selector official f
Lcmw;f:Ljava/util/Map;
intermediary field_12846
Lnet/minecraft/class_2818;field_12846:Ljava/util/Map;
named pendingBlockEntityNbts
Lnet/minecraft/world/chunk/WorldChunk;pendingBlockEntityNbts:Ljava/util/Map;
-
blockEntityTickers
- Mappings:
Namespace Name Mixin selector official g
Lcmw;g:Ljava/util/Map;
intermediary field_27222
Lnet/minecraft/class_2818;field_27222:Ljava/util/Map;
named blockEntityTickers
Lnet/minecraft/world/chunk/WorldChunk;blockEntityTickers:Ljava/util/Map;
-
loadedToWorld
private boolean loadedToWorld- Mappings:
Namespace Name Mixin selector official h
Lcmw;h:Z
intermediary field_12855
Lnet/minecraft/class_2818;field_12855:Z
named loadedToWorld
Lnet/minecraft/world/chunk/WorldChunk;loadedToWorld:Z
-
world
- Mappings:
Namespace Name Mixin selector official i
Lcmw;i:Lbwp;
intermediary field_12858
Lnet/minecraft/class_2818;field_12858:Lnet/minecraft/class_1937;
named world
Lnet/minecraft/world/chunk/WorldChunk;world:Lnet/minecraft/world/World;
-
heightmaps
- Mappings:
Namespace Name Mixin selector official j
Lcmw;j:Ljava/util/Map;
intermediary field_12853
Lnet/minecraft/class_2818;field_12853:Ljava/util/Map;
named heightmaps
Lnet/minecraft/world/chunk/WorldChunk;heightmaps:Ljava/util/Map;
-
upgradeData
- Mappings:
Namespace Name Mixin selector official k
Lcmw;k:Lcng;
intermediary field_12849
Lnet/minecraft/class_2818;field_12849:Lnet/minecraft/class_2843;
named upgradeData
Lnet/minecraft/world/chunk/WorldChunk;upgradeData:Lnet/minecraft/world/chunk/UpgradeData;
-
blockEntities
- Mappings:
Namespace Name Mixin selector official l
Lcmw;l:Ljava/util/Map;
intermediary field_12854
Lnet/minecraft/class_2818;field_12854:Ljava/util/Map;
named blockEntities
Lnet/minecraft/world/chunk/WorldChunk;blockEntities:Ljava/util/Map;
-
structureStarts
- Mappings:
Namespace Name Mixin selector official m
Lcmw;m:Ljava/util/Map;
intermediary field_12838
Lnet/minecraft/class_2818;field_12838:Ljava/util/Map;
named structureStarts
Lnet/minecraft/world/chunk/WorldChunk;structureStarts:Ljava/util/Map;
-
structureReferences
- Mappings:
Namespace Name Mixin selector official n
Lcmw;n:Ljava/util/Map;
intermediary field_12845
Lnet/minecraft/class_2818;field_12845:Ljava/util/Map;
named structureReferences
Lnet/minecraft/world/chunk/WorldChunk;structureReferences:Ljava/util/Map;
-
postProcessingLists
- Mappings:
Namespace Name Mixin selector official o
Lcmw;o:[Lit/unimi/dsi/fastutil/shorts/ShortList;
intermediary field_12836
Lnet/minecraft/class_2818;field_12836:[Lit/unimi/dsi/fastutil/shorts/ShortList;
named postProcessingLists
Lnet/minecraft/world/chunk/WorldChunk;postProcessingLists:[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
blockTickScheduler
- Mappings:
Namespace Name Mixin selector official p
Lcmw;p:Lbxh;
intermediary field_12841
Lnet/minecraft/class_2818;field_12841:Lnet/minecraft/class_1951;
named blockTickScheduler
Lnet/minecraft/world/chunk/WorldChunk;blockTickScheduler:Lnet/minecraft/world/TickScheduler;
-
fluidTickScheduler
- Mappings:
Namespace Name Mixin selector official q
Lcmw;q:Lbxh;
intermediary field_12857
Lnet/minecraft/class_2818;field_12857:Lnet/minecraft/class_1951;
named fluidTickScheduler
Lnet/minecraft/world/chunk/WorldChunk;fluidTickScheduler:Lnet/minecraft/world/TickScheduler;
-
shouldSave
private volatile boolean shouldSave- Mappings:
Namespace Name Mixin selector official r
Lcmw;r:Z
intermediary field_12834
Lnet/minecraft/class_2818;field_12834:Z
named shouldSave
Lnet/minecraft/world/chunk/WorldChunk;shouldSave:Z
-
inhabitedTime
private long inhabitedTime- Mappings:
Namespace Name Mixin selector official s
Lcmw;s:J
intermediary field_12843
Lnet/minecraft/class_2818;field_12843:J
named inhabitedTime
Lnet/minecraft/world/chunk/WorldChunk;inhabitedTime:J
-
levelTypeProvider
- Mappings:
Namespace Name Mixin selector official t
Lcmw;t:Ljava/util/function/Supplier;
intermediary field_12856
Lnet/minecraft/class_2818;field_12856:Ljava/util/function/Supplier;
named levelTypeProvider
Lnet/minecraft/world/chunk/WorldChunk;levelTypeProvider:Ljava/util/function/Supplier;
-
loadToWorldConsumer
- Mappings:
Namespace Name Mixin selector official u
Lcmw;u:Ljava/util/function/Consumer;
intermediary field_12850
Lnet/minecraft/class_2818;field_12850:Ljava/util/function/Consumer;
named loadToWorldConsumer
Lnet/minecraft/world/chunk/WorldChunk;loadToWorldConsumer:Ljava/util/function/Consumer;
-
pos
- Mappings:
Namespace Name Mixin selector official v
Lcmw;v:Lbvu;
intermediary field_12848
Lnet/minecraft/class_2818;field_12848:Lnet/minecraft/class_1923;
named pos
Lnet/minecraft/world/chunk/WorldChunk;pos:Lnet/minecraft/util/math/ChunkPos;
-
lightOn
private volatile boolean lightOn- Mappings:
Namespace Name Mixin selector official w
Lcmw;w:Z
intermediary field_12847
Lnet/minecraft/class_2818;field_12847:Z
named lightOn
Lnet/minecraft/world/chunk/WorldChunk;lightOn:Z
-
gameEventDispatchers
- Mappings:
Namespace Name Mixin selector official x
Lcmw;x:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_28129
Lnet/minecraft/class_2818;field_28129:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named gameEventDispatchers
Lnet/minecraft/world/chunk/WorldChunk;gameEventDispatchers:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
-
Constructor Details
-
WorldChunk
- Mappings:
Namespace Name Mixin selector official <init>
Lcmw;<init>(Lbwp;Lbvu;Lcmm;)V
intermediary <init>
Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;Lnet/minecraft/class_4548;)V
named <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>
Lcmw;<init>(Lbwp;Lbvu;Lcmm;Lcng;Lbxh;Lbxh;J[Lcmx;Ljava/util/function/Consumer;)V
intermediary <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;)V
named <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>
Lcmw;<init>(Labr;Lcne;Ljava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_2818;<init>(Lnet/minecraft/class_3218;Lnet/minecraft/class_2839;Ljava/util/function/Consumer;)V
named <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:
getGameEventDispatcher
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(I)Lcow;
intermediary method_32914
Lnet/minecraft/class_2791;method_32914(I)Lnet/minecraft/class_5713;
named getGameEventDispatcher
Lnet/minecraft/world/chunk/Chunk;getGameEventDispatcher(I)Lnet/minecraft/world/event/listener/GameEventDispatcher;
-
getHeightmap
- Specified by:
getHeightmap
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(Lcps$a;)Lcps;
intermediary method_12032
Lnet/minecraft/class_2791;method_12032(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2902;
named getHeightmap
Lnet/minecraft/world/chunk/Chunk;getHeightmap(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/Heightmap;
-
getBlockEntityPositions
- Specified by:
getBlockEntityPositions
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official c
Lcml;c()Ljava/util/Set;
intermediary method_12021
Lnet/minecraft/class_2791;method_12021()Ljava/util/Set;
named getBlockEntityPositions
Lnet/minecraft/world/chunk/Chunk;getBlockEntityPositions()Ljava/util/Set;
-
getSectionArray
- Specified by:
getSectionArray
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official d
Lcml;d()[Lcmx;
intermediary method_12006
Lnet/minecraft/class_2791;method_12006()[Lnet/minecraft/class_2826;
named getSectionArray
Lnet/minecraft/world/chunk/Chunk;getSectionArray()[Lnet/minecraft/world/chunk/ChunkSection;
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official a_
Lbvt;a_(Lgg;)Lcks;
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;
-
getFluidState
- Specified by:
getFluidState
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official b_
Lbvt;b_(Lgg;)Ldes;
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;
-
getFluidState
- Mappings:
Namespace Name Mixin selector official a
Lcmw;a(III)Ldes;
intermediary method_12234
Lnet/minecraft/class_2818;method_12234(III)Lnet/minecraft/class_3610;
named getFluidState
Lnet/minecraft/world/chunk/WorldChunk;getFluidState(III)Lnet/minecraft/fluid/FluidState;
-
setBlockState
- Specified by:
setBlockState
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(Lgg;Lcks;Z)Lcks;
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;
-
addEntity
Deprecated. -
sampleHeightmap
- Specified by:
sampleHeightmap
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(Lcps$a;II)I
intermediary method_12005
Lnet/minecraft/class_2791;method_12005(Lnet/minecraft/class_2902$class_2903;II)I
named sampleHeightmap
Lnet/minecraft/world/chunk/Chunk;sampleHeightmap(Lnet/minecraft/world/Heightmap$Type;II)I
-
method_35319
- Specified by:
method_35319
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official b
Lcml;b(Lcps$a;)Lgg;
intermediary method_35319
Lnet/minecraft/class_2791;method_35319(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2338;
named method_35319
Lnet/minecraft/world/chunk/Chunk;method_35319(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/util/math/BlockPos;
-
createBlockEntity
- Mappings:
Namespace Name Mixin selector official j
Lcmw;j(Lgg;)Lcip;
intermediary method_12208
Lnet/minecraft/class_2818;method_12208(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
named createBlockEntity
Lnet/minecraft/world/chunk/WorldChunk;createBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
getBlockEntity
- Specified by:
getBlockEntity
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official c_
Lbvt;c_(Lgg;)Lcip;
intermediary method_8321
Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
named getBlockEntity
Lnet/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 a
Lcmw;a(Lgg;Lcmw$b;)Lcip;
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
- Mappings:
Namespace Name Mixin selector official b
Lcmw;b(Lcip;)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
-
canTickBlockEntities
private boolean canTickBlockEntities()- Mappings:
Namespace Name Mixin selector official E
Lcmw;E()Z
intermediary method_31715
Lnet/minecraft/class_2818;method_31715()Z
named canTickBlockEntities
Lnet/minecraft/world/chunk/WorldChunk;canTickBlockEntities()Z
-
canTickBlockEntity
- Mappings:
Namespace Name Mixin selector official k
Lcmw;k(Lgg;)Z
intermediary method_31724
Lnet/minecraft/class_2818;method_31724(Lnet/minecraft/class_2338;)Z
named canTickBlockEntity
Lnet/minecraft/world/chunk/WorldChunk;canTickBlockEntity(Lnet/minecraft/util/math/BlockPos;)Z
-
setBlockEntity
- Specified by:
setBlockEntity
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(Lcip;)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
-
addPendingBlockEntityNbt
- Specified by:
addPendingBlockEntityNbt
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(Lna;)V
intermediary method_12042
Lnet/minecraft/class_2791;method_12042(Lnet/minecraft/class_2487;)V
named addPendingBlockEntityNbt
Lnet/minecraft/world/chunk/Chunk;addPendingBlockEntityNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getPackedBlockEntityNbt
- Specified by:
getPackedBlockEntityNbt
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official g
Lcml;g(Lgg;)Lna;
intermediary method_20598
Lnet/minecraft/class_2791;method_20598(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
named getPackedBlockEntityNbt
Lnet/minecraft/world/chunk/Chunk;getPackedBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
-
removeBlockEntity
- Specified by:
removeBlockEntity
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official d
Lcml;d(Lgg;)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
-
removeGameEventListener
- Mappings:
Namespace Name Mixin selector official c
Lcmw;c(Lcip;)V
intermediary method_32918
Lnet/minecraft/class_2818;method_32918(Lnet/minecraft/class_2586;)V
named removeGameEventListener
Lnet/minecraft/world/chunk/WorldChunk;removeGameEventListener(Lnet/minecraft/block/entity/BlockEntity;)V
-
removeBlockEntityTicker
- Mappings:
Namespace Name Mixin selector official l
Lcmw;l(Lgg;)V
intermediary method_31725
Lnet/minecraft/class_2818;method_31725(Lnet/minecraft/class_2338;)V
named removeBlockEntityTicker
Lnet/minecraft/world/chunk/WorldChunk;removeBlockEntityTicker(Lnet/minecraft/util/math/BlockPos;)V
-
loadToWorld
public void loadToWorld()- Mappings:
Namespace Name Mixin selector official x
Lcmw;x()V
intermediary method_12206
Lnet/minecraft/class_2818;method_12206()V
named loadToWorld
Lnet/minecraft/world/chunk/WorldChunk;loadToWorld()V
-
markDirty
public void markDirty()- Mappings:
Namespace Name Mixin selector official t
Lcmw;t()V
intermediary method_12220
Lnet/minecraft/class_2818;method_12220()V
named markDirty
Lnet/minecraft/world/chunk/WorldChunk;markDirty()V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official u
Lcmw;u()Z
intermediary method_12223
Lnet/minecraft/class_2818;method_12223()Z
named isEmpty
Lnet/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 a
Lcmw;a(Lcmm;Log;Lna;Ljava/util/BitSet;)V
intermediary method_12224
Lnet/minecraft/class_2818;method_12224(Lnet/minecraft/class_4548;Lnet/minecraft/class_2540;Lnet/minecraft/class_2487;Ljava/util/BitSet;)V
named loadFromPacket
Lnet/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 d
Lcmw;d(Lcip;)V
intermediary method_31722
Lnet/minecraft/class_2818;method_31722(Lnet/minecraft/class_2586;)V
named removeBlockEntity
Lnet/minecraft/world/chunk/WorldChunk;removeBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
getBiomeArray
- Specified by:
getBiomeArray
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official h
Lcml;h()Lcmm;
intermediary method_12036
Lnet/minecraft/class_2791;method_12036()Lnet/minecraft/class_4548;
named getBiomeArray
Lnet/minecraft/world/chunk/Chunk;getBiomeArray()Lnet/minecraft/world/biome/source/BiomeArray;
-
setLoadedToWorld
public void setLoadedToWorld(boolean loaded) - Mappings:
Namespace Name Mixin selector official c
Lcmw;c(Z)V
intermediary method_12226
Lnet/minecraft/class_2818;method_12226(Z)V
named setLoadedToWorld
Lnet/minecraft/world/chunk/WorldChunk;setLoadedToWorld(Z)V
-
getWorld
- Mappings:
Namespace Name Mixin selector official y
Lcmw;y()Lbwp;
intermediary method_12200
Lnet/minecraft/class_2818;method_12200()Lnet/minecraft/class_1937;
named getWorld
Lnet/minecraft/world/chunk/WorldChunk;getWorld()Lnet/minecraft/world/World;
-
getHeightmaps
- Specified by:
getHeightmaps
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official e
Lcml;e()Ljava/util/Collection;
intermediary method_12011
Lnet/minecraft/class_2791;method_12011()Ljava/util/Collection;
named getHeightmaps
Lnet/minecraft/world/chunk/Chunk;getHeightmaps()Ljava/util/Collection;
-
getBlockEntities
- Mappings:
Namespace Name Mixin selector official z
Lcmw;z()Ljava/util/Map;
intermediary method_12214
Lnet/minecraft/class_2818;method_12214()Ljava/util/Map;
named getBlockEntities
Lnet/minecraft/world/chunk/WorldChunk;getBlockEntities()Ljava/util/Map;
-
getBlockEntityNbt
- Specified by:
getBlockEntityNbt
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official f
Lcml;f(Lgg;)Lna;
intermediary method_12024
Lnet/minecraft/class_2791;method_12024(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
named getBlockEntityNbt
Lnet/minecraft/world/chunk/Chunk;getBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/NbtCompound;
-
getLightSourcesStream
- Specified by:
getLightSourcesStream
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official n
Lcml;n()Ljava/util/stream/Stream;
intermediary method_12018
Lnet/minecraft/class_2791;method_12018()Ljava/util/stream/Stream;
named getLightSourcesStream
Lnet/minecraft/world/chunk/Chunk;getLightSourcesStream()Ljava/util/stream/Stream;
-
getBlockTickScheduler
- Specified by:
getBlockTickScheduler
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official o
Lcml;o()Lbxh;
intermediary method_12013
Lnet/minecraft/class_2791;method_12013()Lnet/minecraft/class_1951;
named getBlockTickScheduler
Lnet/minecraft/world/chunk/Chunk;getBlockTickScheduler()Lnet/minecraft/world/TickScheduler;
-
getFluidTickScheduler
- Specified by:
getFluidTickScheduler
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official p
Lcml;p()Lbxh;
intermediary method_12014
Lnet/minecraft/class_2791;method_12014()Lnet/minecraft/class_1951;
named getFluidTickScheduler
Lnet/minecraft/world/chunk/Chunk;getFluidTickScheduler()Lnet/minecraft/world/TickScheduler;
-
setShouldSave
public void setShouldSave(boolean shouldSave) - Specified by:
setShouldSave
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(Z)V
intermediary method_12008
Lnet/minecraft/class_2791;method_12008(Z)V
named setShouldSave
Lnet/minecraft/world/chunk/Chunk;setShouldSave(Z)V
-
needsSaving
public boolean needsSaving()- Specified by:
needsSaving
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official i
Lcml;i()Z
intermediary method_12044
Lnet/minecraft/class_2791;method_12044()Z
named needsSaving
Lnet/minecraft/world/chunk/Chunk;needsSaving()Z
-
getStructureStart
- Specified by:
getStructureStart
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector official a
Lcms;a(Lcuc;)Ldbn;
intermediary method_12181
Lnet/minecraft/class_2810;method_12181(Lnet/minecraft/class_3195;)Lnet/minecraft/class_3449;
named getStructureStart
Lnet/minecraft/world/StructureHolder;getStructureStart(Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/structure/StructureStart;
-
setStructureStart
- Specified by:
setStructureStart
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector official a
Lcms;a(Lcuc;Ldbn;)V
intermediary method_12184
Lnet/minecraft/class_2810;method_12184(Lnet/minecraft/class_3195;Lnet/minecraft/class_3449;)V
named setStructureStart
Lnet/minecraft/world/StructureHolder;setStructureStart(Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/structure/StructureStart;)V
-
getStructureStarts
- Specified by:
getStructureStarts
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official g
Lcml;g()Ljava/util/Map;
intermediary method_12016
Lnet/minecraft/class_2791;method_12016()Ljava/util/Map;
named getStructureStarts
Lnet/minecraft/world/chunk/Chunk;getStructureStarts()Ljava/util/Map;
-
setStructureStarts
- Specified by:
setStructureStarts
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(Ljava/util/Map;)V
intermediary method_12034
Lnet/minecraft/class_2791;method_12034(Ljava/util/Map;)V
named setStructureStarts
Lnet/minecraft/world/chunk/Chunk;setStructureStarts(Ljava/util/Map;)V
-
getStructureReferences
- Specified by:
getStructureReferences
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector official b
Lcms;b(Lcuc;)Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary method_12180
Lnet/minecraft/class_2810;method_12180(Lnet/minecraft/class_3195;)Lit/unimi/dsi/fastutil/longs/LongSet;
named getStructureReferences
Lnet/minecraft/world/StructureHolder;getStructureReferences(Lnet/minecraft/world/gen/feature/StructureFeature;)Lit/unimi/dsi/fastutil/longs/LongSet;
-
addStructureReference
- Specified by:
addStructureReference
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector official a
Lcms;a(Lcuc;J)V
intermediary method_12182
Lnet/minecraft/class_2810;method_12182(Lnet/minecraft/class_3195;J)V
named addStructureReference
Lnet/minecraft/world/StructureHolder;addStructureReference(Lnet/minecraft/world/gen/feature/StructureFeature;J)V
-
getStructureReferences
- Specified by:
getStructureReferences
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector official w
Lcms;w()Ljava/util/Map;
intermediary method_12179
Lnet/minecraft/class_2810;method_12179()Ljava/util/Map;
named getStructureReferences
Lnet/minecraft/world/StructureHolder;getStructureReferences()Ljava/util/Map;
-
setStructureReferences
- Specified by:
setStructureReferences
in interfaceStructureHolder
- Mappings:
Namespace Name Mixin selector official b
Lcms;b(Ljava/util/Map;)V
intermediary method_12183
Lnet/minecraft/class_2810;method_12183(Ljava/util/Map;)V
named setStructureReferences
Lnet/minecraft/world/StructureHolder;setStructureReferences(Ljava/util/Map;)V
-
getInhabitedTime
public long getInhabitedTime()- Specified by:
getInhabitedTime
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official r
Lcml;r()J
intermediary method_12033
Lnet/minecraft/class_2791;method_12033()J
named getInhabitedTime
Lnet/minecraft/world/chunk/Chunk;getInhabitedTime()J
-
setInhabitedTime
public void setInhabitedTime(long inhabitedTime) - Specified by:
setInhabitedTime
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official a
Lcml;a(J)V
intermediary method_12028
Lnet/minecraft/class_2791;method_12028(J)V
named setInhabitedTime
Lnet/minecraft/world/chunk/Chunk;setInhabitedTime(J)V
-
runPostProcessing
public void runPostProcessing()- Mappings:
Namespace Name Mixin selector official A
Lcmw;A()V
intermediary method_12221
Lnet/minecraft/class_2818;method_12221()V
named runPostProcessing
Lnet/minecraft/world/chunk/WorldChunk;runPostProcessing()V
-
loadBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcmw;a(Lgg;Lna;)Lcip;
intermediary method_12204
Lnet/minecraft/class_2818;method_12204(Lnet/minecraft/class_2338;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2586;
named loadBlockEntity
Lnet/minecraft/world/chunk/WorldChunk;loadBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/block/entity/BlockEntity;
-
getUpgradeData
- Specified by:
getUpgradeData
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official q
Lcml;q()Lcng;
intermediary method_12003
Lnet/minecraft/class_2791;method_12003()Lnet/minecraft/class_2843;
named getUpgradeData
Lnet/minecraft/world/chunk/Chunk;getUpgradeData()Lnet/minecraft/world/chunk/UpgradeData;
-
getPostProcessingLists
- Specified by:
getPostProcessingLists
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official k
Lcml;k()[Lit/unimi/dsi/fastutil/shorts/ShortList;
intermediary method_12012
Lnet/minecraft/class_2791;method_12012()[Lit/unimi/dsi/fastutil/shorts/ShortList;
named getPostProcessingLists
Lnet/minecraft/world/chunk/Chunk;getPostProcessingLists()[Lit/unimi/dsi/fastutil/shorts/ShortList;
-
disableTickSchedulers
public void disableTickSchedulers()- Mappings:
Namespace Name Mixin selector official B
Lcmw;B()V
intermediary method_20530
Lnet/minecraft/class_2818;method_20530()V
named disableTickSchedulers
Lnet/minecraft/world/chunk/WorldChunk;disableTickSchedulers()V
-
enableTickSchedulers
- Mappings:
Namespace Name Mixin selector official a
Lcmw;a(Labr;)V
intermediary method_20471
Lnet/minecraft/class_2818;method_20471(Lnet/minecraft/class_3218;)V
named enableTickSchedulers
Lnet/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:
getBottomY
in interfaceHeightLimitView
- See Also:
- Mappings:
Namespace Name Mixin selector official s_
Lbwr;s_()I
intermediary method_31607
Lnet/minecraft/class_5539;method_31607()I
named getBottomY
Lnet/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:
getHeight
in interfaceHeightLimitView
- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
Namespace Name Mixin selector official t_
Lbwr;t_()I
intermediary method_31605
Lnet/minecraft/class_5539;method_31605()I
named getHeight
Lnet/minecraft/world/HeightLimitView;getHeight()I
-
getStatus
- Specified by:
getStatus
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official j
Lcml;j()Lcmp;
intermediary method_12009
Lnet/minecraft/class_2791;method_12009()Lnet/minecraft/class_2806;
named getStatus
Lnet/minecraft/world/chunk/Chunk;getStatus()Lnet/minecraft/world/chunk/ChunkStatus;
-
getLevelType
- Mappings:
Namespace Name Mixin selector official v
Lcmw;v()Labd$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;
-
setLevelTypeProvider
- Mappings:
Namespace Name Mixin selector official a
Lcmw;a(Ljava/util/function/Supplier;)V
intermediary method_12207
Lnet/minecraft/class_2818;method_12207(Ljava/util/function/Supplier;)V
named setLevelTypeProvider
Lnet/minecraft/world/chunk/WorldChunk;setLevelTypeProvider(Ljava/util/function/Supplier;)V
-
isLightOn
public boolean isLightOn() -
setLightOn
public void setLightOn(boolean lightOn) - Specified by:
setLightOn
in interfaceChunk
- Mappings:
Namespace Name Mixin selector official b
Lcml;b(Z)V
intermediary method_12020
Lnet/minecraft/class_2791;method_12020(Z)V
named setLightOn
Lnet/minecraft/world/chunk/Chunk;setLightOn(Z)V
-
removeAllBlockEntities
public void removeAllBlockEntities()- Mappings:
Namespace Name Mixin selector official C
Lcmw;C()V
intermediary method_31712
Lnet/minecraft/class_2818;method_31712()V
named removeAllBlockEntities
Lnet/minecraft/world/chunk/WorldChunk;removeAllBlockEntities()V
-
updateAllBlockEntities
public void updateAllBlockEntities()- Mappings:
Namespace Name Mixin selector official D
Lcmw;D()V
intermediary method_31713
Lnet/minecraft/class_2818;method_31713()V
named updateAllBlockEntities
Lnet/minecraft/world/chunk/WorldChunk;updateAllBlockEntities()V
-
updateGameEventListener
- Mappings:
Namespace Name Mixin selector official e
Lcmw;e(Lcip;)V
intermediary method_32919
Lnet/minecraft/class_2818;method_32919(Lnet/minecraft/class_2586;)V
named updateGameEventListener
Lnet/minecraft/world/chunk/WorldChunk;updateGameEventListener(Lnet/minecraft/block/entity/BlockEntity;)V
-
updateTicker
- Mappings:
Namespace Name Mixin selector official f
Lcmw;f(Lcip;)V
intermediary method_31723
Lnet/minecraft/class_2818;method_31723(Lnet/minecraft/class_2586;)V
named updateTicker
Lnet/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 a
Lcmw;a(Lcip;Lciq;)Lcjw;
intermediary method_31718
Lnet/minecraft/class_2818;method_31718(Lnet/minecraft/class_2586;Lnet/minecraft/class_5558;)Lnet/minecraft/class_5562;
named wrapTicker
Lnet/minecraft/world/chunk/WorldChunk;wrapTicker(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/block/entity/BlockEntityTicker;)Lnet/minecraft/world/chunk/BlockEntityTickInvoker;
-