diff options
author | Linnea Gräf <nea@nea.moe> | 2024-01-18 00:10:25 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-01-18 17:55:53 +0100 |
commit | d7902e06cd7285c72cd4ea2be6f18ead56a8775e (patch) | |
tree | fe07a4644bd889a4402d66105e0e6679f104cfb2 /src/main/kotlin/moe/nea/firmament/events | |
parent | ac151c8ebc4c5546795cdbf5b0c179183e2c71d1 (diff) | |
download | firmament-d7902e06cd7285c72cd4ea2be6f18ead56a8775e.tar.gz firmament-d7902e06cd7285c72cd4ea2be6f18ead56a8775e.tar.bz2 firmament-d7902e06cd7285c72cd4ea2be6f18ead56a8775e.zip |
Add Ancestral Spade solver
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/events/SoundReceiveEvent.kt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/SoundReceiveEvent.kt b/src/main/kotlin/moe/nea/firmament/events/SoundReceiveEvent.kt new file mode 100644 index 0000000..45b3982 --- /dev/null +++ b/src/main/kotlin/moe/nea/firmament/events/SoundReceiveEvent.kt @@ -0,0 +1,23 @@ +/* + * SPDX-FileCopyrightText: 2024 Linnea Gräf <nea@nea.moe> + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +package moe.nea.firmament.events + +import net.minecraft.registry.entry.RegistryEntry +import net.minecraft.sound.SoundCategory +import net.minecraft.sound.SoundEvent +import net.minecraft.util.math.Vec3d + +data class SoundReceiveEvent( + val sound: RegistryEntry<SoundEvent>, + val category: SoundCategory, + val position: Vec3d, + val pitch: Float, + val volume: Float, + val seed: Long +) : FirmamentEvent.Cancellable() { + companion object : FirmamentEventBus<SoundReceiveEvent>() +} |