Package net.minecraft.world.storage
Class ChunkPosKeyedStorage
java.lang.Object
net.minecraft.world.storage.ChunkPosKeyedStorage
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
RecreationStorage
- Mappings:
Namespace Name named net/minecraft/world/storage/ChunkPosKeyedStorage
intermediary net/minecraft/class_9172
official ebl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.mojang.datafixers.DataFixer
private final DataFixTypes
private final StorageIoWorker
-
Constructor Summary
ConstructorDescriptionChunkPosKeyedStorage
(StorageKey storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DataFixTypes dataFixTypes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
completeAll
(boolean sync) set
(ChunkPos pos, @Nullable NbtCompound nbt) com.mojang.serialization.Dynamic
<NbtElement> update
(com.mojang.serialization.Dynamic<NbtElement> nbt, int oldVersion) update
(NbtCompound nbt, int oldVersion)
-
Field Details
-
worker
- Mappings:
Namespace Name Mixin selector named worker
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;worker:Lnet/minecraft/world/storage/StorageIoWorker;
intermediary field_48760
Lnet/minecraft/class_9172;field_48760:Lnet/minecraft/class_4698;
official a
Lebl;a:Lebb;
-
dataFixer
private final com.mojang.datafixers.DataFixer dataFixer- Mappings:
Namespace Name Mixin selector named dataFixer
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;dataFixer:Lcom/mojang/datafixers/DataFixer;
intermediary field_48761
Lnet/minecraft/class_9172;field_48761:Lcom/mojang/datafixers/DataFixer;
official b
Lebl;b:Lcom/mojang/datafixers/DataFixer;
-
dataFixTypes
- Mappings:
Namespace Name Mixin selector named dataFixTypes
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;dataFixTypes:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_48762
Lnet/minecraft/class_9172;field_48762:Lnet/minecraft/class_4284;
official c
Lebl;c:Lbbs;
-
-
Constructor Details
-
ChunkPosKeyedStorage
public ChunkPosKeyedStorage(StorageKey storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DataFixTypes dataFixTypes) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;<init>(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLnet/minecraft/datafixer/DataFixTypes;)V
intermediary <init>
Lnet/minecraft/class_9172;<init>(Lnet/minecraft/class_9240;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLnet/minecraft/class_4284;)V
official <init>
Lebl;<init>(Lebi;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLbbs;)V
-
-
Method Details
-
read
- Mappings:
Namespace Name Mixin selector named read
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;read(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;
intermediary method_56572
Lnet/minecraft/class_9172;method_56572(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;
official a
Lebl;a(Ldgn;)Ljava/util/concurrent/CompletableFuture;
-
set
- Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;set(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)Ljava/util/concurrent/CompletableFuture;
intermediary method_56565
Lnet/minecraft/class_9172;method_56565(Lnet/minecraft/class_1923;Lnet/minecraft/class_2487;)Ljava/util/concurrent/CompletableFuture;
official a
Lebl;a(Ldgn;Lux;)Ljava/util/concurrent/CompletableFuture;
-
update
- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;update(Lnet/minecraft/nbt/NbtCompound;I)Lnet/minecraft/nbt/NbtCompound;
intermediary method_56573
Lnet/minecraft/class_9172;method_56573(Lnet/minecraft/class_2487;I)Lnet/minecraft/class_2487;
official a
Lebl;a(Lux;I)Lux;
-
update
public com.mojang.serialization.Dynamic<NbtElement> update(com.mojang.serialization.Dynamic<NbtElement> nbt, int oldVersion) - Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;update(Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
intermediary method_56571
Lnet/minecraft/class_9172;method_56571(Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
official a
Lebl;a(Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
-
completeAll
- Mappings:
Namespace Name Mixin selector named completeAll
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;completeAll(Z)Ljava/util/concurrent/CompletableFuture;
intermediary method_56574
Lnet/minecraft/class_9172;method_56574(Z)Ljava/util/concurrent/CompletableFuture;
official a
Lebl;a(Z)Ljava/util/concurrent/CompletableFuture;
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
getStorageKey
- Mappings:
Namespace Name Mixin selector named getStorageKey
Lnet/minecraft/world/storage/ChunkPosKeyedStorage;getStorageKey()Lnet/minecraft/world/storage/StorageKey;
intermediary method_61007
Lnet/minecraft/class_9172;method_61007()Lnet/minecraft/class_9240;
official a
Lebl;a()Lebi;
-