Class ChunkPosKeyedStorage

java.lang.Object
net.minecraft.world.storage.ChunkPosKeyedStorage
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
RecreationStorage

public class ChunkPosKeyedStorage extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/world/storage/ChunkPosKeyedStorage
intermediary net/minecraft/class_9172
official dvs
  • Field Details

    • worker

      private final StorageIoWorker 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 Ldvs;a:Ldvj;
    • 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 Ldvs;b:Lcom/mojang/datafixers/DataFixer;
    • dataFixTypes

      private final DataFixTypes 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 Ldvs;c:Lbag;
  • 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> Ldvs;<init>(Ldvq;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLbag;)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 Ldvs;a(Ldbh;)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 Ldvs;a(Ldbh;Lus;)Ljava/util/concurrent/CompletableFuture;
    • update

      public NbtCompound update(NbtCompound nbt, int oldVersion)
      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 Ldvs;a(Lus;I)Lus;
    • 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 Ldvs;a(Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
    • completeAll

      public CompletableFuture<Void> completeAll(boolean sync)
      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 Ldvs;a(Z)Ljava/util/concurrent/CompletableFuture;
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException