Add Ancestral Spade solver

This commit is contained in:
Linnea Gräf
2024-01-18 00:10:25 +01:00
parent ac151c8ebc
commit d7902e06cd
8 changed files with 192 additions and 4 deletions

View File

@@ -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>()
}