aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/SlotClickEvent.kt
diff options
context:
space:
mode:
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>()
}