aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/events/MouseScrollEvent.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-11 22:57:55 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-11 22:57:55 -0500
commit8ade4e173a03fcb3080025d11c6e51f5976f3ccc (patch)
tree2adce93925feb17af340dfb53bc79f6bd159a2ca /src/main/kotlin/com/dulkirfabric/events/MouseScrollEvent.kt
parenta30fcadbeed2997ad1607d488ba7548c799a6033 (diff)
downloadDulkirMod-Fabric-8ade4e173a03fcb3080025d11c6e51f5976f3ccc.tar.gz
DulkirMod-Fabric-8ade4e173a03fcb3080025d11c6e51f5976f3ccc.tar.bz2
DulkirMod-Fabric-8ade4e173a03fcb3080025d11c6e51f5976f3ccc.zip
wip
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()