net.minecraft.util.worldupdate

public class WorldUpgrader

bca
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
private 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 final Registry<LevelStem>
c
dimensions
field_40113
dimensionOptionsRegistry
f_243889_
private final Set<ResourceKey<Level>>
d
levels
field_40114
worldKeys
f_243666_
private final boolean
e
eraseCache
field_19225
eraseCache
f_18800_
private final LevelStorageSource$LevelStorageAccess
f
levelStorage
field_24083
session
f_18801_
private final Thread
g
thread
field_5767
updateThread
f_18802_
private final com.mojang.datafixers.DataFixer
h
dataFixer
field_24084
dataFixer
f_18803_
private volatile boolean
i
running
field_5760
keepUpgradingChunks
f_18804_
private volatile boolean
j
finished
field_5759
done
f_18805_
private volatile float
k
progress
field_5763
progress
f_18806_
private volatile int
l
totalChunks
field_5768
totalChunkCount
f_18807_
private volatile int
m
converted
field_5766
upgradedChunkCount
f_18808_
private volatile int
n
skipped
field_5764
skippedChunkCount
f_18809_
private final it.unimi.dsi.fastutil.objects.Object2FloatMap<ResourceKey<Level>>
o
progressMap
field_5762
dimensionProgress
f_18810_
private volatile Component
p
status
field_5765
status
f_18811_
private static final Pattern
q
REGEX
field_17622
REGION_FILE_PATTERN
f_18812_
private final DimensionDataStorage
r
overworldDataStorage
field_5755
persistentStateManager
f_18813_

Constructor summary

ModifierConstructor
public (LevelStorageSource$LevelStorageAccess session, com.mojang.datafixers.DataFixer dataFixer, Registry<LevelStem> dimensionOptionsRegistry, boolean eraseCache)

Method summary

Modifier and TypeMethod
public void
a()
cancel()
method_5402()
cancel()
m_18820_()
private void
i()
work()
method_5404()
updateWorld()
m_18838_()
private List<ChunkPos>
b(ace<cjw> arg0)
getAllChunkPos(ResourceKey<Level> arg0)
method_17830(class_5321<class_1937> arg0)
getChunkPositions(RegistryKey<World> world)
m_18830_(C_5264_<C_1596_> arg0)
public boolean
b()
isFinished()
method_5403()
isDone()
m_18829_()
public Set<ResourceKey<Level>>
c()
levels()
method_28304()
getWorlds()
m_246941_()
public float
a(ace<cjw> 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_()