Class WorldUpdater

java.lang.Object
net.minecraft.world.updater.WorldUpdater
All Implemented Interfaces:
AutoCloseable

public class WorldUpdater extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/world/updater/WorldUpdater
intermediary net/minecraft/class_1257
official brz
  • Field Details Link icon

    • LOGGER Link icon

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/world/updater/WorldUpdater;LOGGER:Lorg/slf4j/Logger;
      intermediary field_5756 Lnet/minecraft/class_1257;field_5756:Lorg/slf4j/Logger;
      official a Lbrz;a:Lorg/slf4j/Logger;
    • UPDATE_THREAD_FACTORY Link icon

      private static final ThreadFactory UPDATE_THREAD_FACTORY
      Mappings:
      Namespace Name Mixin selector
      named UPDATE_THREAD_FACTORY Lnet/minecraft/world/updater/WorldUpdater;UPDATE_THREAD_FACTORY:Ljava/util/concurrent/ThreadFactory;
      intermediary field_5757 Lnet/minecraft/class_1257;field_5757:Ljava/util/concurrent/ThreadFactory;
      official b Lbrz;b:Ljava/util/concurrent/ThreadFactory;
    • NEW_PREFIX Link icon

      private static final String NEW_PREFIX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named NEW_PREFIX Lnet/minecraft/world/updater/WorldUpdater;NEW_PREFIX:Ljava/lang/String;
      intermediary field_48723 Lnet/minecraft/class_1257;field_48723:Ljava/lang/String;
      official c Lbrz;c:Ljava/lang/String;
    • UPGRADING_POI_TEXT Link icon

      static final Text UPGRADING_POI_TEXT
      Mappings:
      Namespace Name Mixin selector
      named UPGRADING_POI_TEXT Lnet/minecraft/world/updater/WorldUpdater;UPGRADING_POI_TEXT:Lnet/minecraft/text/Text;
      intermediary field_48724 Lnet/minecraft/class_1257;field_48724:Lnet/minecraft/class_2561;
      official d Lbrz;d:Lwp;
    • FINISHED_POI_TEXT Link icon

      static final Text FINISHED_POI_TEXT
      Mappings:
      Namespace Name Mixin selector
      named FINISHED_POI_TEXT Lnet/minecraft/world/updater/WorldUpdater;FINISHED_POI_TEXT:Lnet/minecraft/text/Text;
      intermediary field_48725 Lnet/minecraft/class_1257;field_48725:Lnet/minecraft/class_2561;
      official e Lbrz;e:Lwp;
    • UPGRADING_ENTITIES_TEXT Link icon

      static final Text UPGRADING_ENTITIES_TEXT
      Mappings:
      Namespace Name Mixin selector
      named UPGRADING_ENTITIES_TEXT Lnet/minecraft/world/updater/WorldUpdater;UPGRADING_ENTITIES_TEXT:Lnet/minecraft/text/Text;
      intermediary field_48726 Lnet/minecraft/class_1257;field_48726:Lnet/minecraft/class_2561;
      official f Lbrz;f:Lwp;
    • FINISHED_ENTITIES_TEXT Link icon

      static final Text FINISHED_ENTITIES_TEXT
      Mappings:
      Namespace Name Mixin selector
      named FINISHED_ENTITIES_TEXT Lnet/minecraft/world/updater/WorldUpdater;FINISHED_ENTITIES_TEXT:Lnet/minecraft/text/Text;
      intermediary field_48727 Lnet/minecraft/class_1257;field_48727:Lnet/minecraft/class_2561;
      official g Lbrz;g:Lwp;
    • UPGRADING_CHUNKS_TEXT Link icon

      static final Text UPGRADING_CHUNKS_TEXT
      Mappings:
      Namespace Name Mixin selector
      named UPGRADING_CHUNKS_TEXT Lnet/minecraft/world/updater/WorldUpdater;UPGRADING_CHUNKS_TEXT:Lnet/minecraft/text/Text;
      intermediary field_48728 Lnet/minecraft/class_1257;field_48728:Lnet/minecraft/class_2561;
      official h Lbrz;h:Lwp;
    • FINISHED_CHUNKS_TEXT Link icon

      static final Text FINISHED_CHUNKS_TEXT
      Mappings:
      Namespace Name Mixin selector
      named FINISHED_CHUNKS_TEXT Lnet/minecraft/world/updater/WorldUpdater;FINISHED_CHUNKS_TEXT:Lnet/minecraft/text/Text;
      intermediary field_48729 Lnet/minecraft/class_1257;field_48729:Lnet/minecraft/class_2561;
      official i Lbrz;i:Lwp;
    • REGION_FILE_PATTERN Link icon

      static final Pattern REGION_FILE_PATTERN
      Mappings:
      Namespace Name Mixin selector
      named REGION_FILE_PATTERN Lnet/minecraft/world/updater/WorldUpdater;REGION_FILE_PATTERN:Ljava/util/regex/Pattern;
      intermediary field_17622 Lnet/minecraft/class_1257;field_17622:Ljava/util/regex/Pattern;
      official z Lbrz;z:Ljava/util/regex/Pattern;
    • dimensionOptionsRegistry Link icon

      final Registry<DimensionOptions> dimensionOptionsRegistry
      Mappings:
      Namespace Name Mixin selector
      named dimensionOptionsRegistry Lnet/minecraft/world/updater/WorldUpdater;dimensionOptionsRegistry:Lnet/minecraft/registry/Registry;
      intermediary field_40113 Lnet/minecraft/class_1257;field_40113:Lnet/minecraft/class_2378;
      official j Lbrz;j:Lke;
    • worldKeys Link icon

      final Set<RegistryKey<World>> worldKeys
      Mappings:
      Namespace Name Mixin selector
      named worldKeys Lnet/minecraft/world/updater/WorldUpdater;worldKeys:Ljava/util/Set;
      intermediary field_40114 Lnet/minecraft/class_1257;field_40114:Ljava/util/Set;
      official k Lbrz;k:Ljava/util/Set;
    • eraseCache Link icon

      final boolean eraseCache
      Mappings:
      Namespace Name Mixin selector
      named eraseCache Lnet/minecraft/world/updater/WorldUpdater;eraseCache:Z
      intermediary field_19225 Lnet/minecraft/class_1257;field_19225:Z
      official l Lbrz;l:Z
    • recreateRegionFiles Link icon

      final boolean recreateRegionFiles
      Mappings:
      Namespace Name Mixin selector
      named recreateRegionFiles Lnet/minecraft/world/updater/WorldUpdater;recreateRegionFiles:Z
      intermediary field_48730 Lnet/minecraft/class_1257;field_48730:Z
      official m Lbrz;m:Z
    • session Link icon

      final LevelStorage.Session session
      Mappings:
      Namespace Name Mixin selector
      named session Lnet/minecraft/world/updater/WorldUpdater;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;
      intermediary field_24083 Lnet/minecraft/class_1257;field_24083:Lnet/minecraft/class_32$class_5143;
      official n Lbrz;n:Levg$c;
    • updateThread Link icon

      private final Thread updateThread
      Mappings:
      Namespace Name Mixin selector
      named updateThread Lnet/minecraft/world/updater/WorldUpdater;updateThread:Ljava/lang/Thread;
      intermediary field_5767 Lnet/minecraft/class_1257;field_5767:Ljava/lang/Thread;
      official o Lbrz;o:Ljava/lang/Thread;
    • dataFixer Link icon

      final com.mojang.datafixers.DataFixer dataFixer
      Mappings:
      Namespace Name Mixin selector
      named dataFixer Lnet/minecraft/world/updater/WorldUpdater;dataFixer:Lcom/mojang/datafixers/DataFixer;
      intermediary field_24084 Lnet/minecraft/class_1257;field_24084:Lcom/mojang/datafixers/DataFixer;
      official p Lbrz;p:Lcom/mojang/datafixers/DataFixer;
    • keepUpgradingChunks Link icon

      volatile boolean keepUpgradingChunks
      Mappings:
      Namespace Name Mixin selector
      named keepUpgradingChunks Lnet/minecraft/world/updater/WorldUpdater;keepUpgradingChunks:Z
      intermediary field_5760 Lnet/minecraft/class_1257;field_5760:Z
      official q Lbrz;q:Z
    • done Link icon

      private volatile boolean done
      Mappings:
      Namespace Name Mixin selector
      named done Lnet/minecraft/world/updater/WorldUpdater;done:Z
      intermediary field_5759 Lnet/minecraft/class_1257;field_5759:Z
      official r Lbrz;r:Z
    • progress Link icon

      volatile float progress
      Mappings:
      Namespace Name Mixin selector
      named progress Lnet/minecraft/world/updater/WorldUpdater;progress:F
      intermediary field_5763 Lnet/minecraft/class_1257;field_5763:F
      official s Lbrz;s:F
    • totalChunkCount Link icon

      volatile int totalChunkCount
      Mappings:
      Namespace Name Mixin selector
      named totalChunkCount Lnet/minecraft/world/updater/WorldUpdater;totalChunkCount:I
      intermediary field_5768 Lnet/minecraft/class_1257;field_5768:I
      official t Lbrz;t:I
    • totalRegionCount Link icon

      volatile int totalRegionCount
      Mappings:
      Namespace Name Mixin selector
      named totalRegionCount Lnet/minecraft/world/updater/WorldUpdater;totalRegionCount:I
      intermediary field_48731 Lnet/minecraft/class_1257;field_48731:I
      official u Lbrz;u:I
    • upgradedChunkCount Link icon

      volatile int upgradedChunkCount
      Mappings:
      Namespace Name Mixin selector
      named upgradedChunkCount Lnet/minecraft/world/updater/WorldUpdater;upgradedChunkCount:I
      intermediary field_5766 Lnet/minecraft/class_1257;field_5766:I
      official v Lbrz;v:I
    • skippedChunkCount Link icon

      volatile int skippedChunkCount
      Mappings:
      Namespace Name Mixin selector
      named skippedChunkCount Lnet/minecraft/world/updater/WorldUpdater;skippedChunkCount:I
      intermediary field_5764 Lnet/minecraft/class_1257;field_5764:I
      official w Lbrz;w:I
    • dimensionProgress Link icon

      final Reference2FloatMap<RegistryKey<World>> dimensionProgress
      Mappings:
      Namespace Name Mixin selector
      named dimensionProgress Lnet/minecraft/world/updater/WorldUpdater;dimensionProgress:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;
      intermediary field_5762 Lnet/minecraft/class_1257;field_5762:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;
      official x Lbrz;x:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;
    • status Link icon

      volatile Text status
      Mappings:
      Namespace Name Mixin selector
      named status Lnet/minecraft/world/updater/WorldUpdater;status:Lnet/minecraft/text/Text;
      intermediary field_5765 Lnet/minecraft/class_1257;field_5765:Lnet/minecraft/class_2561;
      official y Lbrz;y:Lwp;
    • persistentStateManager Link icon

      final PersistentStateManager persistentStateManager
      Mappings:
      Namespace Name Mixin selector
      named persistentStateManager Lnet/minecraft/world/updater/WorldUpdater;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;
      intermediary field_5755 Lnet/minecraft/class_1257;field_5755:Lnet/minecraft/class_26;
      official A Lbrz;A:Leva;
  • Constructor Details Link icon

    • WorldUpdater Link icon

      public WorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, DynamicRegistryManager dynamicRegistryManager, boolean eraseCache, boolean recreateRegionFiles)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/updater/WorldUpdater;<init>(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/registry/DynamicRegistryManager;ZZ)V
      intermediary <init> Lnet/minecraft/class_1257;<init>(Lnet/minecraft/class_32$class_5143;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_5455;ZZ)V
      official <init> Lbrz;<init>(Levg$c;Lcom/mojang/datafixers/DataFixer;Lkf;ZZ)V
  • Method Details Link icon

    • cancel Link icon

      public void cancel()
      Mappings:
      Namespace Name Mixin selector
      named cancel Lnet/minecraft/world/updater/WorldUpdater;cancel()V
      intermediary method_5402 Lnet/minecraft/class_1257;method_5402()V
      official a Lbrz;a()V
    • updateWorld Link icon

      private void updateWorld()
      Mappings:
      Namespace Name Mixin selector
      named updateWorld Lnet/minecraft/world/updater/WorldUpdater;updateWorld()V
      intermediary method_5404 Lnet/minecraft/class_1257;method_5404()V
      official i Lbrz;i()V
    • isDone Link icon

      public boolean isDone()
      Mappings:
      Namespace Name Mixin selector
      named isDone Lnet/minecraft/world/updater/WorldUpdater;isDone()Z
      intermediary method_5403 Lnet/minecraft/class_1257;method_5403()Z
      official b Lbrz;b()Z
    • getWorlds Link icon

      public Set<RegistryKey<World>> getWorlds()
      Mappings:
      Namespace Name Mixin selector
      named getWorlds Lnet/minecraft/world/updater/WorldUpdater;getWorlds()Ljava/util/Set;
      intermediary method_28304 Lnet/minecraft/class_1257;method_28304()Ljava/util/Set;
      official c Lbrz;c()Ljava/util/Set;
    • getProgress Link icon

      public float getProgress(RegistryKey<World> world)
      Mappings:
      Namespace Name Mixin selector
      named getProgress Lnet/minecraft/world/updater/WorldUpdater;getProgress(Lnet/minecraft/registry/RegistryKey;)F
      intermediary method_5393 Lnet/minecraft/class_1257;method_5393(Lnet/minecraft/class_5321;)F
      official a Lbrz;a(Laku;)F
    • getProgress Link icon

      public float getProgress()
      Mappings:
      Namespace Name Mixin selector
      named getProgress Lnet/minecraft/world/updater/WorldUpdater;getProgress()F
      intermediary method_5401 Lnet/minecraft/class_1257;method_5401()F
      official d Lbrz;d()F
    • getTotalChunkCount Link icon

      public int getTotalChunkCount()
      Mappings:
      Namespace Name Mixin selector
      named getTotalChunkCount Lnet/minecraft/world/updater/WorldUpdater;getTotalChunkCount()I
      intermediary method_5397 Lnet/minecraft/class_1257;method_5397()I
      official e Lbrz;e()I
    • getUpgradedChunkCount Link icon

      public int getUpgradedChunkCount()
      Mappings:
      Namespace Name Mixin selector
      named getUpgradedChunkCount Lnet/minecraft/world/updater/WorldUpdater;getUpgradedChunkCount()I
      intermediary method_5400 Lnet/minecraft/class_1257;method_5400()I
      official f Lbrz;f()I
    • getSkippedChunkCount Link icon

      public int getSkippedChunkCount()
      Mappings:
      Namespace Name Mixin selector
      named getSkippedChunkCount Lnet/minecraft/world/updater/WorldUpdater;getSkippedChunkCount()I
      intermediary method_5399 Lnet/minecraft/class_1257;method_5399()I
      official g Lbrz;g()I
    • getStatus Link icon

      public Text getStatus()
      Mappings:
      Namespace Name Mixin selector
      named getStatus Lnet/minecraft/world/updater/WorldUpdater;getStatus()Lnet/minecraft/text/Text;
      intermediary method_5394 Lnet/minecraft/class_1257;method_5394()Lnet/minecraft/class_2561;
      official h Lbrz;h()Lwp;
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getNewDirectoryPath Link icon

      static Path getNewDirectoryPath(Path current)
      Mappings:
      Namespace Name Mixin selector
      named getNewDirectoryPath Lnet/minecraft/world/updater/WorldUpdater;getNewDirectoryPath(Ljava/nio/file/Path;)Ljava/nio/file/Path;
      intermediary method_56987 Lnet/minecraft/class_1257;method_56987(Ljava/nio/file/Path;)Ljava/nio/file/Path;
      official a Lbrz;a(Ljava/nio/file/Path;)Ljava/nio/file/Path;