aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/HotbarItemRenderEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/events/HotbarItemRenderEvent.kt')
-rw-r--r--src/main/kotlin/events/HotbarItemRenderEvent.kt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/kotlin/events/HotbarItemRenderEvent.kt b/src/main/kotlin/events/HotbarItemRenderEvent.kt
new file mode 100644
index 0000000..a1940e6
--- /dev/null
+++ b/src/main/kotlin/events/HotbarItemRenderEvent.kt
@@ -0,0 +1,17 @@
+
+
+package moe.nea.firmament.events
+
+import net.minecraft.client.gui.DrawContext
+import net.minecraft.client.render.RenderTickCounter
+import net.minecraft.item.ItemStack
+
+data class HotbarItemRenderEvent(
+ val item: ItemStack,
+ val context: DrawContext,
+ val x: Int,
+ val y: Int,
+ val tickDelta: RenderTickCounter,
+) : FirmamentEvent() {
+ companion object : FirmamentEventBus<HotbarItemRenderEvent>()
+}