net.minecraft.util.worldupdate

public class WorldUpgrader

bqf
net.minecraft.util.worldupdate.WorldUpgrader
net.minecraft.class_1257
net.minecraft.world.updater.WorldUpdater
net.minecraft.src.C_458_
net.minecraft.util.worldupdate.WorldUpgrader

Field summary

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

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()
m_18820_()
private void
i()
work()
method_5404()
updateWorld()
m_18838_()
public boolean
b()
isFinished()
method_5403()
isDone()
m_18829_()
public Set<ResourceKey<Level>>
c()
levels()
method_28304()
getWorlds()
m_246941_()
public float
a(akq<dcw> arg0)
dimensionProgress(ResourceKey<Level> arg0)
method_5393(class_5321<class_1937> arg0)
getProgress(RegistryKey<World> world)
m_18827_(C_5264_<C_1596_> arg0)
public float
d()
getProgress()
method_5401()
getProgress()
m_18833_()
public int
e()
getTotalChunks()
method_5397()
getTotalChunkCount()
m_18834_()
public int
f()
getConverted()
method_5400()
getUpgradedChunkCount()
m_18835_()
public int
g()
getSkipped()
method_5399()
getSkippedChunkCount()
m_18836_()
public Component
h()
getStatus()
method_5394()
getStatus()
m_18837_()
static Path
a(Path arg0)
resolveRecreateDirectory(Path arg0)
method_56987(Path arg0)
getNewDirectoryPath(Path current)
m_324714_(Path p_330107_)