Package net.minecraft.world.storage
Class VersionedChunkStorage
java.lang.Object
net.minecraft.world.storage.VersionedChunkStorage
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
RecreationStorage,ServerChunkLoadingManager
- Mappings:
Namespace Name named net/minecraft/world/storage/VersionedChunkStorageintermediary net/minecraft/class_3977official eqf
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.DataFixerprivate final DataFixTypesprivate final Supplier<class_12242> private final StorageIoWorker -
Constructor Summary
ConstructorsConstructorDescriptionVersionedChunkStorage(StorageKey storageKey, Path path, com.mojang.datafixers.DataFixer dataFixer, boolean bool, DataFixTypes dataFixTypes) VersionedChunkStorage(StorageKey storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DataFixTypes dataFixTypes, Supplier<class_12242> supplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()com.mojang.serialization.Dynamic<NbtElement> method_75894(com.mojang.serialization.Dynamic<NbtElement> dynamic, int int2) method_75895(NbtCompound nbtCompound, int int2) method_75897(boolean bool) protected voidmethod_75898(ChunkPos chunkPos) booleanneedsBlending(ChunkPos chunkPos, int checkRadius) private static voidremoveContext(NbtCompound nbt) static voidsaveContextToNbt(NbtCompound nbt, @Nullable NbtCompound nbtCompound) set(ChunkPos chunkPos, Supplier<NbtCompound> supplier) setNbt(ChunkPos chunkPos, NbtCompound nbtCompound) updateChunkNbt(NbtCompound nbtCompound, int int2, @Nullable NbtCompound nbtCompound2)
-
Field Details
-
worker
- Mappings:
Namespace Name Mixin selector named workerLnet/minecraft/world/storage/VersionedChunkStorage;worker:Lnet/minecraft/world/storage/StorageIoWorker;intermediary field_21494Lnet/minecraft/class_3977;field_21494:Lnet/minecraft/class_4698;official aLeqf;a:Lepv;
-
dataFixer
private final com.mojang.datafixers.DataFixer dataFixer- Mappings:
Namespace Name Mixin selector named dataFixerLnet/minecraft/world/storage/VersionedChunkStorage;dataFixer:Lcom/mojang/datafixers/DataFixer;intermediary field_17655Lnet/minecraft/class_3977;field_17655:Lcom/mojang/datafixers/DataFixer;official bLeqf;b:Lcom/mojang/datafixers/DataFixer;
-
field_63960
- Mappings:
Namespace Name Mixin selector named field_63960Lnet/minecraft/world/storage/VersionedChunkStorage;field_63960:Lnet/minecraft/datafixer/DataFixTypes;intermediary field_63960Lnet/minecraft/class_3977;field_63960:Lnet/minecraft/class_4284;official cLeqf;c:Lbhz;
-
field_63961
- Mappings:
Namespace Name Mixin selector named field_63961Lnet/minecraft/world/storage/VersionedChunkStorage;field_63961:Ljava/util/function/Supplier;intermediary field_63961Lnet/minecraft/class_3977;field_63961:Ljava/util/function/Supplier;official dLeqf;d:Ljava/util/function/Supplier;
-
-
Constructor Details
-
VersionedChunkStorage
public VersionedChunkStorage(StorageKey storageKey, Path path, com.mojang.datafixers.DataFixer dataFixer, boolean bool, DataFixTypes dataFixTypes) -
VersionedChunkStorage
public VersionedChunkStorage(StorageKey storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, DataFixTypes dataFixTypes, Supplier<class_12242> supplier) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/storage/VersionedChunkStorage;<init>(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLnet/minecraft/datafixer/DataFixTypes;Ljava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_3977;<init>(Lnet/minecraft/class_9240;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLnet/minecraft/class_4284;Ljava/util/function/Supplier;)Vofficial <init>Leqf;<init>(Leqc;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLbhz;Ljava/util/function/Supplier;)V
-
-
Method Details
-
needsBlending
- Mappings:
Namespace Name Mixin selector named needsBlendingLnet/minecraft/world/storage/VersionedChunkStorage;needsBlending(Lnet/minecraft/util/math/ChunkPos;I)Zintermediary method_42328Lnet/minecraft/class_3977;method_42328(Lnet/minecraft/class_1923;I)Zofficial bLeqf;b(Ldtu;I)Z
-
getNbt
- Mappings:
Namespace Name Mixin selector named getNbtLnet/minecraft/world/storage/VersionedChunkStorage;getNbt(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;intermediary method_23696Lnet/minecraft/class_3977;method_23696(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;official dLeqf;d(Ldtu;)Ljava/util/concurrent/CompletableFuture;
-
setNbt
- Mappings:
Namespace Name Mixin selector named setNbtLnet/minecraft/world/storage/VersionedChunkStorage;setNbt(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)Ljava/util/concurrent/CompletableFuture;intermediary method_17910Lnet/minecraft/class_3977;method_17910(Lnet/minecraft/class_1923;Lnet/minecraft/class_2487;)Ljava/util/concurrent/CompletableFuture;official aLeqf;a(Ldtu;Lve;)Ljava/util/concurrent/CompletableFuture;
-
set
- Mappings:
Namespace Name Mixin selector named setLnet/minecraft/world/storage/VersionedChunkStorage;set(Lnet/minecraft/util/math/ChunkPos;Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture;intermediary method_56565Lnet/minecraft/class_3977;method_56565(Lnet/minecraft/class_1923;Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture;official aLeqf;a(Ldtu;Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture;
-
updateChunkNbt
public NbtCompound updateChunkNbt(NbtCompound nbtCompound, int int2, @Nullable @Nullable NbtCompound nbtCompound2) - Mappings:
Namespace Name Mixin selector named updateChunkNbtLnet/minecraft/world/storage/VersionedChunkStorage;updateChunkNbt(Lnet/minecraft/nbt/NbtCompound;ILnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;intermediary method_17907Lnet/minecraft/class_3977;method_17907(Lnet/minecraft/class_2487;ILnet/minecraft/class_2487;)Lnet/minecraft/class_2487;official aLeqf;a(Lve;ILve;)Lve;
-
method_75895
- Mappings:
Namespace Name Mixin selector named method_75895Lnet/minecraft/world/storage/VersionedChunkStorage;method_75895(Lnet/minecraft/nbt/NbtCompound;I)Lnet/minecraft/nbt/NbtCompound;intermediary method_75895Lnet/minecraft/class_3977;method_75895(Lnet/minecraft/class_2487;I)Lnet/minecraft/class_2487;official aLeqf;a(Lve;I)Lve;
-
method_75894
public com.mojang.serialization.Dynamic<NbtElement> method_75894(com.mojang.serialization.Dynamic<NbtElement> dynamic, int int2) - Mappings:
Namespace Name Mixin selector named method_75894Lnet/minecraft/world/storage/VersionedChunkStorage;method_75894(Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;intermediary method_75894Lnet/minecraft/class_3977;method_75894(Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;official aLeqf;a(Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
-
saveContextToNbt
- Mappings:
Namespace Name Mixin selector named saveContextToNbtLnet/minecraft/world/storage/VersionedChunkStorage;saveContextToNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_39799Lnet/minecraft/class_3977;method_39799(Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;)Vofficial aLeqf;a(Lve;Lve;)V
-
removeContext
- Mappings:
Namespace Name Mixin selector named removeContextLnet/minecraft/world/storage/VersionedChunkStorage;removeContext(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_60626Lnet/minecraft/class_3977;method_60626(Lnet/minecraft/class_2487;)Vofficial aLeqf;a(Lve;)V
-
method_75898
- Mappings:
Namespace Name Mixin selector named method_75898Lnet/minecraft/world/storage/VersionedChunkStorage;method_75898(Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_75898Lnet/minecraft/class_3977;method_75898(Lnet/minecraft/class_1923;)Vofficial eLeqf;e(Ldtu;)V
-
method_75897
- Mappings:
Namespace Name Mixin selector named method_75897Lnet/minecraft/world/storage/VersionedChunkStorage;method_75897(Z)Ljava/util/concurrent/CompletableFuture;intermediary method_75897Lnet/minecraft/class_3977;method_75897(Z)Ljava/util/concurrent/CompletableFuture;official bLeqf;b(Z)Ljava/util/concurrent/CompletableFuture;
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
getWorker
- Mappings:
Namespace Name Mixin selector named getWorkerLnet/minecraft/world/storage/VersionedChunkStorage;getWorker()Lnet/minecraft/world/storage/NbtScannable;intermediary method_39800Lnet/minecraft/class_3977;method_39800()Lnet/minecraft/class_6830;official mLeqf;m()Lept;
-
getStorageKey
- Mappings:
Namespace Name Mixin selector named getStorageKeyLnet/minecraft/world/storage/VersionedChunkStorage;getStorageKey()Lnet/minecraft/world/storage/StorageKey;intermediary method_60999Lnet/minecraft/class_3977;method_60999()Lnet/minecraft/class_9240;official nLeqf;n()Leqc;
-