Class RecreationStorage

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

public class RecreationStorage extends ChunkPosKeyedStorage
Mappings:
Namespace Name
official dpg
intermediary net/minecraft/class_9171
named net/minecraft/world/storage/RecreationStorage
  • Field Details

    • recreationWorker

      private final StorageIoWorker recreationWorker
      Mappings:
      Namespace Name Mixin selector
      official a Ldpg;a:Ldpe;
      intermediary field_48750 Lnet/minecraft/class_9171;field_48750:Lnet/minecraft/class_4698;
      named recreationWorker Lnet/minecraft/world/storage/RecreationStorage;recreationWorker:Lnet/minecraft/world/storage/StorageIoWorker;
    • outputDirectory

      private final Path outputDirectory
      Mappings:
      Namespace Name Mixin selector
      official b Ldpg;b:Ljava/nio/file/Path;
      intermediary field_48751 Lnet/minecraft/class_9171;field_48751:Ljava/nio/file/Path;
      named outputDirectory Lnet/minecraft/world/storage/RecreationStorage;outputDirectory:Ljava/nio/file/Path;
  • Constructor Details

    • RecreationStorage

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

    • set

      Overrides:
      set in class ChunkPosKeyedStorage
      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;
    • close

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