类 EntityChunkDataAccess
- java.lang.Object
-
- net.minecraft.world.storage.EntityChunkDataAccess
-
- 所有已实现的接口:
AutoCloseable,ChunkDataAccess<Entity>
public class EntityChunkDataAccess extends Object implements ChunkDataAccess<Entity>
- Mappings:
Namespace Name official cmjintermediary net/minecraft/class_5565named net/minecraft/world/storage/EntityChunkDataAccess
-
-
字段概要
字段 修饰符和类型 字段 说明 protected com.mojang.datafixers.DataFixerdataFixerprivate StorageIoWorkerdataLoadWorkerprivate LongSetemptyChunksprivate static StringENTITIES_KEYprivate Executorexecutorprivate static LoggerLOGGERprivate static StringPOSITION_KEYprivate ServerWorldworld
-
构造器概要
构造器 构造器 说明 EntityChunkDataAccess(ServerWorld world, File chunkFile, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, Executor executor)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidawaitAll()voidclose()private static ChunkDataList<Entity>emptyDataList(ChunkPos pos)private CompoundTagfixChunkData(CompoundTag chunkTag)static intgetChunkDataVersion(CompoundTag chunkTag)private static ChunkPosgetChunkPos(CompoundTag chunkTag)private static voidputChunkPos(CompoundTag chunkTag, ChunkPos pos)CompletableFuture<ChunkDataList<Entity>>readChunkData(ChunkPos pos)voidwriteChunkData(ChunkDataList<Entity> dataList)
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official bLcmj;b:Lorg/apache/logging/log4j/Logger;intermediary field_27232Lnet/minecraft/class_5565;field_27232:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/storage/EntityChunkDataAccess;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ENTITIES_KEY
private static final String ENTITIES_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLcmj;c:Ljava/lang/String;intermediary field_31414Lnet/minecraft/class_5565;field_31414:Ljava/lang/String;named ENTITIES_KEYLnet/minecraft/world/storage/EntityChunkDataAccess;ENTITIES_KEY:Ljava/lang/String;
-
POSITION_KEY
private static final String POSITION_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLcmj;d:Ljava/lang/String;intermediary field_31415Lnet/minecraft/class_5565;field_31415:Ljava/lang/String;named POSITION_KEYLnet/minecraft/world/storage/EntityChunkDataAccess;POSITION_KEY:Ljava/lang/String;
-
world
private final ServerWorld world
- Mappings:
Namespace Name Mixin selector official eLcmj;e:Labj;intermediary field_27233Lnet/minecraft/class_5565;field_27233:Lnet/minecraft/class_3218;named worldLnet/minecraft/world/storage/EntityChunkDataAccess;world:Lnet/minecraft/server/world/ServerWorld;
-
dataLoadWorker
private final StorageIoWorker dataLoadWorker
- Mappings:
Namespace Name Mixin selector official fLcmj;f:Lcmk;intermediary field_27234Lnet/minecraft/class_5565;field_27234:Lnet/minecraft/class_4698;named dataLoadWorkerLnet/minecraft/world/storage/EntityChunkDataAccess;dataLoadWorker:Lnet/minecraft/world/storage/StorageIoWorker;
-
emptyChunks
private final LongSet emptyChunks
- Mappings:
Namespace Name Mixin selector official gLcmj;g:Lit/unimi/dsi/fastutil/longs/LongSet;intermediary field_27235Lnet/minecraft/class_5565;field_27235:Lit/unimi/dsi/fastutil/longs/LongSet;named emptyChunksLnet/minecraft/world/storage/EntityChunkDataAccess;emptyChunks:Lit/unimi/dsi/fastutil/longs/LongSet;
-
executor
private final Executor executor
- Mappings:
Namespace Name Mixin selector official hLcmj;h:Ljava/util/concurrent/Executor;intermediary field_27236Lnet/minecraft/class_5565;field_27236:Ljava/util/concurrent/Executor;named executorLnet/minecraft/world/storage/EntityChunkDataAccess;executor:Ljava/util/concurrent/Executor;
-
dataFixer
protected final com.mojang.datafixers.DataFixer dataFixer
- Mappings:
Namespace Name Mixin selector official aLcmj;a:Lcom/mojang/datafixers/DataFixer;intermediary field_27231Lnet/minecraft/class_5565;field_27231:Lcom/mojang/datafixers/DataFixer;named dataFixerLnet/minecraft/world/storage/EntityChunkDataAccess;dataFixer:Lcom/mojang/datafixers/DataFixer;
-
-
构造器详细资料
-
EntityChunkDataAccess
public EntityChunkDataAccess(ServerWorld world, File chunkFile, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, Executor executor)
- Mappings:
Namespace Name Mixin selector official <init>Lcmj;<init>(Labj;Ljava/io/File;Lcom/mojang/datafixers/DataFixer;ZLjava/util/concurrent/Executor;)Vintermediary <init>Lnet/minecraft/class_5565;<init>(Lnet/minecraft/class_3218;Ljava/io/File;Lcom/mojang/datafixers/DataFixer;ZLjava/util/concurrent/Executor;)Vnamed <init>Lnet/minecraft/world/storage/EntityChunkDataAccess;<init>(Lnet/minecraft/server/world/ServerWorld;Ljava/io/File;Lcom/mojang/datafixers/DataFixer;ZLjava/util/concurrent/Executor;)V
-
-
方法详细资料
-
readChunkData
public CompletableFuture<ChunkDataList<Entity>> readChunkData(ChunkPos pos)
- 指定者:
readChunkData在接口中ChunkDataAccess<Entity>- Mappings:
Namespace Name Mixin selector official aLcne;a(Lbuw;)Ljava/util/concurrent/CompletableFuture;intermediary method_31759Lnet/minecraft/class_5571;method_31759(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;named readChunkDataLnet/minecraft/world/storage/ChunkDataAccess;readChunkData(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;
-
getChunkPos
private static ChunkPos getChunkPos(CompoundTag chunkTag)
- Mappings:
Namespace Name Mixin selector official bLcmj;b(Lmv;)Lbuw;intermediary method_31736Lnet/minecraft/class_5565;method_31736(Lnet/minecraft/class_2487;)Lnet/minecraft/class_1923;named getChunkPosLnet/minecraft/world/storage/EntityChunkDataAccess;getChunkPos(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/util/math/ChunkPos;
-
putChunkPos
private static void putChunkPos(CompoundTag chunkTag, ChunkPos pos)
- Mappings:
Namespace Name Mixin selector official aLcmj;a(Lmv;Lbuw;)Vintermediary method_31733Lnet/minecraft/class_5565;method_31733(Lnet/minecraft/class_2487;Lnet/minecraft/class_1923;)Vnamed putChunkPosLnet/minecraft/world/storage/EntityChunkDataAccess;putChunkPos(Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/util/math/ChunkPos;)V
-
emptyDataList
private static ChunkDataList<Entity> emptyDataList(ChunkPos pos)
- Mappings:
Namespace Name Mixin selector official bLcmj;b(Lbuw;)Lcmz;intermediary method_31735Lnet/minecraft/class_5565;method_31735(Lnet/minecraft/class_1923;)Lnet/minecraft/class_5566;named emptyDataListLnet/minecraft/world/storage/EntityChunkDataAccess;emptyDataList(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/storage/ChunkDataList;
-
writeChunkData
public void writeChunkData(ChunkDataList<Entity> dataList)
- 指定者:
writeChunkData在接口中ChunkDataAccess<Entity>- Mappings:
Namespace Name Mixin selector official aLcne;a(Lcmz;)Vintermediary method_31760Lnet/minecraft/class_5571;method_31760(Lnet/minecraft/class_5566;)Vnamed writeChunkDataLnet/minecraft/world/storage/ChunkDataAccess;writeChunkData(Lnet/minecraft/world/storage/ChunkDataList;)V
-
awaitAll
public void awaitAll()
- 指定者:
awaitAll在接口中ChunkDataAccess<Entity>- Mappings:
Namespace Name Mixin selector official aLcne;a()Vintermediary method_31758Lnet/minecraft/class_5571;method_31758()Vnamed awaitAllLnet/minecraft/world/storage/ChunkDataAccess;awaitAll()V
-
fixChunkData
private CompoundTag fixChunkData(CompoundTag chunkTag)
- Mappings:
Namespace Name Mixin selector official cLcmj;c(Lmv;)Lmv;intermediary method_31737Lnet/minecraft/class_5565;method_31737(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named fixChunkDataLnet/minecraft/world/storage/EntityChunkDataAccess;fixChunkData(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
getChunkDataVersion
public static int getChunkDataVersion(CompoundTag chunkTag)
- Mappings:
Namespace Name Mixin selector official aLcmj;a(Lmv;)Iintermediary method_31732Lnet/minecraft/class_5565;method_31732(Lnet/minecraft/class_2487;)Inamed getChunkDataVersionLnet/minecraft/world/storage/EntityChunkDataAccess;getChunkDataVersion(Lnet/minecraft/nbt/CompoundTag;)I
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中ChunkDataAccess<Entity>- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official closeLcne;close()Vintermediary closeLnet/minecraft/class_5571;close()Vnamed closeLnet/minecraft/world/storage/ChunkDataAccess;close()V
-
-