- All Superinterfaces:
Event
- All Known Subinterfaces:
ChunkEvent.Blocks
, ChunkEvent.Blocks.Load
, ChunkEvent.Blocks.Save
, ChunkEvent.Blocks.Save.Post
, ChunkEvent.Blocks.Save.Pre
, ChunkEvent.Entities
, ChunkEvent.Entities.Load
, ChunkEvent.Entities.Save
, ChunkEvent.Entities.Save.Post
, ChunkEvent.Entities.Save.Pre
, ChunkEvent.Generated
, ChunkEvent.Load
, ChunkEvent.Unload
, ChunkEvent.Unload.Post
, ChunkEvent.Unload.Pre
, ChunkEvent.WorldScoped
public interface ChunkEvent
extends Event
-
Nested Class Summary
Nested Classes
static interface
Called when a
chunk
is performing a block related operation.
static interface
Called when a
chunk
is performing a entity related operation.
static interface
Called when a new
chunk
was generated.
static interface
Called when a
chunk
is loaded.
static interface
Called when a
chunk
was unloaded.
static interface
Represents an event that has knowledge about the
world
that
is being operated upon.
-
Method Summary
Gets the position of the
chunk
, in chunk co-ordinates.
-
Method Details
-
chunkPosition
Gets the position of the
chunk
, in chunk co-ordinates.
- Returns:
- the position