类 ChunkEvent.Load
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.LevelEvent
net.minecraftforge.event.level.ChunkEvent
net.minecraftforge.event.level.ChunkEvent.Load
- 封闭类:
ChunkEvent
ChunkEvent.Load is fired when vanilla Minecraft attempts to load a Chunk into the level.
This event is fired during chunk loading in
Chunk.onChunkLoad().
Note: This event may be called before the underlying
. You will cause chunk loading deadlocks if you don't delay your level interactions.
This event is not
This event does not have a result.
This event is fired on the
This event is fired during chunk loading in
Chunk.onChunkLoad().
Note: This event may be called before the underlying
LevelChunk
is promoted to
引用无效
ChunkStatus#FULL
This event is not
Cancelable
.This event does not have a result.
Event.HasResult
This event is fired on the
MinecraftForge.EVENT_BUS
.-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.event.level.ChunkEvent
ChunkEvent.Load, ChunkEvent.Unload
从类继承的嵌套类/接口 net.minecraftforge.event.level.LevelEvent
LevelEvent.CreateSpawnPosition, LevelEvent.PotentialSpawns, LevelEvent.Save
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
Check whether the Chunk is newly generated, and being loaded for the first time.从类继承的方法 net.minecraftforge.event.level.ChunkEvent
getChunk
从类继承的方法 net.minecraftforge.event.level.LevelEvent
getLevel
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
newChunk
private final boolean newChunk
-
-
构造器详细资料
-
Load
-
-
方法详细资料
-
isNewChunk
public boolean isNewChunk()Check whether the Chunk is newly generated, and being loaded for the first time.Will only ever return
true
on the logical server.- 返回:
- whether the Chunk is newly generated
-