aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt
blob: 9359e4b8c6fa09ea2675a598b8c0b68aac993caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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: Vector3f,
    val longDistance: Boolean,
    val count: Int,
    val speed: Float,
) : FirmamentEvent.Cancellable() {
    companion object : FirmamentEventBus<ParticleSpawnEvent>()
}