Class RecreatedChunkStorage

java.lang.Object
net.minecraft.world.storage.VersionedChunkStorage
net.minecraft.world.storage.RecreatedChunkStorage
All Implemented Interfaces:
AutoCloseable

public class RecreatedChunkStorage extends VersionedChunkStorage
Mappings:
Namespace Name
named net/minecraft/world/storage/RecreatedChunkStorage
intermediary net/minecraft/class_9170
official eag
  • Field Details Link icon

    • recreationWorker Link icon

      private final StorageIoWorker recreationWorker
      Mappings:
      Namespace Name Mixin selector
      named recreationWorker Lnet/minecraft/world/storage/RecreatedChunkStorage;recreationWorker:Lnet/minecraft/world/storage/StorageIoWorker;
      intermediary field_48748 Lnet/minecraft/class_9170;field_48748:Lnet/minecraft/class_4698;
      official a Leag;a:Leaf;
    • outputDirectory Link icon

      private final Path outputDirectory
      Mappings:
      Namespace Name Mixin selector
      named outputDirectory Lnet/minecraft/world/storage/RecreatedChunkStorage;outputDirectory:Ljava/nio/file/Path;
      intermediary field_48749 Lnet/minecraft/class_9170;field_48749:Ljava/nio/file/Path;
      official b Leag;b:Ljava/nio/file/Path;
  • Constructor Details Link icon

    • RecreatedChunkStorage Link icon

      public RecreatedChunkStorage(StorageKey storageKey, Path directory, StorageKey outputStorageKey, Path outputDirectory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/storage/RecreatedChunkStorage;<init>(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;Z)V
      intermediary <init> Lnet/minecraft/class_9170;<init>(Lnet/minecraft/class_9240;Ljava/nio/file/Path;Lnet/minecraft/class_9240;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;Z)V
      official <init> Leag;<init>(Leam;Ljava/nio/file/Path;Leam;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;Z)V
  • Method Details Link icon

    • setNbt Link icon

      public CompletableFuture<Void> setNbt(ChunkPos chunkPos, Supplier<NbtCompound> nbtSupplier)
      Overrides:
      setNbt in class VersionedChunkStorage
      Mappings:
      Namespace Name Mixin selector
      named setNbt Lnet/minecraft/world/storage/VersionedChunkStorage;setNbt(Lnet/minecraft/util/math/ChunkPos;Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_17910 Lnet/minecraft/class_3977;method_17910(Lnet/minecraft/class_1923;Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture;
      official a Lead;a(Ldfp;Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture;
    • close Link icon

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