public static class ChunkDataEvent.Load extends ChunkDataEvent
net.minecraft.world.chunk.storage.ChunkSerializer.read(ServerWorld, TemplateManager, PointOfInterestManager, ChunkPos, CompoundNBT)
which means it is async, so be careful.Cancelable
.HasResult
MinecraftForge.EVENT_BUS
.ChunkDataEvent.Load, ChunkDataEvent.Save
ChunkEvent.Unload
WorldEvent.CreateSpawnPosition, WorldEvent.PotentialSpawns
Modifier and Type | Field and Description |
---|---|
private ChunkStatus.Type |
status |
Constructor and Description |
---|
Load(IChunk chunk,
CompoundNBT data,
ChunkStatus.Type status) |
Modifier and Type | Method and Description |
---|---|
ChunkStatus.Type |
getStatus() |
getData
getChunk
getWorld
private ChunkStatus.Type status
public Load(IChunk chunk, CompoundNBT data, ChunkStatus.Type status)
public ChunkStatus.Type getStatus()