Package net.minecraft.world.updater
Class WorldUpdater
java.lang.Object
net.minecraft.world.updater.WorldUpdater
- Mappings:
Namespace Name official bpa
intermediary net/minecraft/class_1257
named net/minecraft/world/updater/WorldUpdater
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
private class
(package private) static final record
private class
private class
WorldUpdater.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 MutableText
(package private) static final MutableText
(package private) static final MutableText
(package private) boolean
(package private) static final Logger
private 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) int
private static final ThreadFactory
private final Thread
(package private) int
(package private) static final MutableText
(package private) static final MutableText
(package private) static final MutableText
(package private) final Set
<RegistryKey<World>> -
Constructor Summary
ConstructorsConstructorDescriptionWorldUpdater
(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, DynamicRegistryManager dynamicRegistryManager, boolean eraseCache, boolean recreateRegionFiles) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
(package private) static Path
getNewDirectoryPath
(Path current) float
float
getProgress
(RegistryKey<World> world) int
int
int
boolean
isDone()
private void
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lbpa;a:Lorg/slf4j/Logger;
intermediary field_5756
Lnet/minecraft/class_1257;field_5756:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/world/updater/WorldUpdater;LOGGER:Lorg/slf4j/Logger;
-
UPDATE_THREAD_FACTORY
- Mappings:
Namespace Name Mixin selector official b
Lbpa;b:Ljava/util/concurrent/ThreadFactory;
intermediary field_5757
Lnet/minecraft/class_1257;field_5757:Ljava/util/concurrent/ThreadFactory;
named UPDATE_THREAD_FACTORY
Lnet/minecraft/world/updater/WorldUpdater;UPDATE_THREAD_FACTORY:Ljava/util/concurrent/ThreadFactory;
-
NEW_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbpa;c:Ljava/lang/String;
intermediary field_48723
Lnet/minecraft/class_1257;field_48723:Ljava/lang/String;
named NEW_PREFIX
Lnet/minecraft/world/updater/WorldUpdater;NEW_PREFIX:Ljava/lang/String;
-
UPGRADING_POI_TEXT
- Mappings:
Namespace Name Mixin selector official d
Lbpa;d:Lxi;
intermediary field_48724
Lnet/minecraft/class_1257;field_48724:Lnet/minecraft/class_5250;
named UPGRADING_POI_TEXT
Lnet/minecraft/world/updater/WorldUpdater;UPGRADING_POI_TEXT:Lnet/minecraft/text/MutableText;
-
FINISHED_POI_TEXT
- Mappings:
Namespace Name Mixin selector official e
Lbpa;e:Lxi;
intermediary field_48725
Lnet/minecraft/class_1257;field_48725:Lnet/minecraft/class_5250;
named FINISHED_POI_TEXT
Lnet/minecraft/world/updater/WorldUpdater;FINISHED_POI_TEXT:Lnet/minecraft/text/MutableText;
-
UPGRADING_ENTITIES_TEXT
- Mappings:
Namespace Name Mixin selector official f
Lbpa;f:Lxi;
intermediary field_48726
Lnet/minecraft/class_1257;field_48726:Lnet/minecraft/class_5250;
named UPGRADING_ENTITIES_TEXT
Lnet/minecraft/world/updater/WorldUpdater;UPGRADING_ENTITIES_TEXT:Lnet/minecraft/text/MutableText;
-
FINISHED_ENTITIES_TEXT
- Mappings:
Namespace Name Mixin selector official g
Lbpa;g:Lxi;
intermediary field_48727
Lnet/minecraft/class_1257;field_48727:Lnet/minecraft/class_5250;
named FINISHED_ENTITIES_TEXT
Lnet/minecraft/world/updater/WorldUpdater;FINISHED_ENTITIES_TEXT:Lnet/minecraft/text/MutableText;
-
UPGRADING_CHUNKS_TEXT
- Mappings:
Namespace Name Mixin selector official h
Lbpa;h:Lxi;
intermediary field_48728
Lnet/minecraft/class_1257;field_48728:Lnet/minecraft/class_5250;
named UPGRADING_CHUNKS_TEXT
Lnet/minecraft/world/updater/WorldUpdater;UPGRADING_CHUNKS_TEXT:Lnet/minecraft/text/MutableText;
-
FINISHED_CHUNKS_TEXT
- Mappings:
Namespace Name Mixin selector official i
Lbpa;i:Lxi;
intermediary field_48729
Lnet/minecraft/class_1257;field_48729:Lnet/minecraft/class_5250;
named FINISHED_CHUNKS_TEXT
Lnet/minecraft/world/updater/WorldUpdater;FINISHED_CHUNKS_TEXT:Lnet/minecraft/text/MutableText;
-
REGION_FILE_PATTERN
- Mappings:
Namespace Name Mixin selector official z
Lbpa;z:Ljava/util/regex/Pattern;
intermediary field_17622
Lnet/minecraft/class_1257;field_17622:Ljava/util/regex/Pattern;
named REGION_FILE_PATTERN
Lnet/minecraft/world/updater/WorldUpdater;REGION_FILE_PATTERN:Ljava/util/regex/Pattern;
-
dimensionOptionsRegistry
- Mappings:
Namespace Name Mixin selector official j
Lbpa;j:Ljj;
intermediary field_40113
Lnet/minecraft/class_1257;field_40113:Lnet/minecraft/class_2378;
named dimensionOptionsRegistry
Lnet/minecraft/world/updater/WorldUpdater;dimensionOptionsRegistry:Lnet/minecraft/registry/Registry;
-
worldKeys
- Mappings:
Namespace Name Mixin selector official k
Lbpa;k:Ljava/util/Set;
intermediary field_40114
Lnet/minecraft/class_1257;field_40114:Ljava/util/Set;
named worldKeys
Lnet/minecraft/world/updater/WorldUpdater;worldKeys:Ljava/util/Set;
-
eraseCache
final boolean eraseCache- Mappings:
Namespace Name Mixin selector official l
Lbpa;l:Z
intermediary field_19225
Lnet/minecraft/class_1257;field_19225:Z
named eraseCache
Lnet/minecraft/world/updater/WorldUpdater;eraseCache:Z
-
recreateRegionFiles
final boolean recreateRegionFiles- Mappings:
Namespace Name Mixin selector official m
Lbpa;m:Z
intermediary field_48730
Lnet/minecraft/class_1257;field_48730:Z
named recreateRegionFiles
Lnet/minecraft/world/updater/WorldUpdater;recreateRegionFiles:Z
-
session
- Mappings:
Namespace Name Mixin selector official n
Lbpa;n:Leob$c;
intermediary field_24083
Lnet/minecraft/class_1257;field_24083:Lnet/minecraft/class_32$class_5143;
named session
Lnet/minecraft/world/updater/WorldUpdater;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;
-
updateThread
- Mappings:
Namespace Name Mixin selector official o
Lbpa;o:Ljava/lang/Thread;
intermediary field_5767
Lnet/minecraft/class_1257;field_5767:Ljava/lang/Thread;
named updateThread
Lnet/minecraft/world/updater/WorldUpdater;updateThread:Ljava/lang/Thread;
-
dataFixer
final com.mojang.datafixers.DataFixer dataFixer- Mappings:
Namespace Name Mixin selector official p
Lbpa;p:Lcom/mojang/datafixers/DataFixer;
intermediary field_24084
Lnet/minecraft/class_1257;field_24084:Lcom/mojang/datafixers/DataFixer;
named dataFixer
Lnet/minecraft/world/updater/WorldUpdater;dataFixer:Lcom/mojang/datafixers/DataFixer;
-
keepUpgradingChunks
volatile boolean keepUpgradingChunks- Mappings:
Namespace Name Mixin selector official q
Lbpa;q:Z
intermediary field_5760
Lnet/minecraft/class_1257;field_5760:Z
named keepUpgradingChunks
Lnet/minecraft/world/updater/WorldUpdater;keepUpgradingChunks:Z
-
done
private volatile boolean done- Mappings:
Namespace Name Mixin selector official r
Lbpa;r:Z
intermediary field_5759
Lnet/minecraft/class_1257;field_5759:Z
named done
Lnet/minecraft/world/updater/WorldUpdater;done:Z
-
progress
volatile float progress- Mappings:
Namespace Name Mixin selector official s
Lbpa;s:F
intermediary field_5763
Lnet/minecraft/class_1257;field_5763:F
named progress
Lnet/minecraft/world/updater/WorldUpdater;progress:F
-
totalChunkCount
volatile int totalChunkCount- Mappings:
Namespace Name Mixin selector official t
Lbpa;t:I
intermediary field_5768
Lnet/minecraft/class_1257;field_5768:I
named totalChunkCount
Lnet/minecraft/world/updater/WorldUpdater;totalChunkCount:I
-
totalRegionCount
volatile int totalRegionCount- Mappings:
Namespace Name Mixin selector official u
Lbpa;u:I
intermediary field_48731
Lnet/minecraft/class_1257;field_48731:I
named totalRegionCount
Lnet/minecraft/world/updater/WorldUpdater;totalRegionCount:I
-
upgradedChunkCount
volatile int upgradedChunkCount- Mappings:
Namespace Name Mixin selector official v
Lbpa;v:I
intermediary field_5766
Lnet/minecraft/class_1257;field_5766:I
named upgradedChunkCount
Lnet/minecraft/world/updater/WorldUpdater;upgradedChunkCount:I
-
skippedChunkCount
volatile int skippedChunkCount- Mappings:
Namespace Name Mixin selector official w
Lbpa;w:I
intermediary field_5764
Lnet/minecraft/class_1257;field_5764:I
named skippedChunkCount
Lnet/minecraft/world/updater/WorldUpdater;skippedChunkCount:I
-
dimensionProgress
- Mappings:
Namespace Name Mixin selector official x
Lbpa;x:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;
intermediary field_5762
Lnet/minecraft/class_1257;field_5762:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;
named dimensionProgress
Lnet/minecraft/world/updater/WorldUpdater;dimensionProgress:Lit/unimi/dsi/fastutil/objects/Reference2FloatMap;
-
status
- Mappings:
Namespace Name Mixin selector official y
Lbpa;y:Lwu;
intermediary field_5765
Lnet/minecraft/class_1257;field_5765:Lnet/minecraft/class_2561;
named status
Lnet/minecraft/world/updater/WorldUpdater;status:Lnet/minecraft/text/Text;
-
persistentStateManager
- Mappings:
Namespace Name Mixin selector official A
Lbpa;A:Lenv;
intermediary field_5755
Lnet/minecraft/class_1257;field_5755:Lnet/minecraft/class_26;
named persistentStateManager
Lnet/minecraft/world/updater/WorldUpdater;persistentStateManager:Lnet/minecraft/world/PersistentStateManager;
-
-
Constructor Details
-
WorldUpdater
public WorldUpdater(LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, DynamicRegistryManager dynamicRegistryManager, boolean eraseCache, boolean recreateRegionFiles) - Mappings:
Namespace Name Mixin selector official <init>
Lbpa;<init>(Leob$c;Lcom/mojang/datafixers/DataFixer;Ljk;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
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
-
-
Method Details
-
cancel
public void cancel()- Mappings:
Namespace Name Mixin selector official a
Lbpa;a()V
intermediary method_5402
Lnet/minecraft/class_1257;method_5402()V
named cancel
Lnet/minecraft/world/updater/WorldUpdater;cancel()V
-
updateWorld
private void updateWorld()- Mappings:
Namespace Name Mixin selector official i
Lbpa;i()V
intermediary method_5404
Lnet/minecraft/class_1257;method_5404()V
named updateWorld
Lnet/minecraft/world/updater/WorldUpdater;updateWorld()V
-
isDone
public boolean isDone()- Mappings:
Namespace Name Mixin selector official b
Lbpa;b()Z
intermediary method_5403
Lnet/minecraft/class_1257;method_5403()Z
named isDone
Lnet/minecraft/world/updater/WorldUpdater;isDone()Z
-
getWorlds
- Mappings:
Namespace Name Mixin selector official c
Lbpa;c()Ljava/util/Set;
intermediary method_28304
Lnet/minecraft/class_1257;method_28304()Ljava/util/Set;
named getWorlds
Lnet/minecraft/world/updater/WorldUpdater;getWorlds()Ljava/util/Set;
-
getProgress
- Mappings:
Namespace Name Mixin selector official a
Lbpa;a(Lakg;)F
intermediary method_5393
Lnet/minecraft/class_1257;method_5393(Lnet/minecraft/class_5321;)F
named getProgress
Lnet/minecraft/world/updater/WorldUpdater;getProgress(Lnet/minecraft/registry/RegistryKey;)F
-
getProgress
public float getProgress()- Mappings:
Namespace Name Mixin selector official d
Lbpa;d()F
intermediary method_5401
Lnet/minecraft/class_1257;method_5401()F
named getProgress
Lnet/minecraft/world/updater/WorldUpdater;getProgress()F
-
getTotalChunkCount
public int getTotalChunkCount()- Mappings:
Namespace Name Mixin selector official e
Lbpa;e()I
intermediary method_5397
Lnet/minecraft/class_1257;method_5397()I
named getTotalChunkCount
Lnet/minecraft/world/updater/WorldUpdater;getTotalChunkCount()I
-
getUpgradedChunkCount
public int getUpgradedChunkCount()- Mappings:
Namespace Name Mixin selector official f
Lbpa;f()I
intermediary method_5400
Lnet/minecraft/class_1257;method_5400()I
named getUpgradedChunkCount
Lnet/minecraft/world/updater/WorldUpdater;getUpgradedChunkCount()I
-
getSkippedChunkCount
public int getSkippedChunkCount()- Mappings:
Namespace Name Mixin selector official g
Lbpa;g()I
intermediary method_5399
Lnet/minecraft/class_1257;method_5399()I
named getSkippedChunkCount
Lnet/minecraft/world/updater/WorldUpdater;getSkippedChunkCount()I
-
getStatus
- Mappings:
Namespace Name Mixin selector official h
Lbpa;h()Lwu;
intermediary method_5394
Lnet/minecraft/class_1257;method_5394()Lnet/minecraft/class_2561;
named getStatus
Lnet/minecraft/world/updater/WorldUpdater;getStatus()Lnet/minecraft/text/Text;
-
getNewDirectoryPath
- Mappings:
Namespace Name Mixin selector official a
Lbpa;a(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;
named getNewDirectoryPath
Lnet/minecraft/world/updater/WorldUpdater;getNewDirectoryPath(Ljava/nio/file/Path;)Ljava/nio/file/Path;
-