Package net.minecraft.server.world
Class ChunkHolder
java.lang.Object
net.minecraft.server.world.ChunkHolder
- Mappings:
Namespace Name official aml
intermediary net/minecraft/class_3193
named net/minecraft/server/world/ChunkHolder
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
private static final class
static interface
static interface
Used to represent a chunk that has not been loaded yet. -
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> private final @Nullable AtomicStack<ChunkHolder.MultithreadAction>
private final BitSet
private final ShortSet[]
Contains the packed chunk-local positions that have been marked for update bymarkForBlockUpdate(net.minecraft.util.math.BlockPos)
, grouped by their vertical chunk section.private static final com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded> private static final List<ChunkStatus>
private int
private CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> private CompletableFuture<Void>
private final AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>>> private int
private int
private final ChunkHolder.LevelUpdateListener
private final LightingProvider
private boolean
Indicates thatblockUpdatesBySection
contains at least one entry.private final ChunkHolder.PlayersWatchingChunkProvider
(package private) final ChunkPos
private CompletableFuture<?>
private CompletableFuture<Chunk>
private final BitSet
private CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> static final com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded> static final CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> static final com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded> private static final CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> private final HeightLimitView
-
Constructor Summary
ConstructorDescriptionChunkHolder
(ChunkPos pos, int level, HeightLimitView world, LightingProvider lightingProvider, ChunkHolder.LevelUpdateListener levelUpdateListener, ChunkHolder.PlayersWatchingChunkProvider playersWatchingChunkProvider) -
Method Summary
Modifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Pair<ChunkStatus,
CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>>> void
combinePostProcessingFuture
(CompletableFuture<?> postProcessingFuture) protected void
combineSavingFuture
(String thenDesc, CompletableFuture<?> then) private void
combineSavingFuture
(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder.Unloaded>> then, String thenDesc) void
flushUpdates
(WorldChunk chunk) CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> getChunkAt
(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage) int
CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> getFutureFor
(ChunkStatus leastStatus) int
getLevel()
getPos()
CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> getValidFutureFor
(ChunkStatus leastStatus) boolean
void
void
markForLightUpdate
(LightType lightType, int y) private void
method_31408
(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, ChunkLevelType chunkLevelType) private void
method_31409
(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder.Unloaded>> completableFuture, Executor executor, ChunkLevelType chunkLevelType) private void
sendBlockEntityUpdatePacket
(List<ServerPlayerEntity> players, World world, BlockPos pos) private void
sendPacketToPlayers
(List<ServerPlayerEntity> players, Packet<?> packet) void
private void
setCompletedLevel
(int level) void
setLevel
(int level) private void
tryUpdateBlockEntityAt
(List<ServerPlayerEntity> players, World world, BlockPos pos, BlockState state) void
protected void
updateFutures
(ThreadedAnvilChunkStorage chunkStorage, Executor executor) UpdatesFutures
indicating the expected loading state of the underlying chunk of thisChunkHolder
.
-
Field Details
-
UNLOADED_CHUNK
- Mappings:
Namespace Name Mixin selector official a
Laml;a:Lcom/mojang/datafixers/util/Either;
intermediary field_16426
Lnet/minecraft/class_3193;field_16426:Lcom/mojang/datafixers/util/Either;
named UNLOADED_CHUNK
Lnet/minecraft/server/world/ChunkHolder;UNLOADED_CHUNK:Lcom/mojang/datafixers/util/Either;
-
UNLOADED_CHUNK_FUTURE
public static final CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> UNLOADED_CHUNK_FUTURE- Mappings:
Namespace Name Mixin selector official b
Laml;b:Ljava/util/concurrent/CompletableFuture;
intermediary field_16430
Lnet/minecraft/class_3193;field_16430:Ljava/util/concurrent/CompletableFuture;
named UNLOADED_CHUNK_FUTURE
Lnet/minecraft/server/world/ChunkHolder;UNLOADED_CHUNK_FUTURE:Ljava/util/concurrent/CompletableFuture;
-
UNLOADED_WORLD_CHUNK
public static final com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded> UNLOADED_WORLD_CHUNK- Mappings:
Namespace Name Mixin selector official c
Laml;c:Lcom/mojang/datafixers/util/Either;
intermediary field_16427
Lnet/minecraft/class_3193;field_16427:Lcom/mojang/datafixers/util/Either;
named UNLOADED_WORLD_CHUNK
Lnet/minecraft/server/world/ChunkHolder;UNLOADED_WORLD_CHUNK:Lcom/mojang/datafixers/util/Either;
-
CHUNK_LOADING_NOT_FINISHED
private static final com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded> CHUNK_LOADING_NOT_FINISHED- Mappings:
Namespace Name Mixin selector official d
Laml;d:Lcom/mojang/datafixers/util/Either;
intermediary field_36388
Lnet/minecraft/class_3193;field_36388:Lcom/mojang/datafixers/util/Either;
named CHUNK_LOADING_NOT_FINISHED
Lnet/minecraft/server/world/ChunkHolder;CHUNK_LOADING_NOT_FINISHED:Lcom/mojang/datafixers/util/Either;
-
UNLOADED_WORLD_CHUNK_FUTURE
private static final CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> UNLOADED_WORLD_CHUNK_FUTURE- Mappings:
Namespace Name Mixin selector official e
Laml;e:Ljava/util/concurrent/CompletableFuture;
intermediary field_16429
Lnet/minecraft/class_3193;field_16429:Ljava/util/concurrent/CompletableFuture;
named UNLOADED_WORLD_CHUNK_FUTURE
Lnet/minecraft/server/world/ChunkHolder;UNLOADED_WORLD_CHUNK_FUTURE:Ljava/util/concurrent/CompletableFuture;
-
CHUNK_STATUSES
- Mappings:
Namespace Name Mixin selector official f
Laml;f:Ljava/util/List;
intermediary field_13868
Lnet/minecraft/class_3193;field_13868:Ljava/util/List;
named CHUNK_STATUSES
Lnet/minecraft/server/world/ChunkHolder;CHUNK_STATUSES:Ljava/util/List;
-
futuresByStatus
private final AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> futuresByStatus- Mappings:
Namespace Name Mixin selector official g
Laml;g:Ljava/util/concurrent/atomic/AtomicReferenceArray;
intermediary field_16425
Lnet/minecraft/class_3193;field_16425:Ljava/util/concurrent/atomic/AtomicReferenceArray;
named futuresByStatus
Lnet/minecraft/server/world/ChunkHolder;futuresByStatus:Ljava/util/concurrent/atomic/AtomicReferenceArray;
-
world
- Mappings:
Namespace Name Mixin selector official h
Laml;h:Lctr;
intermediary field_26929
Lnet/minecraft/class_3193;field_26929:Lnet/minecraft/class_5539;
named world
Lnet/minecraft/server/world/ChunkHolder;world:Lnet/minecraft/world/HeightLimitView;
-
accessibleFuture
private volatile CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> accessibleFuture- Mappings:
Namespace Name Mixin selector official i
Laml;i:Ljava/util/concurrent/CompletableFuture;
intermediary field_16431
Lnet/minecraft/class_3193;field_16431:Ljava/util/concurrent/CompletableFuture;
named accessibleFuture
Lnet/minecraft/server/world/ChunkHolder;accessibleFuture:Ljava/util/concurrent/CompletableFuture;
-
tickingFuture
private volatile CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> tickingFuture- Mappings:
Namespace Name Mixin selector official j
Laml;j:Ljava/util/concurrent/CompletableFuture;
intermediary field_19333
Lnet/minecraft/class_3193;field_19333:Ljava/util/concurrent/CompletableFuture;
named tickingFuture
Lnet/minecraft/server/world/ChunkHolder;tickingFuture:Ljava/util/concurrent/CompletableFuture;
-
entityTickingFuture
private volatile CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> entityTickingFuture- Mappings:
Namespace Name Mixin selector official k
Laml;k:Ljava/util/concurrent/CompletableFuture;
intermediary field_13865
Lnet/minecraft/class_3193;field_13865:Ljava/util/concurrent/CompletableFuture;
named entityTickingFuture
Lnet/minecraft/server/world/ChunkHolder;entityTickingFuture:Ljava/util/concurrent/CompletableFuture;
-
savingFuture
- Mappings:
Namespace Name Mixin selector official l
Laml;l:Ljava/util/concurrent/CompletableFuture;
intermediary field_16428
Lnet/minecraft/class_3193;field_16428:Ljava/util/concurrent/CompletableFuture;
named savingFuture
Lnet/minecraft/server/world/ChunkHolder;savingFuture:Ljava/util/concurrent/CompletableFuture;
-
actionStack
- Mappings:
Namespace Name Mixin selector official m
Laml;m:Latr;
intermediary field_28806
Lnet/minecraft/class_3193;field_28806:Lnet/minecraft/class_5831;
named actionStack
Lnet/minecraft/server/world/ChunkHolder;actionStack:Lnet/minecraft/util/thread/AtomicStack;
-
lastTickLevel
private int lastTickLevel- Mappings:
Namespace Name Mixin selector official n
Laml;n:I
intermediary field_16432
Lnet/minecraft/class_3193;field_16432:I
named lastTickLevel
Lnet/minecraft/server/world/ChunkHolder;lastTickLevel:I
-
level
private int level- Mappings:
Namespace Name Mixin selector official o
Laml;o:I
intermediary field_13862
Lnet/minecraft/class_3193;field_13862:I
named level
Lnet/minecraft/server/world/ChunkHolder;level:I
-
completedLevel
private int completedLevel- Mappings:
Namespace Name Mixin selector official p
Laml;p:I
intermediary field_17208
Lnet/minecraft/class_3193;field_17208:I
named completedLevel
Lnet/minecraft/server/world/ChunkHolder;completedLevel:I
-
pos
- Mappings:
Namespace Name Mixin selector official q
Laml;q:Lcsw;
intermediary field_13864
Lnet/minecraft/class_3193;field_13864:Lnet/minecraft/class_1923;
named pos
Lnet/minecraft/server/world/ChunkHolder;pos:Lnet/minecraft/util/math/ChunkPos;
-
pendingBlockUpdates
private boolean pendingBlockUpdatesIndicates thatblockUpdatesBySection
contains at least one entry.- Mappings:
Namespace Name Mixin selector official r
Laml;r:Z
intermediary field_25803
Lnet/minecraft/class_3193;field_25803:Z
named pendingBlockUpdates
Lnet/minecraft/server/world/ChunkHolder;pendingBlockUpdates:Z
-
blockUpdatesBySection
Contains the packed chunk-local positions that have been marked for update bymarkForBlockUpdate(net.minecraft.util.math.BlockPos)
, grouped by their vertical chunk section.Entries for a section are null if the section has no positions marked for update.
- Mappings:
Namespace Name Mixin selector official s
Laml;s:[Lit/unimi/dsi/fastutil/shorts/ShortSet;
intermediary field_25804
Lnet/minecraft/class_3193;field_25804:[Lit/unimi/dsi/fastutil/shorts/ShortSet;
named blockUpdatesBySection
Lnet/minecraft/server/world/ChunkHolder;blockUpdatesBySection:[Lit/unimi/dsi/fastutil/shorts/ShortSet;
-
blockLightUpdateBits
- Mappings:
Namespace Name Mixin selector official t
Laml;t:Ljava/util/BitSet;
intermediary field_13871
Lnet/minecraft/class_3193;field_13871:Ljava/util/BitSet;
named blockLightUpdateBits
Lnet/minecraft/server/world/ChunkHolder;blockLightUpdateBits:Ljava/util/BitSet;
-
skyLightUpdateBits
- Mappings:
Namespace Name Mixin selector official u
Laml;u:Ljava/util/BitSet;
intermediary field_13870
Lnet/minecraft/class_3193;field_13870:Ljava/util/BitSet;
named skyLightUpdateBits
Lnet/minecraft/server/world/ChunkHolder;skyLightUpdateBits:Ljava/util/BitSet;
-
lightingProvider
- Mappings:
Namespace Name Mixin selector official v
Laml;v:Leeg;
intermediary field_13863
Lnet/minecraft/class_3193;field_13863:Lnet/minecraft/class_3568;
named lightingProvider
Lnet/minecraft/server/world/ChunkHolder;lightingProvider:Lnet/minecraft/world/chunk/light/LightingProvider;
-
levelUpdateListener
- Mappings:
Namespace Name Mixin selector official w
Laml;w:Laml$c;
intermediary field_17209
Lnet/minecraft/class_3193;field_17209:Lnet/minecraft/class_3193$class_3896;
named levelUpdateListener
Lnet/minecraft/server/world/ChunkHolder;levelUpdateListener:Lnet/minecraft/server/world/ChunkHolder$LevelUpdateListener;
-
playersWatchingChunkProvider
- Mappings:
Namespace Name Mixin selector official x
Laml;x:Laml$d;
intermediary field_17210
Lnet/minecraft/class_3193;field_17210:Lnet/minecraft/class_3193$class_3897;
named playersWatchingChunkProvider
Lnet/minecraft/server/world/ChunkHolder;playersWatchingChunkProvider:Lnet/minecraft/server/world/ChunkHolder$PlayersWatchingChunkProvider;
-
accessible
private boolean accessible- Mappings:
Namespace Name Mixin selector official y
Laml;y:Z
intermediary field_19238
Lnet/minecraft/class_3193;field_19238:Z
named accessible
Lnet/minecraft/server/world/ChunkHolder;accessible:Z
-
field_26930
- Mappings:
Namespace Name Mixin selector official z
Laml;z:Ljava/util/concurrent/CompletableFuture;
intermediary field_26930
Lnet/minecraft/class_3193;field_26930:Ljava/util/concurrent/CompletableFuture;
named field_26930
Lnet/minecraft/server/world/ChunkHolder;field_26930:Ljava/util/concurrent/CompletableFuture;
-
postProcessingFuture
- Mappings:
Namespace Name Mixin selector official A
Laml;A:Ljava/util/concurrent/CompletableFuture;
intermediary field_46085
Lnet/minecraft/class_3193;field_46085:Ljava/util/concurrent/CompletableFuture;
named postProcessingFuture
Lnet/minecraft/server/world/ChunkHolder;postProcessingFuture:Ljava/util/concurrent/CompletableFuture;
-
-
Constructor Details
-
ChunkHolder
public ChunkHolder(ChunkPos pos, int level, HeightLimitView world, LightingProvider lightingProvider, ChunkHolder.LevelUpdateListener levelUpdateListener, ChunkHolder.PlayersWatchingChunkProvider playersWatchingChunkProvider) - Mappings:
Namespace Name Mixin selector official <init>
Laml;<init>(Lcsw;ILctr;Leeg;Laml$c;Laml$d;)V
intermediary <init>
Lnet/minecraft/class_3193;<init>(Lnet/minecraft/class_1923;ILnet/minecraft/class_5539;Lnet/minecraft/class_3568;Lnet/minecraft/class_3193$class_3896;Lnet/minecraft/class_3193$class_3897;)V
named <init>
Lnet/minecraft/server/world/ChunkHolder;<init>(Lnet/minecraft/util/math/ChunkPos;ILnet/minecraft/world/HeightLimitView;Lnet/minecraft/world/chunk/light/LightingProvider;Lnet/minecraft/server/world/ChunkHolder$LevelUpdateListener;Lnet/minecraft/server/world/ChunkHolder$PlayersWatchingChunkProvider;)V
-
-
Method Details
-
getFutureFor
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> getFutureFor(ChunkStatus leastStatus) - Mappings:
Namespace Name Mixin selector official a
Laml;a(Ldli;)Ljava/util/concurrent/CompletableFuture;
intermediary method_16146
Lnet/minecraft/class_3193;method_16146(Lnet/minecraft/class_2806;)Ljava/util/concurrent/CompletableFuture;
named getFutureFor
Lnet/minecraft/server/world/ChunkHolder;getFutureFor(Lnet/minecraft/world/chunk/ChunkStatus;)Ljava/util/concurrent/CompletableFuture;
-
getValidFutureFor
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> getValidFutureFor(ChunkStatus leastStatus) - Mappings:
Namespace Name Mixin selector official b
Laml;b(Ldli;)Ljava/util/concurrent/CompletableFuture;
intermediary method_21737
Lnet/minecraft/class_3193;method_21737(Lnet/minecraft/class_2806;)Ljava/util/concurrent/CompletableFuture;
named getValidFutureFor
Lnet/minecraft/server/world/ChunkHolder;getValidFutureFor(Lnet/minecraft/world/chunk/ChunkStatus;)Ljava/util/concurrent/CompletableFuture;
-
getTickingFuture
public CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> getTickingFuture()- Mappings:
Namespace Name Mixin selector official a
Laml;a()Ljava/util/concurrent/CompletableFuture;
intermediary method_16145
Lnet/minecraft/class_3193;method_16145()Ljava/util/concurrent/CompletableFuture;
named getTickingFuture
Lnet/minecraft/server/world/ChunkHolder;getTickingFuture()Ljava/util/concurrent/CompletableFuture;
-
getEntityTickingFuture
public CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> getEntityTickingFuture()- Mappings:
Namespace Name Mixin selector official b
Laml;b()Ljava/util/concurrent/CompletableFuture;
intermediary method_14003
Lnet/minecraft/class_3193;method_14003()Ljava/util/concurrent/CompletableFuture;
named getEntityTickingFuture
Lnet/minecraft/server/world/ChunkHolder;getEntityTickingFuture()Ljava/util/concurrent/CompletableFuture;
-
getAccessibleFuture
public CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> getAccessibleFuture()- Mappings:
Namespace Name Mixin selector official c
Laml;c()Ljava/util/concurrent/CompletableFuture;
intermediary method_20725
Lnet/minecraft/class_3193;method_20725()Ljava/util/concurrent/CompletableFuture;
named getAccessibleFuture
Lnet/minecraft/server/world/ChunkHolder;getAccessibleFuture()Ljava/util/concurrent/CompletableFuture;
-
getWorldChunk
- Mappings:
Namespace Name Mixin selector official d
Laml;d()Ldlo;
intermediary method_16144
Lnet/minecraft/class_3193;method_16144()Lnet/minecraft/class_2818;
named getWorldChunk
Lnet/minecraft/server/world/ChunkHolder;getWorldChunk()Lnet/minecraft/world/chunk/WorldChunk;
-
getPostProcessingFuture
- Mappings:
Namespace Name Mixin selector official e
Laml;e()Ljava/util/concurrent/CompletableFuture;
intermediary method_53681
Lnet/minecraft/class_3193;method_53681()Ljava/util/concurrent/CompletableFuture;
named getPostProcessingFuture
Lnet/minecraft/server/world/ChunkHolder;getPostProcessingFuture()Ljava/util/concurrent/CompletableFuture;
-
getPostProcessedChunk
- Mappings:
Namespace Name Mixin selector official f
Laml;f()Ldlo;
intermediary method_53682
Lnet/minecraft/class_3193;method_53682()Lnet/minecraft/class_2818;
named getPostProcessedChunk
Lnet/minecraft/server/world/ChunkHolder;getPostProcessedChunk()Lnet/minecraft/world/chunk/WorldChunk;
-
getAccessibleChunk
- Mappings:
Namespace Name Mixin selector official g
Laml;g()Ldlo;
intermediary method_41205
Lnet/minecraft/class_3193;method_41205()Lnet/minecraft/class_2818;
named getAccessibleChunk
Lnet/minecraft/server/world/ChunkHolder;getAccessibleChunk()Lnet/minecraft/world/chunk/WorldChunk;
-
getCurrentStatus
- Mappings:
Namespace Name Mixin selector official h
Laml;h()Ldli;
intermediary method_23270
Lnet/minecraft/class_3193;method_23270()Lnet/minecraft/class_2806;
named getCurrentStatus
Lnet/minecraft/server/world/ChunkHolder;getCurrentStatus()Lnet/minecraft/world/chunk/ChunkStatus;
-
getCurrentChunk
- Mappings:
Namespace Name Mixin selector official i
Laml;i()Ldld;
intermediary method_14010
Lnet/minecraft/class_3193;method_14010()Lnet/minecraft/class_2791;
named getCurrentChunk
Lnet/minecraft/server/world/ChunkHolder;getCurrentChunk()Lnet/minecraft/world/chunk/Chunk;
-
getSavingFuture
- Mappings:
Namespace Name Mixin selector official j
Laml;j()Ljava/util/concurrent/CompletableFuture;
intermediary method_14000
Lnet/minecraft/class_3193;method_14000()Ljava/util/concurrent/CompletableFuture;
named getSavingFuture
Lnet/minecraft/server/world/ChunkHolder;getSavingFuture()Ljava/util/concurrent/CompletableFuture;
-
markForBlockUpdate
- Mappings:
Namespace Name Mixin selector official a
Laml;a(Lhx;)V
intermediary method_14002
Lnet/minecraft/class_3193;method_14002(Lnet/minecraft/class_2338;)V
named markForBlockUpdate
Lnet/minecraft/server/world/ChunkHolder;markForBlockUpdate(Lnet/minecraft/util/math/BlockPos;)V
-
markForLightUpdate
- Parameters:
y
- chunk section y coordinate- Mappings:
Namespace Name Mixin selector official a
Laml;a(Lcty;I)V
intermediary method_14012
Lnet/minecraft/class_3193;method_14012(Lnet/minecraft/class_1944;I)V
named markForLightUpdate
Lnet/minecraft/server/world/ChunkHolder;markForLightUpdate(Lnet/minecraft/world/LightType;I)V
-
flushUpdates
- Mappings:
Namespace Name Mixin selector official a
Laml;a(Ldlo;)V
intermediary method_14006
Lnet/minecraft/class_3193;method_14006(Lnet/minecraft/class_2818;)V
named flushUpdates
Lnet/minecraft/server/world/ChunkHolder;flushUpdates(Lnet/minecraft/world/chunk/WorldChunk;)V
-
tryUpdateBlockEntityAt
private void tryUpdateBlockEntityAt(List<ServerPlayerEntity> players, World world, BlockPos pos, BlockState state) - Mappings:
Namespace Name Mixin selector official a
Laml;a(Ljava/util/List;Lctp;Lhx;Ldjh;)V
intermediary method_30311
Lnet/minecraft/class_3193;method_30311(Ljava/util/List;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named tryUpdateBlockEntityAt
Lnet/minecraft/server/world/ChunkHolder;tryUpdateBlockEntityAt(Ljava/util/List;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
sendBlockEntityUpdatePacket
private void sendBlockEntityUpdatePacket(List<ServerPlayerEntity> players, World world, BlockPos pos) - Mappings:
Namespace Name Mixin selector official a
Laml;a(Ljava/util/List;Lctp;Lhx;)V
intermediary method_14009
Lnet/minecraft/class_3193;method_14009(Ljava/util/List;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
named sendBlockEntityUpdatePacket
Lnet/minecraft/server/world/ChunkHolder;sendBlockEntityUpdatePacket(Ljava/util/List;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
sendPacketToPlayers
- Mappings:
Namespace Name Mixin selector official a
Laml;a(Ljava/util/List;Lxf;)V
intermediary method_13992
Lnet/minecraft/class_3193;method_13992(Ljava/util/List;Lnet/minecraft/class_2596;)V
named sendPacketToPlayers
Lnet/minecraft/server/world/ChunkHolder;sendPacketToPlayers(Ljava/util/List;Lnet/minecraft/network/packet/Packet;)V
-
getChunkAt
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> getChunkAt(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage) - Mappings:
Namespace Name Mixin selector official a
Laml;a(Ldli;Lamn;)Ljava/util/concurrent/CompletableFuture;
intermediary method_13993
Lnet/minecraft/class_3193;method_13993(Lnet/minecraft/class_2806;Lnet/minecraft/class_3898;)Ljava/util/concurrent/CompletableFuture;
named getChunkAt
Lnet/minecraft/server/world/ChunkHolder;getChunkAt(Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;)Ljava/util/concurrent/CompletableFuture;
-
combineSavingFuture
- Mappings:
Namespace Name Mixin selector official a
Laml;a(Ljava/lang/String;Ljava/util/concurrent/CompletableFuture;)V
intermediary method_39967
Lnet/minecraft/class_3193;method_39967(Ljava/lang/String;Ljava/util/concurrent/CompletableFuture;)V
named combineSavingFuture
Lnet/minecraft/server/world/ChunkHolder;combineSavingFuture(Ljava/lang/String;Ljava/util/concurrent/CompletableFuture;)V
-
combineSavingFuture
private void combineSavingFuture(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder.Unloaded>> then, String thenDesc) - Mappings:
Namespace Name Mixin selector official a
Laml;a(Ljava/util/concurrent/CompletableFuture;Ljava/lang/String;)V
intermediary method_16143
Lnet/minecraft/class_3193;method_16143(Ljava/util/concurrent/CompletableFuture;Ljava/lang/String;)V
named combineSavingFuture
Lnet/minecraft/server/world/ChunkHolder;combineSavingFuture(Ljava/util/concurrent/CompletableFuture;Ljava/lang/String;)V
-
combinePostProcessingFuture
- Mappings:
Namespace Name Mixin selector official a
Laml;a(Ljava/util/concurrent/CompletableFuture;)V
intermediary method_53680
Lnet/minecraft/class_3193;method_53680(Ljava/util/concurrent/CompletableFuture;)V
named combinePostProcessingFuture
Lnet/minecraft/server/world/ChunkHolder;combinePostProcessingFuture(Ljava/util/concurrent/CompletableFuture;)V
-
getLevelType
- Mappings:
Namespace Name Mixin selector official k
Laml;k()Lamw;
intermediary method_23271
Lnet/minecraft/class_3193;method_23271()Lnet/minecraft/class_3194;
named getLevelType
Lnet/minecraft/server/world/ChunkHolder;getLevelType()Lnet/minecraft/server/world/ChunkLevelType;
-
getPos
- Mappings:
Namespace Name Mixin selector official l
Laml;l()Lcsw;
intermediary method_13994
Lnet/minecraft/class_3193;method_13994()Lnet/minecraft/class_1923;
named getPos
Lnet/minecraft/server/world/ChunkHolder;getPos()Lnet/minecraft/util/math/ChunkPos;
-
getLevel
public int getLevel()- Mappings:
Namespace Name Mixin selector official m
Laml;m()I
intermediary method_14005
Lnet/minecraft/class_3193;method_14005()I
named getLevel
Lnet/minecraft/server/world/ChunkHolder;getLevel()I
-
getCompletedLevel
public int getCompletedLevel()- Mappings:
Namespace Name Mixin selector official n
Laml;n()I
intermediary method_17208
Lnet/minecraft/class_3193;method_17208()I
named getCompletedLevel
Lnet/minecraft/server/world/ChunkHolder;getCompletedLevel()I
-
setCompletedLevel
private void setCompletedLevel(int level) - Mappings:
Namespace Name Mixin selector official b
Laml;b(I)V
intermediary method_17207
Lnet/minecraft/class_3193;method_17207(I)V
named setCompletedLevel
Lnet/minecraft/server/world/ChunkHolder;setCompletedLevel(I)V
-
setLevel
public void setLevel(int level) - Mappings:
Namespace Name Mixin selector official a
Laml;a(I)V
intermediary method_15890
Lnet/minecraft/class_3193;method_15890(I)V
named setLevel
Lnet/minecraft/server/world/ChunkHolder;setLevel(I)V
-
method_31409
private void method_31409(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder.Unloaded>> completableFuture, Executor executor, ChunkLevelType chunkLevelType) - Mappings:
Namespace Name Mixin selector official a
Laml;a(Lamn;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/Executor;Lamw;)V
intermediary method_31409
Lnet/minecraft/class_3193;method_31409(Lnet/minecraft/class_3898;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/Executor;Lnet/minecraft/class_3194;)V
named method_31409
Lnet/minecraft/server/world/ChunkHolder;method_31409(Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/Executor;Lnet/minecraft/server/world/ChunkLevelType;)V
-
method_31408
private void method_31408(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, ChunkLevelType chunkLevelType) - Mappings:
Namespace Name Mixin selector official a
Laml;a(Lamn;Lamw;)V
intermediary method_31408
Lnet/minecraft/class_3193;method_31408(Lnet/minecraft/class_3898;Lnet/minecraft/class_3194;)V
named method_31408
Lnet/minecraft/server/world/ChunkHolder;method_31408(Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;Lnet/minecraft/server/world/ChunkLevelType;)V
-
updateFutures
UpdatesFutures
indicating the expected loading state of the underlying chunk of thisChunkHolder
. Note that the method merely makes actual loading process possible, but do not perform these actions.- Mappings:
Namespace Name Mixin selector official a
Laml;a(Lamn;Ljava/util/concurrent/Executor;)V
intermediary method_14007
Lnet/minecraft/class_3193;method_14007(Lnet/minecraft/class_3898;Ljava/util/concurrent/Executor;)V
named updateFutures
Lnet/minecraft/server/world/ChunkHolder;updateFutures(Lnet/minecraft/server/world/ThreadedAnvilChunkStorage;Ljava/util/concurrent/Executor;)V
-
isAccessible
public boolean isAccessible()- Mappings:
Namespace Name Mixin selector official o
Laml;o()Z
intermediary method_20384
Lnet/minecraft/class_3193;method_20384()Z
named isAccessible
Lnet/minecraft/server/world/ChunkHolder;isAccessible()Z
-
updateAccessibleStatus
public void updateAccessibleStatus()- Mappings:
Namespace Name Mixin selector official p
Laml;p()V
intermediary method_20385
Lnet/minecraft/class_3193;method_20385()V
named updateAccessibleStatus
Lnet/minecraft/server/world/ChunkHolder;updateAccessibleStatus()V
-
setCompletedChunk
- Mappings:
Namespace Name Mixin selector official a
Laml;a(Ldln;)V
intermediary method_20456
Lnet/minecraft/class_3193;method_20456(Lnet/minecraft/class_2821;)V
named setCompletedChunk
Lnet/minecraft/server/world/ChunkHolder;setCompletedChunk(Lnet/minecraft/world/chunk/WrapperProtoChunk;)V
-
collectFuturesByStatus
public List<com.mojang.datafixers.util.Pair<ChunkStatus,CompletableFuture<com.mojang.datafixers.util.Either<Chunk, collectFuturesByStatus()ChunkHolder.Unloaded>>>> - Mappings:
Namespace Name Mixin selector official q
Laml;q()Ljava/util/List;
intermediary method_40066
Lnet/minecraft/class_3193;method_40066()Ljava/util/List;
named collectFuturesByStatus
Lnet/minecraft/server/world/ChunkHolder;collectFuturesByStatus()Ljava/util/List;
-