aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-09-25 21:40:26 +0200
committernea <nea@nea.moe>2023-09-25 21:40:26 +0200
commiteaf91279b8f65b30f05a7be9a8ae1b6b18859ae4 (patch)
treeb00348853d7322bfaaa1121831b5ceeec130b649 /src/main/kotlin/moe/nea/firmament/events
parent139089d9beb134465737c4afff3b1303bf481aa1 (diff)
downloadfirmament-eaf91279b8f65b30f05a7be9a8ae1b6b18859ae4.tar.gz
firmament-eaf91279b8f65b30f05a7be9a8ae1b6b18859ae4.tar.bz2
firmament-eaf91279b8f65b30f05a7be9a8ae1b6b18859ae4.zip
Add enhanced explosions support
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events')
-rw-r--r--src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt b/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt
index 5092fe2..e1b9ad3 100644
--- a/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt
+++ b/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt
@@ -14,6 +14,7 @@ data class ParticleSpawnEvent(
val position: Vec3d,
val offset: Vec3d,
val longDistance: Boolean,
-) : FirmamentEvent() {
+ val count: Int,
+) : FirmamentEvent.Cancellable() {
companion object : FirmamentEventBus<ParticleSpawnEvent>()
}