diff options
author | Linnea Gräf <nea@nea.moe> | 2024-01-18 20:00:47 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-01-18 20:00:47 +0100 |
commit | 608fec9cd0bbe3cf389faaeb7e258b592e3adf14 (patch) | |
tree | ef7996342498f64529ac6eb5851b2a61a1973d1c /src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt | |
parent | d7902e06cd7285c72cd4ea2be6f18ead56a8775e (diff) | |
download | Firmament-608fec9cd0bbe3cf389faaeb7e258b592e3adf14.tar.gz Firmament-608fec9cd0bbe3cf389faaeb7e258b592e3adf14.tar.bz2 Firmament-608fec9cd0bbe3cf389faaeb7e258b592e3adf14.zip |
Add Nearby Burrow Highlighter
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt | 4 |
1 files changed, 3 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 e1b9ad3..a97b6d0 100644 --- a/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt +++ b/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt @@ -6,15 +6,17 @@ package moe.nea.firmament.events +import org.joml.Vector3f import net.minecraft.particle.ParticleEffect import net.minecraft.util.math.Vec3d data class ParticleSpawnEvent( val particleEffect: ParticleEffect, val position: Vec3d, - val offset: Vec3d, + val offset: Vector3f, val longDistance: Boolean, val count: Int, + val speed: Float, ) : FirmamentEvent.Cancellable() { companion object : FirmamentEventBus<ParticleSpawnEvent>() } |