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
official dpm
intermediary net/minecraft/class_9172
named net/minecraft/world/storage/ChunkPosKeyedStorage
  • Field Details

    • worker

      private final StorageIoWorker worker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm;a:Ldpe;
      intermediary field_48760 Lnet/minecraft/class_9172;field_48760:Lnet/minecraft/class_4698;
      named worker Lnet/minecraft/world/storage/ChunkPosKeyedStorage;worker:Lnet/minecraft/world/storage/StorageIoWorker;
    • dataFixer

      private final com.mojang.datafixers.DataFixer dataFixer
      Mappings:
      Namespace Name Mixin selector
      official b Ldpm;b:Lcom/mojang/datafixers/DataFixer;
      intermediary field_48761 Lnet/minecraft/class_9172;field_48761:Lcom/mojang/datafixers/DataFixer;
      named dataFixer Lnet/minecraft/world/storage/ChunkPosKeyedStorage;dataFixer:Lcom/mojang/datafixers/DataFixer;
    • dataFixTypes

      private final DataFixTypes dataFixTypes
      Mappings:
      Namespace Name Mixin selector
      official c Ldpm;c:Laxs;
      intermediary field_48762 Lnet/minecraft/class_9172;field_48762:Lnet/minecraft/class_4284;
      named dataFixTypes Lnet/minecraft/world/storage/ChunkPosKeyedStorage;dataFixTypes:Lnet/minecraft/datafixer/DataFixTypes;
  • Constructor Details

    • ChunkPosKeyedStorage

      public ChunkPosKeyedStorage(Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync, String name, DataFixTypes dataFixTypes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldpm;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLjava/lang/String;Laxs;)V
      intermediary <init> Lnet/minecraft/class_9172;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLjava/lang/String;Lnet/minecraft/class_4284;)V
      named <init> Lnet/minecraft/world/storage/ChunkPosKeyedStorage;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;ZLjava/lang/String;Lnet/minecraft/datafixer/DataFixTypes;)V
  • Method Details

    • read

      Mappings:
      Namespace Name Mixin selector
      official a Ldpm;a(Lcvl;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_56572 Lnet/minecraft/class_9172;method_56572(Lnet/minecraft/class_1923;)Ljava/util/concurrent/CompletableFuture;
      named read Lnet/minecraft/world/storage/ChunkPosKeyedStorage;read(Lnet/minecraft/util/math/ChunkPos;)Ljava/util/concurrent/CompletableFuture;
    • set

      Mappings:
      Namespace Name Mixin selector
      official a Ldpm;a(Lcvl;Lsy;)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;
      named set Lnet/minecraft/world/storage/ChunkPosKeyedStorage;set(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)Ljava/util/concurrent/CompletableFuture;
    • update

      public NbtCompound update(NbtCompound nbt, int oldVersion)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm;a(Lsy;I)Lsy;
      intermediary method_56573 Lnet/minecraft/class_9172;method_56573(Lnet/minecraft/class_2487;I)Lnet/minecraft/class_2487;
      named update Lnet/minecraft/world/storage/ChunkPosKeyedStorage;update(Lnet/minecraft/nbt/NbtCompound;I)Lnet/minecraft/nbt/NbtCompound;
    • update

      public com.mojang.serialization.Dynamic<NbtElement> update(com.mojang.serialization.Dynamic<NbtElement> nbt, int oldVersion)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm;a(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;
      named update Lnet/minecraft/world/storage/ChunkPosKeyedStorage;update(Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
    • completeAll

      public CompletableFuture<Void> completeAll(boolean sync)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm;a(Z)Ljava/util/concurrent/CompletableFuture;
      intermediary method_56574 Lnet/minecraft/class_9172;method_56574(Z)Ljava/util/concurrent/CompletableFuture;
      named completeAll Lnet/minecraft/world/storage/ChunkPosKeyedStorage;completeAll(Z)Ljava/util/concurrent/CompletableFuture;
    • close

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