Class WorldUpdater.Update<T extends AutoCloseable>

java.lang.Object
net.minecraft.world.updater.WorldUpdater.Update<T>
Direct Known Subclasses:
WorldUpdater.ChunkPosKeyedStorageUpdate, WorldUpdater.RegionUpdate
Enclosing class:
WorldUpdater

private abstract class WorldUpdater.Update<T extends AutoCloseable> extends Object
Mappings:
Namespace Name
named net/minecraft/world/updater/WorldUpdater$Update
intermediary net/minecraft/class_1257$class_9161
official bsw$a
  • Field Details

    • upgradingText

      private final Text upgradingText
      Mappings:
      Namespace Name Mixin selector
      named upgradingText Lnet/minecraft/world/updater/WorldUpdater$Update;upgradingText:Lnet/minecraft/text/Text;
      intermediary field_48735 Lnet/minecraft/class_1257$class_9161;field_48735:Lnet/minecraft/class_2561;
      official d Lbsw$a;d:Lxv;
    • finishedText

      private final Text finishedText
      Mappings:
      Namespace Name Mixin selector
      named finishedText Lnet/minecraft/world/updater/WorldUpdater$Update;finishedText:Lnet/minecraft/text/Text;
      intermediary field_48736 Lnet/minecraft/class_1257$class_9161;field_48736:Lnet/minecraft/class_2561;
      official e Lbsw$a;e:Lxv;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/world/updater/WorldUpdater$Update;name:Ljava/lang/String;
      intermediary field_49072 Lnet/minecraft/class_1257$class_9161;field_49072:Ljava/lang/String;
      official f Lbsw$a;f:Ljava/lang/String;
    • targetName

      private final String targetName
      Mappings:
      Namespace Name Mixin selector
      named targetName Lnet/minecraft/world/updater/WorldUpdater$Update;targetName:Ljava/lang/String;
      intermediary field_48737 Lnet/minecraft/class_1257$class_9161;field_48737:Ljava/lang/String;
      official g Lbsw$a;g:Ljava/lang/String;
    • pendingUpdateFuture

      @Nullable protected @Nullable CompletableFuture<Void> pendingUpdateFuture
      Mappings:
      Namespace Name Mixin selector
      named pendingUpdateFuture Lnet/minecraft/world/updater/WorldUpdater$Update;pendingUpdateFuture:Ljava/util/concurrent/CompletableFuture;
      intermediary field_48732 Lnet/minecraft/class_1257$class_9161;field_48732:Ljava/util/concurrent/CompletableFuture;
      official a Lbsw$a;a:Ljava/util/concurrent/CompletableFuture;
    • dataFixTypes

      protected final DataFixTypes dataFixTypes
      Mappings:
      Namespace Name Mixin selector
      named dataFixTypes Lnet/minecraft/world/updater/WorldUpdater$Update;dataFixTypes:Lnet/minecraft/datafixer/DataFixTypes;
      intermediary field_48733 Lnet/minecraft/class_1257$class_9161;field_48733:Lnet/minecraft/class_4284;
      official b Lbsw$a;b:Lbbs;
  • Constructor Details

    • Update

      Update(DataFixTypes dataFixTypes, String name, String targetName, Text upgradingText, Text finishedText)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/updater/WorldUpdater$Update;<init>(Lnet/minecraft/world/updater/WorldUpdater;Lnet/minecraft/datafixer/DataFixTypes;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_1257$class_9161;<init>(Lnet/minecraft/class_1257;Lnet/minecraft/class_4284;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
      official <init> Lbsw$a;<init>(Lbsw;Lbbs;Ljava/lang/String;Ljava/lang/String;Lxv;Lxv;)V
  • Method Details

    • update

      public void update()
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/world/updater/WorldUpdater$Update;update()V
      intermediary method_56537 Lnet/minecraft/class_1257$class_9161;method_56537()V
      official a Lbsw$a;a()V
    • listWoldData

      private List<WorldUpdater.WorldData<T>> listWoldData()
      Mappings:
      Namespace Name Mixin selector
      named listWoldData Lnet/minecraft/world/updater/WorldUpdater$Update;listWoldData()Ljava/util/List;
      intermediary method_56544 Lnet/minecraft/class_1257$class_9161;method_56544()Ljava/util/List;
      official b Lbsw$a;b()Ljava/util/List;
    • openStorage

      protected abstract T openStorage(StorageKey key, Path worldDirectory)
      Mappings:
      Namespace Name Mixin selector
      named openStorage Lnet/minecraft/world/updater/WorldUpdater$Update;openStorage(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
      intermediary method_56546 Lnet/minecraft/class_1257$class_9161;method_56546(Lnet/minecraft/class_9240;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
      official a Lbsw$a;a(Lebi;Ljava/nio/file/Path;)Ljava/lang/AutoCloseable;
    • enumerateRegions

      private ListIterator<WorldUpdater.Region> enumerateRegions(StorageKey key, Path regionDirectory)
      Mappings:
      Namespace Name Mixin selector
      named enumerateRegions Lnet/minecraft/world/updater/WorldUpdater$Update;enumerateRegions(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;)Ljava/util/ListIterator;
      intermediary method_56545 Lnet/minecraft/class_1257$class_9161;method_56545(Lnet/minecraft/class_9240;Ljava/nio/file/Path;)Ljava/util/ListIterator;
      official b Lbsw$a;b(Lebi;Ljava/nio/file/Path;)Ljava/util/ListIterator;
    • listRegions

      private static List<WorldUpdater.Region> listRegions(StorageKey key, Path regionDirectory)
      Mappings:
      Namespace Name Mixin selector
      named listRegions Lnet/minecraft/world/updater/WorldUpdater$Update;listRegions(Lnet/minecraft/world/storage/StorageKey;Ljava/nio/file/Path;)Ljava/util/List;
      intermediary method_56539 Lnet/minecraft/class_1257$class_9161;method_56539(Lnet/minecraft/class_9240;Ljava/nio/file/Path;)Ljava/util/List;
      official c Lbsw$a;c(Lebi;Ljava/nio/file/Path;)Ljava/util/List;
    • update

      private boolean update(RegistryKey<World> worldKey, T storage, ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/world/updater/WorldUpdater$Update;update(Lnet/minecraft/registry/RegistryKey;Ljava/lang/AutoCloseable;Lnet/minecraft/util/math/ChunkPos;)Z
      intermediary method_56538 Lnet/minecraft/class_1257$class_9161;method_56538(Lnet/minecraft/class_5321;Ljava/lang/AutoCloseable;Lnet/minecraft/class_1923;)Z
      official a Lbsw$a;a(Laly;Ljava/lang/AutoCloseable;Ldgn;)Z
    • update

      protected abstract boolean update(T storage, ChunkPos chunkPos, RegistryKey<World> worldKey)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/world/updater/WorldUpdater$Update;update(Ljava/lang/AutoCloseable;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/registry/RegistryKey;)Z
      intermediary method_56543 Lnet/minecraft/class_1257$class_9161;method_56543(Ljava/lang/AutoCloseable;Lnet/minecraft/class_1923;Lnet/minecraft/class_5321;)Z
      official a Lbsw$a;a(Ljava/lang/AutoCloseable;Ldgn;Laly;)Z
    • recreate

      private void recreate(RegionFile regionFile)
      Mappings:
      Namespace Name Mixin selector
      named recreate Lnet/minecraft/world/updater/WorldUpdater$Update;recreate(Lnet/minecraft/world/storage/RegionFile;)V
      intermediary method_56541 Lnet/minecraft/class_1257$class_9161;method_56541(Lnet/minecraft/class_2861;)V
      official a Lbsw$a;a(Lebf;)V