net.minecraft.util.worldupdate

public class WorldUpgrader

amu
net.minecraft.util.worldupdate.WorldUpgrader
net.minecraft.class_1257
net.minecraft.world.updater.WorldUpdater
net.minecraft.util.WorldOptimizer
net.minecraft.server.v1_16_R1.WorldUpgrader

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_5756
LOGGER
field_212219_a
private static final ThreadFactory
b
THREAD_FACTORY
field_5757
UPDATE_THREAD_FACTORY
field_212220_b
private final com.google.common.collect.ImmutableSet<ResourceKey<Level>>
c
levels
field_25354
worlds
field_233529_c_
private final boolean
d
eraseCache
field_19225
eraseCache
field_219957_d
private final LevelStorageSource$LevelStorageAccess
e
levelStorage
field_24083
session
field_212221_c
private final Thread
f
thread
field_5767
updateThread
field_212223_e
private final com.mojang.datafixers.DataFixer
g
dataFixer
field_24084
dataFixer
field_233530_g_
private volatile boolean
h
running
field_5760
keepUpgradingChunks
field_212224_f
private volatile boolean
i
finished
field_5759
isDone
field_212225_g
private volatile float
j
progress
field_5763
progress
field_212232_n
private volatile int
k
totalChunks
field_5768
totalChunkCount
field_212233_o
private volatile int
l
converted
field_5766
upgradedChunkCount
field_212234_p
private volatile int
m
skipped
field_5764
skippedChunkCount
field_212235_q
private final it.unimi.dsi.fastutil.objects.Object2FloatMap<ResourceKey<Level>>
n
progressMap
field_5762
dimensionProgress
field_212544_m
private volatile Component
o
status
field_5765
status
field_212236_r
private static final Pattern
p
REGEX
field_17622
REGION_FILE_PATTERN
field_219959_p
private final DimensionDataStorage
q
overworldDataStorage
field_5755
persistentStateManager
field_219960_q

Constructor summary

ModifierConstructor
public (LevelStorageSource$LevelStorageAccess session, com.mojang.datafixers.DataFixer dataFixer, com.google.common.collect.ImmutableSet<ResourceKey<Level>> worlds, boolean eraseCache)

Method summary

Modifier and TypeMethod
public void
a()
cancel()
method_5402()
cancel()
func_212217_a()
private void
i()
work()
method_5404()
updateWorld()
func_212216_o()
private List<ChunkPos>
b(ug<bqb> arg0)
getAllChunkPos(ResourceKey<Level> arg0)
method_17830(class_5321<class_1937> arg0)
getChunkPositions(RegistryKey<World> arg0)
func_233532_b_(RegistryKey<World> arg0)
public boolean
b()
isFinished()
method_5403()
isDone()
func_212218_b()
public int
e()
getTotalChunks()
method_5397()
getTotalChunkCount()
func_212211_j()
public int
f()
getConverted()
method_5400()
getUpgradedChunkCount()
func_212208_k()
public int
g()
getSkipped()
method_5399()
getSkippedChunkCount()
func_212209_l()
public Component
h()
getStatus()
method_5394()
getStatus()
func_212215_m()
public com.google.common.collect.ImmutableSet<ResourceKey<Level>>
c()
levels()
method_28304()
method_28304()
func_233533_c_()
public float
a(ug<bqb> arg0)
dimensionProgress(ResourceKey<Level> arg0)
method_5393(class_5321<class_1937> arg0)
getProgress(RegistryKey<World> arg0)
func_233531_a_(RegistryKey<World> arg0)
public float
d()
getProgress()
method_5401()
getProgress()
func_212207_i()