aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/SlotClickEvent.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-11-17 19:55:02 +0100
committerLinnea Gräf <nea@nea.moe>2025-11-17 19:55:02 +0100
commitc93a04a001b0f66b2724d46b04b6d1ed49a08d07 (patch)
tree5869ca70acc482ef0362f27785c3d3f1cbb9ffae /src/main/kotlin/events/SlotClickEvent.kt
parentaf9893b59407c69d31ebd2ed513f0396ab4d2dc9 (diff)
downloadFirmament-c93a04a001b0f66b2724d46b04b6d1ed49a08d07.tar.gz
Firmament-c93a04a001b0f66b2724d46b04b6d1ed49a08d07.tar.bz2
Firmament-c93a04a001b0f66b2724d46b04b6d1ed49a08d07.zip
refactor: port to mojmaps
Diffstat (limited to 'src/main/kotlin/events/SlotClickEvent.kt')
-rw-r--r--src/main/kotlin/events/SlotClickEvent.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/kotlin/events/SlotClickEvent.kt b/src/main/kotlin/events/SlotClickEvent.kt
index d4abfb0..bfeadf9 100644
--- a/src/main/kotlin/events/SlotClickEvent.kt
+++ b/src/main/kotlin/events/SlotClickEvent.kt
@@ -1,15 +1,15 @@
package moe.nea.firmament.events
-import net.minecraft.item.ItemStack
-import net.minecraft.screen.slot.Slot
-import net.minecraft.screen.slot.SlotActionType
+import net.minecraft.world.item.ItemStack
+import net.minecraft.world.inventory.Slot
+import net.minecraft.world.inventory.ClickType
data class SlotClickEvent(
val slot: Slot,
val stack: ItemStack,
val button: Int,
- val actionType: SlotActionType,
+ val actionType: ClickType,
) : FirmamentEvent() {
companion object : FirmamentEventBus<SlotClickEvent>()
}