aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/events/ParticleSpawnEvent.kt
blob: e1b9ad3a756d8ee03d40f8c27579c4d4f8639b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

package moe.nea.firmament.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,
    val count: Int,
) : FirmamentEvent.Cancellable() {
    companion object : FirmamentEventBus<ParticleSpawnEvent>()
}