aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/events/EntityInteractionEvent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/events/EntityInteractionEvent.kt')
-rw-r--r--src/main/kotlin/events/EntityInteractionEvent.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/events/EntityInteractionEvent.kt b/src/main/kotlin/events/EntityInteractionEvent.kt
index 123ea39..8285e1b 100644
--- a/src/main/kotlin/events/EntityInteractionEvent.kt
+++ b/src/main/kotlin/events/EntityInteractionEvent.kt
@@ -1,13 +1,13 @@
package moe.nea.firmament.events
-import net.minecraft.entity.Entity
-import net.minecraft.util.Hand
+import net.minecraft.world.entity.Entity
+import net.minecraft.world.InteractionHand
data class EntityInteractionEvent(
val kind: InteractionKind,
val entity: Entity,
- val hand: Hand,
+ val hand: InteractionHand,
) : FirmamentEvent() {
companion object : FirmamentEventBus<EntityInteractionEvent>()
enum class InteractionKind {