Package net.minecraft.world.storage
Class EntityChunkDataAccess
java.lang.Object
net.minecraft.world.storage.EntityChunkDataAccess
- All Implemented Interfaces:
AutoCloseable
,ChunkDataAccess<Entity>
- Mappings:
Namespace Name official cqp
intermediary net/minecraft/class_5565
named net/minecraft/world/storage/EntityChunkDataAccess
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.mojang.datafixers.DataFixer
private final StorageIoWorker
private final LongSet
private static final String
private static final Logger
private static final String
private final TaskExecutor<Runnable>
private final ServerWorld
-
Constructor Summary
ConstructorDescriptionEntityChunkDataAccess
(ServerWorld world, File chunkFile, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
awaitAll
(boolean sync) void
close()
private static ChunkDataList<Entity>
emptyDataList
(ChunkPos pos) private NbtCompound
fixChunkData
(NbtCompound chunkTag) static int
getChunkDataVersion
(NbtCompound chunkTag) private static ChunkPos
getChunkPos
(NbtCompound chunkTag) private static void
putChunkPos
(NbtCompound chunkTag, ChunkPos pos) readChunkData
(ChunkPos pos) void
writeChunkData
(ChunkDataList<Entity> dataList)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Lcqp;b:Lorg/apache/logging/log4j/Logger;
intermediary field_27232
Lnet/minecraft/class_5565;field_27232:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/storage/EntityChunkDataAccess;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ENTITIES_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcqp;c:Ljava/lang/String;
intermediary field_31414
Lnet/minecraft/class_5565;field_31414:Ljava/lang/String;
named ENTITIES_KEY
Lnet/minecraft/world/storage/EntityChunkDataAccess;ENTITIES_KEY:Ljava/lang/String;
-
POSITION_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcqp;d:Ljava/lang/String;
intermediary field_31415
Lnet/minecraft/class_5565;field_31415:Ljava/lang/String;
named POSITION_KEY
Lnet/minecraft/world/storage/EntityChunkDataAccess;POSITION_KEY:Ljava/lang/String;
-
world
- Mappings:
Namespace Name Mixin selector official e
Lcqp;e:Ladc;
intermediary field_27233
Lnet/minecraft/class_5565;field_27233:Lnet/minecraft/class_3218;
named world
Lnet/minecraft/world/storage/EntityChunkDataAccess;world:Lnet/minecraft/server/world/ServerWorld;
-
dataLoadWorker
- Mappings:
Namespace Name Mixin selector official f
Lcqp;f:Lcqq;
intermediary field_27234
Lnet/minecraft/class_5565;field_27234:Lnet/minecraft/class_4698;
named dataLoadWorker
Lnet/minecraft/world/storage/EntityChunkDataAccess;dataLoadWorker:Lnet/minecraft/world/storage/StorageIoWorker;
-
emptyChunks
- Mappings:
Namespace Name Mixin selector official g
Lcqp;g:Lit/unimi/dsi/fastutil/longs/LongSet;
intermediary field_27235
Lnet/minecraft/class_5565;field_27235:Lit/unimi/dsi/fastutil/longs/LongSet;
named emptyChunks
Lnet/minecraft/world/storage/EntityChunkDataAccess;emptyChunks:Lit/unimi/dsi/fastutil/longs/LongSet;
-
taskExecutor
- Mappings:
Namespace Name Mixin selector official h
Lcqp;h:Laud;
intermediary field_34056
Lnet/minecraft/class_5565;field_34056:Lnet/minecraft/class_3846;
named taskExecutor
Lnet/minecraft/world/storage/EntityChunkDataAccess;taskExecutor:Lnet/minecraft/util/thread/TaskExecutor;
-
dataFixer
protected final com.mojang.datafixers.DataFixer dataFixer- Mappings:
Namespace Name Mixin selector official a
Lcqp;a:Lcom/mojang/datafixers/DataFixer;
intermediary field_27231
Lnet/minecraft/class_5565;field_27231:Lcom/mojang/datafixers/DataFixer;
named dataFixer
Lnet/minecraft/world/storage/EntityChunkDataAccess;dataFixer:Lcom/mojang/datafixers/DataFixer;
-
-
Constructor Details
-
EntityChunkDataAccess
public EntityChunkDataAccess(ServerWorld world, File chunkFile, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, Executor executor) - Mappings:
Namespace Name Mixin selector official <init>
Lcqp;<init>(Ladc;Ljava/io/File;Lcom/mojang/datafixers/DataFixer;ZLjava/util/concurrent/Executor;)V
intermediary <init>
Lnet/minecraft/class_5565;<init>(Lnet/minecraft/class_3218;Ljava/io/File;Lcom/mojang/datafixers/DataFixer;ZLjava/util/concurrent/Executor;)V
named <init>
Lnet/minecraft/world/storage/EntityChunkDataAccess;<init>(Lnet/minecraft/server/world/ServerWorld;Ljava/io/File;Lcom/mojang/datafixers/DataFixer;ZLjava/util/concurrent/Executor;)V
-
-
Method Details
-
readChunkData
- Specified by:
readChunkData
in interfaceChunkDataAccess<Entity>
- Mappings:
Namespace Name Mixin selector official a
Lcrj;a(Lbzd;)Ljava/util/concurrent/CompletableFuture;
intermediary method_31759
Lnet/minecraft/class_5571;method_31759(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;
named readChunkData
Lnet/minecraft/world/storage/ChunkDataAccess;readChunkData(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;
-
getChunkPos
- Mappings:
Namespace Name Mixin selector official b
Lcqp;b(Lob;)Lbzd;
intermediary method_31736
Lnet/minecraft/class_5565;method_31736(Lnet/minecraft/class_2487;)Lnet/minecraft/class_1923;
named getChunkPos
Lnet/minecraft/world/storage/EntityChunkDataAccess;getChunkPos(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/util/math/ChunkPos;
-
putChunkPos
- Mappings:
Namespace Name Mixin selector official a
Lcqp;a(Lob;Lbzd;)V
intermediary method_31733
Lnet/minecraft/class_5565;method_31733(Lnet/minecraft/class_2487;Lnet/minecraft/class_1923;)V
named putChunkPos
Lnet/minecraft/world/storage/EntityChunkDataAccess;putChunkPos(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/util/math/ChunkPos;)V
-
emptyDataList
- Mappings:
Namespace Name Mixin selector official b
Lcqp;b(Lbzd;)Lcre;
intermediary method_31735
Lnet/minecraft/class_5565;method_31735(Lnet/minecraft/class_1923;)Lnet/minecraft/class_5566;
named emptyDataList
Lnet/minecraft/world/storage/EntityChunkDataAccess;emptyDataList(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/storage/ChunkDataList;
-
writeChunkData
- Specified by:
writeChunkData
in interfaceChunkDataAccess<Entity>
- Mappings:
Namespace Name Mixin selector official a
Lcrj;a(Lcre;)V
intermediary method_31760
Lnet/minecraft/class_5571;method_31760(Lnet/minecraft/class_5566;)V
named writeChunkData
Lnet/minecraft/world/storage/ChunkDataAccess;writeChunkData(Lnet/minecraft/world/storage/ChunkDataList;)V
-
awaitAll
public void awaitAll(boolean sync) - Specified by:
awaitAll
in interfaceChunkDataAccess<Entity>
- Mappings:
Namespace Name Mixin selector official a
Lcrj;a(Z)V
intermediary method_31758
Lnet/minecraft/class_5571;method_31758(Z)V
named awaitAll
Lnet/minecraft/world/storage/ChunkDataAccess;awaitAll(Z)V
-
fixChunkData
- Mappings:
Namespace Name Mixin selector official c
Lcqp;c(Lob;)Lob;
intermediary method_31737
Lnet/minecraft/class_5565;method_31737(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named fixChunkData
Lnet/minecraft/world/storage/EntityChunkDataAccess;fixChunkData(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
getChunkDataVersion
- Mappings:
Namespace Name Mixin selector official a
Lcqp;a(Lob;)I
intermediary method_31732
Lnet/minecraft/class_5565;method_31732(Lnet/minecraft/class_2487;)I
named getChunkDataVersion
Lnet/minecraft/world/storage/EntityChunkDataAccess;getChunkDataVersion(Lnet/minecraft/nbt/NbtCompound;)I
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChunkDataAccess<Entity>
- Throws:
IOException
-