Class TrackingChunkStatusListener
java.lang.Object
net.minecraft.world.chunk.listener.TrackingChunkStatusListener
- All Implemented Interfaces:
IChunkStatusListener
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LoggingChunkStatusListener
private final int
private final int
private final int
private ChunkPos
private boolean
private final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<ChunkStatus>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getStatus
(int p_219525_1_, int p_219525_2_) void
onStatusChange
(ChunkPos p_219508_1_, ChunkStatus p_219508_2_) void
start()
void
stop()
void
updateSpawnPos
(ChunkPos p_219509_1_)
-
Field Details
-
delegate
-
statuses
-
spawnPos
-
fullDiameter
private final int fullDiameter -
radius
private final int radius -
diameter
private final int diameter -
started
private boolean started
-
-
Constructor Details
-
TrackingChunkStatusListener
public TrackingChunkStatusListener(int p_i50695_1_)
-
-
Method Details
-
updateSpawnPos
- Specified by:
updateSpawnPos
in interfaceIChunkStatusListener
-
onStatusChange
- Specified by:
onStatusChange
in interfaceIChunkStatusListener
-
start
public void start() -
stop
public void stop()- Specified by:
stop
in interfaceIChunkStatusListener
-
getFullDiameter
public int getFullDiameter() -
getDiameter
public int getDiameter() -
getProgress
public int getProgress() -
getStatus
-