aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/events
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-08 23:34:20 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-08 23:34:20 +0200
commit5a609c48b9d0ebb89c19627cd6dbbff21fc8324a (patch)
tree82d644a99141b8d62af2e5a999dcbbfa77b0f520 /src/main/java/at/lorenz/mod/events
parent5ac4f2123f2750a6a8d8a6ad1bb9c6e0177c270e (diff)
downloadskyhanni-5a609c48b9d0ebb89c19627cd6dbbff21fc8324a.tar.gz
skyhanni-5a609c48b9d0ebb89c19627cd6dbbff21fc8324a.tar.bz2
skyhanni-5a609c48b9d0ebb89c19627cd6dbbff21fc8324a.zip
add hide exp bottles support
Diffstat (limited to 'src/main/java/at/lorenz/mod/events')
-rw-r--r--src/main/java/at/lorenz/mod/events/CheckRenderEntityEvent.kt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/at/lorenz/mod/events/CheckRenderEntityEvent.kt b/src/main/java/at/lorenz/mod/events/CheckRenderEntityEvent.kt
new file mode 100644
index 000000000..b4b226e2b
--- /dev/null
+++ b/src/main/java/at/lorenz/mod/events/CheckRenderEntityEvent.kt
@@ -0,0 +1,14 @@
+package at.lorenz.mod.events
+
+import net.minecraft.client.renderer.culling.ICamera
+import net.minecraft.entity.Entity
+import net.minecraftforge.fml.common.eventhandler.Cancelable
+
+@Cancelable
+data class CheckRenderEntityEvent<T : Entity>(
+ val entity: T,
+ val camera: ICamera,
+ val camX: Double,
+ val camY: Double,
+ val camZ: Double
+) : LorenzEvent() \ No newline at end of file