Package net.minecraft.world.updater
Class WorldUpdater
java.lang.Object
net.minecraft.world.updater.WorldUpdater
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/world/updater/WorldUpdaterintermediary net/minecraft/class_1257official btu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classprivate class(package private) static final recordprivate classprivate classWorldUpdater.Update<T extends AutoCloseable>(package private) static final record -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final com.mojang.datafixers.DataFixer(package private) final Registry<DimensionOptions> (package private) final Reference2FloatMap<RegistryKey<World>> private boolean(package private) final boolean(package private) static final Text(package private) static final Text(package private) static final Text(package private) boolean(package private) static final Loggerprivate static final String(package private) final PersistentStateManager(package private) float(package private) final boolean(package private) static final Pattern(package private) final LevelStorage.Session(package private) int(package private) Text(package private) int(package private) intprivate static final ThreadFactoryprivate final Thread(package private) int(package private) static final Text(package private) static final Text(package private) static final Text(package private) final Set<RegistryKey<World>> -
Constructor Summary
ConstructorsConstructorDescriptionWorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, SaveProperties saveProperties, DynamicRegistryManager registries, boolean eraseCache, boolean recreateRegionFiles) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidclose()(package private) static PathgetNewDirectoryPath(Path current) floatfloatgetProgress(RegistryKey<World> world) intintintbooleanisDone()private void
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/world/updater/WorldUpdater;LOGGER:Lorg/slf4j/Logger;intermediary field_5756Lnet/minecraft/class_1257;field_5756:Lorg/slf4j/Logger;official aLbtu;a:Lorg/slf4j/Logger;
-
UPDATE_THREAD_FACTORY
- Mappings:
Namespace Name Mixin selector named UPDATE_THREAD_FACTORYLnet/minecraft/world/updater/WorldUpdater;UPDATE_THREAD_FACTORY:Ljava/util/concurrent/ThreadFactory;intermediary field_5757Lnet/minecraft/class_1257;field_5757:Ljava/util/concurrent/ThreadFactory;official bLbtu;b:Ljava/util/concurrent/ThreadFactory;
-
NEW_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector named NEW_PREFIXLnet/minecraft/world/updater/WorldUpdater;NEW_PREFIX:Ljava/lang/String;intermediary field_48723Lnet/minecraft/class_1257;field_48723:Ljava/lang/String;official cLbtu;c:Ljava/lang/String;
-
UPGRADING_POI_TEXT
- Mappings:
Namespace Name Mixin selector named UPGRADING_POI_TEXTLnet/minecraft/world/updater/WorldUpdater;UPGRADING_POI_TEXT:Lnet/minecraft/text/Text;intermediary field_48724Lnet/minecraft/class_1257;field_48724:Lnet/minecraft/class_2561;official dLbtu;d:Lwy;
-
FINISHED_POI_TEXT
- Mappings:
Namespace Name Mixin selector named FINISHED_POI_TEXTLnet/minecraft/world/updater/WorldUpdater;FINISHED_POI_TEXT:Lnet/minecraft/text/Text;intermediary field_48725Lnet/minecraft/class_1257;field_48725:Lnet/minecraft/class_2561;official eLbtu;e:Lwy;
-
UPGRADING_ENTITIES_TEXT
- Mappings:
Namespace Name Mixin selector named UPGRADING_ENTITIES_TEXTLnet/minecraft/world/updater/WorldUpdater;UPGRADING_ENTITIES_TEXT:Lnet/minecraft/text/Text;intermediary field_48726Lnet/minecraft/class_1257;field_48726:Lnet/minecraft/class_2561;official fLbtu;f:Lwy;
-
FINISHED_ENTITIES_TEXT
- Mappings:
Namespace Name Mixin selector named FINISHED_ENTITIES_TEXTLnet/minecraft/world/updater/WorldUpdater;FINISHED_ENTITIES_TEXT:Lnet/minecraft/text/Text;intermediary field_48727Lnet/minecraft/class_1257;field_48727:Lnet/minecraft/class_2561;official gLbtu;g:Lwy;
-
UPGRADING_CHUNKS_TEXT
- Mappings:
Namespace Name Mixin selector named UPGRADING_CHUNKS_TEXTLnet/minecraft/world/updater/WorldUpdater;UPGRADING_CHUNKS_TEXT:Lnet/minecraft/text/Text;intermediary field_48728Lnet/minecraft/class_1257;field_48728:Lnet/minecraft/class_2561;official hLbtu;h:Lwy;
-
FINISHED_CHUNKS_TEXT
- Mappings:
Namespace Name Mixin selector named FINISHED_CHUNKS_TEXTLnet/minecraft/world/updater/WorldUpdater;FINISHED_CHUNKS_TEXT:Lnet/minecraft/text/Text;intermediary field_48729Lnet/minecraft/class_1257;field_48729:Lnet/minecraft/class_2561;official iLbtu;i:Lwy;
-
REGION_FILE_PATTERN
- Mappings:
Namespace Name Mixin selector named REGION_FILE_PATTERNLnet/minecraft/world/updater/WorldUpdater;REGION_FILE_PATTERN:Ljava/util/regex/Pattern;intermediary field_17622Lnet/minecraft/class_1257;field_17622:Ljava/util/regex/Pattern;official zLbtu;z:Ljava/util/regex/Pattern;
-
dimensionOptionsRegistry
- Mappings:
Namespace Name Mixin selector named dimensionOptionsRegistryLnet/minecraft/world/updater/WorldUpdater;dimensionOptionsRegistry:Lnet/minecraft/registry/Registry;intermediary field_40113Lnet/minecraft/class_1257;field_40113:Lnet/minecraft/class_2378;official jLbtu;j:Ljs;
-
worldKeys
- Mappings:
Namespace Name Mixin selector named worldKeysLnet/minecraft/world/updater/WorldUpdater;worldKeys:Ljava/util/Set;intermediary field_40114Lnet/minecraft/class_1257;field_40114:Ljava/util/Set;official kLbtu;k:Ljava/util/Set;
-
eraseCache
final boolean eraseCache- Mappings:
Namespace Name Mixin selector named eraseCacheLnet/minecraft/world/updater/WorldUpdater;eraseCache:Zintermediary field_19225Lnet/minecraft/class_1257;field_19225:Zofficial lLbtu;l:Z
-
recreateRegionFiles
final boolean recreateRegionFiles- Mappings:
Namespace Name Mixin selector named recreateRegionFilesLnet/minecraft/world/updater/WorldUpdater;recreateRegionFiles:Zintermediary field_48730Lnet/minecraft/class_1257;field_48730:Zofficial mLbtu;m:Z
-
session
- Mappings:
Namespace Name Mixin selector named sessionLnet/minecraft/world/updater/WorldUpdater;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;intermediary field_24083Lnet/minecraft/class_1257;field_24083:Lnet/minecraft/class_32$class_5143;official nLbtu;n:Lezc$c;
-
updateThread
- Mappings:
Namespace Name Mixin selector named updateThreadLnet/minecraft/world/updater/WorldUpdater;updateThread:Ljava/lang/Thread;intermediary field_5767Lnet/minecraft/class_1257;field_5767:Ljava/lang/Thread;official oLbtu;o:Ljava/lang/Thread;
-
dataFixer
final com.mojang.datafixers.DataFixer dataFixer- Mappings:
Namespace Name Mixin selector named dataFixerLnet/minecraft/world/updater/WorldUpdater;dataFixer:Lcom/mojang/datafixers/DataFixer;intermediary field_24084Lnet/minecraft/class_1257;field_24084:Lcom/mojang/datafixers/DataFixer;official pLbtu;p:Lcom/mojang/datafixers/DataFixer;
-
keepUpgradingChunks
volatile boolean keepUpgradingChunks- Mappings:
Namespace Name Mixin selector named keepUpgradingChunksLnet/minecraft/world/updater/WorldUpdater;keepUpgradingChunks:Zintermediary field_5760Lnet/minecraft/class_1257;field_5760:Zofficial qLbtu;q:Z
-
done
private volatile boolean done- Mappings:
Namespace Name Mixin selector named doneLnet/minecraft/world/updater/WorldUpdater;done:Zintermediary field_5759Lnet/minecraft/class_1257;field_5759:Zofficial rLbtu;r:Z
-
progress
volatile float progress- Mappings:
Namespace Name Mixin selector named progressLnet/minecraft/world/updater/WorldUpdater;progress:Fintermediary field_5763Lnet/minecraft/class_1257;field_5763:Fofficial sLbtu;s:F
-
totalChunkCount
volatile int totalChunkCount- Mappings:
Namespace Name Mixin selector named totalChunkCountLnet/minecraft/world/updater/WorldUpdater;totalChunkCount:Iintermediary field_5768Lnet/minecraft/class_1257;field_5768:Iofficial tLbtu;t:I
-
totalRegionCount
volatile int totalRegionCount- Mappings:
Namespace Name Mixin selector named totalRegionCountLnet/minecraft/world/updater/WorldUpdater;totalRegionCount:Iintermediary field_48731Lnet/minecraft/class_1257;field_48731:Iofficial uLbtu;u:I
-
upgradedChunkCount
volatile int upgradedChunkCount- Mappings:
Namespace Name Mixin selector named upgradedChunkCountLnet/minecraft/world/updater/WorldUpdater;upgradedChunkCount:Iintermediary field_5766Lnet/minecraft/class_1257;field_5766:Iofficial vLbtu;v:I
-
skippedChunkCount
volatile int skippedChunkCount- Mappings:
Namespace Name Mixin selector named skippedChunkCountLnet/minecraft/world/updater/WorldUpdater;skippedChunkCount:Iintermediary field_5764Lnet/minecraft/class_1257;field_5764:Iofficial wLbtu;w:I
-
dimensionProgress
- Mappings:
Namespace Name Mixin selector named dimensionProgressLnet/minecraft/world/updater/WorldUpdater;dimensionProgress:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;intermediary field_5762Lnet/minecraft/class_1257;field_5762:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;official xLbtu;x:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;
-
status
- Mappings:
Namespace Name Mixin selector named statusLnet/minecraft/world/updater/WorldUpdater;status:Lnet/minecraft/text/Text;intermediary field_5765Lnet/minecraft/class_1257;field_5765:Lnet/minecraft/class_2561;official yLbtu;y:Lwy;
-
persistentStateManager
- Mappings:
Namespace Name Mixin selector named persistentStateManagerLnet/minecraft/world/updater/WorldUpdater;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;intermediary field_5755Lnet/minecraft/class_1257;field_5755:Lnet/minecraft/class_26;official ALbtu;A:Leyw;
-
-
Constructor Details
-
WorldUpdater
public WorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, SaveProperties saveProperties, DynamicRegistryManager registries, 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/world/SaveProperties;Lnet/minecraft/registry/DynamicRegistryManager;ZZ)Vintermediary <init>Lnet/minecraft/class_1257;<init>(Lnet/minecraft/class_32$class_5143;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_5219;Lnet/minecraft/class_5455;ZZ)Vofficial <init>Lbtu;<init>(Lezc$c;Lcom/mojang/datafixers/DataFixer;Lezi;Ljt;ZZ)V
-
-
Method Details
-
cancel
public void cancel()- Mappings:
Namespace Name Mixin selector named cancelLnet/minecraft/world/updater/WorldUpdater;cancel()Vintermediary method_5402Lnet/minecraft/class_1257;method_5402()Vofficial aLbtu;a()V
-
updateWorld
private void updateWorld()- Mappings:
Namespace Name Mixin selector named updateWorldLnet/minecraft/world/updater/WorldUpdater;updateWorld()Vintermediary method_5404Lnet/minecraft/class_1257;method_5404()Vofficial iLbtu;i()V
-
isDone
public boolean isDone()- Mappings:
Namespace Name Mixin selector named isDoneLnet/minecraft/world/updater/WorldUpdater;isDone()Zintermediary method_5403Lnet/minecraft/class_1257;method_5403()Zofficial bLbtu;b()Z
-
getWorlds
- Mappings:
Namespace Name Mixin selector named getWorldsLnet/minecraft/world/updater/WorldUpdater;getWorlds()Ljava/util/Set;intermediary method_28304Lnet/minecraft/class_1257;method_28304()Ljava/util/Set;official cLbtu;c()Ljava/util/Set;
-
getProgress
- Mappings:
Namespace Name Mixin selector named getProgressLnet/minecraft/world/updater/WorldUpdater;getProgress(Lnet/minecraft/registry/RegistryKey;)Fintermediary method_5393Lnet/minecraft/class_1257;method_5393(Lnet/minecraft/class_5321;)Fofficial aLbtu;a(Lalf;)F
-
getProgress
public float getProgress()- Mappings:
Namespace Name Mixin selector named getProgressLnet/minecraft/world/updater/WorldUpdater;getProgress()Fintermediary method_5401Lnet/minecraft/class_1257;method_5401()Fofficial dLbtu;d()F
-
getTotalChunkCount
public int getTotalChunkCount()- Mappings:
Namespace Name Mixin selector named getTotalChunkCountLnet/minecraft/world/updater/WorldUpdater;getTotalChunkCount()Iintermediary method_5397Lnet/minecraft/class_1257;method_5397()Iofficial eLbtu;e()I
-
getUpgradedChunkCount
public int getUpgradedChunkCount()- Mappings:
Namespace Name Mixin selector named getUpgradedChunkCountLnet/minecraft/world/updater/WorldUpdater;getUpgradedChunkCount()Iintermediary method_5400Lnet/minecraft/class_1257;method_5400()Iofficial fLbtu;f()I
-
getSkippedChunkCount
public int getSkippedChunkCount()- Mappings:
Namespace Name Mixin selector named getSkippedChunkCountLnet/minecraft/world/updater/WorldUpdater;getSkippedChunkCount()Iintermediary method_5399Lnet/minecraft/class_1257;method_5399()Iofficial gLbtu;g()I
-
getStatus
- Mappings:
Namespace Name Mixin selector named getStatusLnet/minecraft/world/updater/WorldUpdater;getStatus()Lnet/minecraft/text/Text;intermediary method_5394Lnet/minecraft/class_1257;method_5394()Lnet/minecraft/class_2561;official hLbtu;h()Lwy;
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getNewDirectoryPath
- Mappings:
Namespace Name Mixin selector named getNewDirectoryPathLnet/minecraft/world/updater/WorldUpdater;getNewDirectoryPath(Ljava/nio/file/Path;)Ljava/nio/file/Path;intermediary method_56987Lnet/minecraft/class_1257;method_56987(Ljava/nio/file/Path;)Ljava/nio/file/Path;official aLbtu;a(Ljava/nio/file/Path;)Ljava/nio/file/Path;
-