diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-18 20:10:16 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-04-18 20:23:44 +0200 |
commit | c264ca9e8f9f2b0aed457753c43bb4e25edb0ef1 (patch) | |
tree | f0eac8c4902bca00f9e44bc4d0e9b6eb73e7144d /src/main/kotlin/moe/nea/firmament/events | |
parent | fbe94315a45082bdf50d0a95583725352e3f20ec (diff) | |
download | Firmament-c264ca9e8f9f2b0aed457753c43bb4e25edb0ef1.tar.gz Firmament-c264ca9e8f9f2b0aed457753c43bb4e25edb0ef1.tar.bz2 Firmament-c264ca9e8f9f2b0aed457753c43bb4e25edb0ef1.zip |
Add pickaxe ability timer
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/events/SlotClickEvent.kt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/SlotClickEvent.kt b/src/main/kotlin/moe/nea/firmament/events/SlotClickEvent.kt new file mode 100644 index 0000000..d935adb --- /dev/null +++ b/src/main/kotlin/moe/nea/firmament/events/SlotClickEvent.kt @@ -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>() +} |