net.minecraft.util.worldupdate

public class WorldUpgrader

implements AutoCloseable

bsx
net.minecraft.util.worldupdate.WorldUpgrader
net.minecraft.class_1257
net.minecraft.world.updater.WorldUpdater
net.minecraft.util.worldupdate.WorldUpgrader

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_5756
LOGGER
private static final ThreadFactory
b
THREAD_FACTORY
field_5757
UPDATE_THREAD_FACTORY
private static final String
c
NEW_DIRECTORY_PREFIX
field_48723
NEW_PREFIX
static final Component
d
STATUS_UPGRADING_POI
field_48724
UPGRADING_POI_TEXT
static final Component
e
STATUS_FINISHED_POI
field_48725
FINISHED_POI_TEXT
static final Component
f
STATUS_UPGRADING_ENTITIES
field_48726
UPGRADING_ENTITIES_TEXT
static final Component
g
STATUS_FINISHED_ENTITIES
field_48727
FINISHED_ENTITIES_TEXT
static final Component
h
STATUS_UPGRADING_CHUNKS
field_48728
UPGRADING_CHUNKS_TEXT
static final Component
i
STATUS_FINISHED_CHUNKS
field_48729
FINISHED_CHUNKS_TEXT
final Registry<LevelStem>
j
dimensions
field_40113
dimensionOptionsRegistry
final Set<ResourceKey<Level>>
k
levels
field_40114
worldKeys
final boolean
l
eraseCache
field_19225
eraseCache
final boolean
m
recreateRegionFiles
field_48730
recreateRegionFiles
final LevelStorageSource$LevelStorageAccess
n
levelStorage
field_24083
session
private final Thread
o
thread
field_5767
updateThread
final com.mojang.datafixers.DataFixer
p
dataFixer
field_24084
dataFixer
volatile boolean
q
running
field_5760
keepUpgradingChunks
private volatile boolean
r
finished
field_5759
done
volatile float
s
progress
field_5763
progress
volatile int
t
totalChunks
field_5768
totalChunkCount
volatile int
u
totalFiles
field_48731
totalRegionCount
volatile int
v
converted
field_5766
upgradedChunkCount
volatile int
w
skipped
field_5764
skippedChunkCount
final it.unimi.dsi.fastutil.objects.Reference2FloatMap<ResourceKey<Level>>
x
progressMap
field_5762
dimensionProgress
volatile Component
y
status
field_5765
status
static final Pattern
z
REGEX
field_17622
REGION_FILE_PATTERN
final DimensionDataStorage
A
overworldDataStorage
field_5755
persistentStateManager

Constructor summary

ModifierConstructor
public (LevelStorageSource$LevelStorageAccess session, com.mojang.datafixers.DataFixer dataFixer, RegistryAccess dynamicRegistryManager, boolean eraseCache, boolean recreateRegionFiles)

Method summary

Modifier and TypeMethod
public void
a()
cancel()
method_5402()
cancel()
private void
i()
work()
method_5404()
updateWorld()
public boolean
b()
isFinished()
method_5403()
isDone()
public Set<ResourceKey<Level>>
c()
levels()
method_28304()
getWorlds()
public float
a(aly<dhi> arg0)
dimensionProgress(ResourceKey<Level> arg0)
method_5393(class_5321<class_1937> arg0)
getProgress(RegistryKey<World> world)
public float
d()
getProgress()
method_5401()
getProgress()
public int
e()
getTotalChunks()
method_5397()
getTotalChunkCount()
public int
f()
getConverted()
method_5400()
getUpgradedChunkCount()
public int
g()
getSkipped()
method_5399()
getSkippedChunkCount()
public Component
h()
getStatus()
method_5394()
getStatus()
public void
close()
close()
static Path
a(Path arg0)
resolveRecreateDirectory(Path arg0)
method_56987(Path arg0)
getNewDirectoryPath(Path current)