aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/rosegoldaddons/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/rosegoldaddons/events')
-rw-r--r--src/main/java/rosegoldaddons/events/ReceivePacketEvent.java16
-rw-r--r--src/main/java/rosegoldaddons/events/RenderLivingEntityEvent.java26
2 files changed, 42 insertions, 0 deletions
diff --git a/src/main/java/rosegoldaddons/events/ReceivePacketEvent.java b/src/main/java/rosegoldaddons/events/ReceivePacketEvent.java
new file mode 100644
index 0000000..e658a1e
--- /dev/null
+++ b/src/main/java/rosegoldaddons/events/ReceivePacketEvent.java
@@ -0,0 +1,16 @@
+package rosegoldaddons.events;
+
+import net.minecraft.network.Packet;
+import net.minecraftforge.fml.common.eventhandler.Cancelable;
+import net.minecraftforge.fml.common.eventhandler.Event;
+
+@Cancelable
+public class ReceivePacketEvent extends Event {
+
+ public Packet<?> packet;
+
+ public ReceivePacketEvent(Packet<?> packet) {
+ this.packet = packet;
+ }
+
+}
diff --git a/src/main/java/rosegoldaddons/events/RenderLivingEntityEvent.java b/src/main/java/rosegoldaddons/events/RenderLivingEntityEvent.java
new file mode 100644
index 0000000..8a6c9ed
--- /dev/null
+++ b/src/main/java/rosegoldaddons/events/RenderLivingEntityEvent.java
@@ -0,0 +1,26 @@
+package rosegoldaddons.events;
+
+import net.minecraft.client.model.ModelBase;
+import net.minecraft.entity.EntityLivingBase;
+import net.minecraftforge.fml.common.eventhandler.Cancelable;
+import net.minecraftforge.fml.common.eventhandler.Event;
+
+@Cancelable
+public class RenderLivingEntityEvent extends Event {
+
+ public EntityLivingBase entity;
+ public float p_77036_2_, p_77036_3_, p_77036_4_, p_77036_5_, p_77036_6_, scaleFactor;
+ public ModelBase modelBase;
+
+ public RenderLivingEntityEvent(EntityLivingBase entity, float p_77036_2_, float p_77036_3_, float p_77036_4_, float p_77036_5_, float p_77036_6_, float scaleFactor, ModelBase modelBase) {
+ this.entity = entity;
+ this.p_77036_2_ = p_77036_2_;
+ this.p_77036_3_ = p_77036_3_;
+ this.p_77036_4_ = p_77036_4_;
+ this.p_77036_5_ = p_77036_5_;
+ this.p_77036_6_ = p_77036_6_;
+ this.scaleFactor = scaleFactor;
+ this.modelBase = modelBase;
+ }
+
+} \ No newline at end of file