net.minecraft.world.chunk

public class DeltaChunkLoadProgress

implements ChunkLoadProgress

net.minecraft.server.level.progress.LevelLoadProgressTracker
net.minecraft.class_11547
net.minecraft.world.chunk.DeltaChunkLoadProgress

Field summary

Modifier and TypeField
private static final int
PREPARE_SERVER_WEIGHT
field_61110
INITIAL_CHUNKS
private static final int
EXPECTED_PLAYER_CHUNKS
field_61111
PLAYER_CHUNKS
private final boolean
includePlayerChunks
field_61112
player
private int
totalWeight
field_61113
totalChunks
private int
finalizedWeight
field_61114
previousLoadedChunks
private int
segmentWeight
field_61115
chunks
private float
segmentFraction
field_61116
fullyLoadedChunksRatio
private volatile float
progress
field_61117
loadProgress

Constructor summary

ModifierConstructor
public (boolean player)

Method summary

Modifier and TypeMethod
public void
start(LevelLoadListener$Stage stage, int totalChunks)
method_72281(class_11545$class_11546 arg0, int arg1)
init(ChunkLoadProgress$Stage arg0, int arg1)
private void
beginSegment(int weight)
method_72286(int arg0)
init(int chunks)
public void
update(LevelLoadListener$Stage stage, int currentChunks, int totalChunks)
method_72282(class_11545$class_11546 arg0, int arg1, int arg2)
progress(ChunkLoadProgress$Stage arg0, int arg1, int arg2)
public void
finish(LevelLoadListener$Stage stage)
method_72280(class_11545$class_11546 arg0)
finish(ChunkLoadProgress$Stage arg0)
private void
finishSegment()
method_72287()
finish()
private boolean
tracksStage(LevelLoadListener$Stage stage)
method_72288(class_11545$class_11546 arg0)
shouldLoad(ChunkLoadProgress$Stage stage)
private void
updateProgress()
method_72289()
recalculateLoadProgress()
public float
get()
method_72285()
getLoadProgress()
public void
updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos)
method_72279(class_5321<class_1937> arg0, class_1923 arg1)
initSpawnPos(RegistryKey<World> arg0, ChunkPos arg1)