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 ebc
  • 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 Lebc;a:Lebb;
    • 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 Lebc;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> Lebc;<init>(Lebi;Ljava/nio/file/Path;Lebi;Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;Z)V
  • Method Details

    • setNbt

      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 Leaz;a(Ldgn;Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture;
    • close

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