aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/render/EntityRenderLayersEvent.kt15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/render/EntityRenderLayersEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/render/EntityRenderLayersEvent.kt
new file mode 100644
index 000000000..ff951736e
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/events/render/EntityRenderLayersEvent.kt
@@ -0,0 +1,15 @@
+package at.hannibal2.skyhanni.events.render
+
+import at.hannibal2.skyhanni.events.LorenzEvent
+import net.minecraft.entity.Entity
+import net.minecraftforge.fml.common.eventhandler.Cancelable
+
+open class EntityRenderLayersEvent<T : Entity>(
+ val entity: T,
+) : LorenzEvent() {
+
+ @Cancelable
+ class Pre<T : Entity>(
+ entity: T,
+ ) : EntityRenderLayersEvent<T>(entity)
+}