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 dvj
  • Field Details

    • recreationWorker

      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 Ldvj;a:Ldvi;
    • outputDirectory

      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 Ldvj;b:Ljava/nio/file/Path;
  • Constructor Details

    • RecreatedChunkStorage

      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> Ldvj;<init>(Ldvp;Ljava/nio/file/Path;Ldvp;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;Z)V
  • Method Details

    • setNbt

      public CompletableFuture<Void> setNbt(ChunkPos chunkPos, NbtCompound nbt)
      Overrides:
      setNbt in class VersionedChunkStorage
      Mappings:
      Namespace Name Mixin selector
      named setNbt Lnet/minecraft/world/storage/VersionedChunkStorage;setNbt(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_17910 Lnet/minecraft/class_3977;method_17910(Lnet/minecraft/class_1923;Lnet/minecraft/class_2487;)Ljava/util/concurrent/CompletableFuture;
      official a Ldvg;a(Ldbg;Lus;)Ljava/util/concurrent/CompletableFuture;
    • close

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