aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events/render
diff options
context:
space:
mode:
authorBrady <thatgravyboat@gmail.com>2024-05-08 20:22:54 -0230
committerGitHub <noreply@github.com>2024-05-09 00:52:54 +0200
commite0b6473a1411ba3509cc5f303d9c1c28caafa4a7 (patch)
tree4818b7e6c6015bb4cfa231a40ec1dc0c5d76bdbd /src/main/java/at/hannibal2/skyhanni/events/render
parent2d9844426886cd488703d05ee58558e05d4c3987 (diff)
downloadskyhanni-e0b6473a1411ba3509cc5f303d9c1c28caafa4a7.tar.gz
skyhanni-e0b6473a1411ba3509cc5f303d9c1c28caafa4a7.tar.bz2
skyhanni-e0b6473a1411ba3509cc5f303d9c1c28caafa4a7.zip
Improvement: Cleanup HoppityEggPlayerOpacityChanger (#1696)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events/render')
-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)
+}