aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/events/MouseScrollEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/events/MouseScrollEvent.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/events/MouseScrollEvent.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/events/MouseScrollEvent.kt b/src/main/kotlin/com/dulkirfabric/events/MouseScrollEvent.kt
new file mode 100644
index 0000000..ebcbe69
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/events/MouseScrollEvent.kt
@@ -0,0 +1,12 @@
+package com.dulkirfabric.events
+
+import com.dulkirfabric.events.base.Event
+import net.minecraft.client.gui.screen.Screen
+
+data class MouseScrollEvent(
+ val screen: Screen,
+ val mouseX: Double,
+ val mouseY: Double,
+ val horizontalScrollAmount: Double,
+ val verticalScrollAmount: Double
+): Event()