aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/notenoughupdates/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/events')
-rw-r--r--src/main/kotlin/moe/nea/notenoughupdates/events/ParticleSpawnEvent.kt13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/events/ParticleSpawnEvent.kt b/src/main/kotlin/moe/nea/notenoughupdates/events/ParticleSpawnEvent.kt
new file mode 100644
index 0000000..23c67a0
--- /dev/null
+++ b/src/main/kotlin/moe/nea/notenoughupdates/events/ParticleSpawnEvent.kt
@@ -0,0 +1,13 @@
+package moe.nea.notenoughupdates.events
+
+import net.minecraft.particle.ParticleEffect
+import net.minecraft.util.math.Vec3d
+
+data class ParticleSpawnEvent(
+ val particleEffect: ParticleEffect,
+ val position: Vec3d,
+ val offset: Vec3d,
+ val longDistance: Boolean,
+) : NEUEvent() {
+ companion object : NEUEventBus<ParticleSpawnEvent>()
+}