类 ChunkEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.LevelEvent
net.minecraftforge.event.level.ChunkEvent
- 直接已知子类:
ChunkDataEvent
,ChunkEvent.Load
,ChunkEvent.Unload
ChunkEvent is fired when an event involving a chunk occurs.
If a method utilizes this
All children of this event are fired on the
If a method utilizes this
Event
as its parameter, the method will
receive every child event of this class.chunk
contains the Chunk this event is affecting.All children of this event are fired on the
MinecraftForge.EVENT_BUS
.-
嵌套类概要
嵌套类修饰符和类型类说明static class
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().static class
ChunkEvent.Unload is fired when vanilla Minecraft attempts to unload a Chunk from the level.
This event is fired during chunk unloading in
Chunk.onChunkUnload().从类继承的嵌套类/接口 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
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.event.level.LevelEvent
getLevel
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
chunk
-
-
构造器详细资料
-
ChunkEvent
-
ChunkEvent
-
-
方法详细资料
-
getChunk
-