net.minecraft.util.worldupdate

public class WorldUpgrader

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

Constructor summary

ModifierConstructor
public (LevelStorageSource$LevelStorageAccess session, com.mojang.datafixers.DataFixer dataFixer, WorldGenSettings generatorOptions, 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(aba<cgx> 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 com.google.common.collect.ImmutableSet<ResourceKey<Level>>
c()
levels()
method_28304()
getWorlds()
m_18832_()
public float
a(aba<cgx> 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_()