aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/TooltipEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/events/TooltipEvent.kt')
-rw-r--r--src/main/kotlin/events/TooltipEvent.kt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/kotlin/events/TooltipEvent.kt b/src/main/kotlin/events/TooltipEvent.kt
new file mode 100644
index 0000000..630ba56
--- /dev/null
+++ b/src/main/kotlin/events/TooltipEvent.kt
@@ -0,0 +1,17 @@
+
+
+package moe.nea.firmament.events
+
+import net.minecraft.client.gui.tooltip.Tooltip
+import net.minecraft.entity.player.PlayerEntity
+import net.minecraft.item.Item
+import net.minecraft.item.ItemStack
+
+data class TooltipEvent(
+ val itemStack: ItemStack,
+ val tooltip: Tooltip,
+ val tooltipContext: Item.TooltipContext,
+ val player: PlayerEntity?
+) : FirmamentEvent() {
+ companion object : FirmamentEventBus<TooltipEvent>()
+}