Add pickaxe ability timer

This commit is contained in:
Linnea Gräf
2024-04-18 20:10:16 +02:00
parent fbe94315a4
commit c264ca9e8f
10 changed files with 345 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
/*
* 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.item.ItemStack
import net.minecraft.screen.slot.Slot
import net.minecraft.screen.slot.SlotActionType
data class SlotClickEvent(
val slot: Slot,
val stack: ItemStack,
val button: Int,
val actionType: SlotActionType,
) : FirmamentEvent() {
companion object : FirmamentEventBus<SlotClickEvent>()
}