Class GridChunkEvent
java.lang.Object
appeng.api.networking.events.GridEvent
appeng.api.networking.events.statistics.GridStatisticsEvent
appeng.api.networking.events.statistics.GridChunkEvent
- Direct Known Subclasses:
GridChunkEvent.GridChunkAdded,GridChunkEvent.GridChunkRemoved
An event send from the statistics grid once something about a chunk changes.
Listeners will not receive updates about pre-existing chunks when joining a network.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA chunk was added to the area this network spans.static classA chunk was removed to the area this network spans. -
Constructor Summary
ConstructorsConstructorDescriptionGridChunkEvent(net.minecraft.server.level.ServerLevel level, net.minecraft.world.level.ChunkPos chunkPos) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.ChunkPosnet.minecraft.server.level.ServerLevelgetLevel()
-
Constructor Details
-
GridChunkEvent
public GridChunkEvent(net.minecraft.server.level.ServerLevel level, net.minecraft.world.level.ChunkPos chunkPos)
-
-
Method Details
-
getLevel
public net.minecraft.server.level.ServerLevel getLevel() -
getChunkPos
public net.minecraft.world.level.ChunkPos getChunkPos()
-