aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/HandledScreenClickEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/events/HandledScreenClickEvent.kt')
-rw-r--r--src/main/kotlin/events/HandledScreenClickEvent.kt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/kotlin/events/HandledScreenClickEvent.kt b/src/main/kotlin/events/HandledScreenClickEvent.kt
new file mode 100644
index 0000000..4c3003c
--- /dev/null
+++ b/src/main/kotlin/events/HandledScreenClickEvent.kt
@@ -0,0 +1,10 @@
+
+
+package moe.nea.firmament.events
+
+import net.minecraft.client.gui.screen.ingame.HandledScreen
+
+data class HandledScreenClickEvent(val screen: HandledScreen<*>, val mouseX: Double, val mouseY: Double, val button: Int) :
+ FirmamentEvent.Cancellable() {
+ companion object : FirmamentEventBus<HandledScreenClickEvent>()
+}