diff --git a/patches/minecraft/net/minecraft/entity/Entity.java.patch b/patches/minecraft/net/minecraft/entity/Entity.java.patch index 317bf6120c..d50bcf6cce 100644 --- a/patches/minecraft/net/minecraft/entity/Entity.java.patch +++ b/patches/minecraft/net/minecraft/entity/Entity.java.patch @@ -201,6 +201,15 @@ public boolean func_205710_ba() { return true; } +@@ -1948,7 +_,7 @@ + this.func_70015_d(8); + } + +- this.func_70097_a(DamageSource.field_180137_b, 5.0F); ++ this.func_70097_a(DamageSource.field_180137_b, p_241841_2_.getDamage()); + } + + public void func_203002_i(boolean p_203002_1_) { @@ -2032,7 +_,7 @@ } diff --git a/patches/minecraft/net/minecraft/entity/effect/LightningBoltEntity.java.patch b/patches/minecraft/net/minecraft/entity/effect/LightningBoltEntity.java.patch index 330618a07b..cc17ac45e0 100644 --- a/patches/minecraft/net/minecraft/entity/effect/LightningBoltEntity.java.patch +++ b/patches/minecraft/net/minecraft/entity/effect/LightningBoltEntity.java.patch @@ -1,5 +1,28 @@ --- a/net/minecraft/entity/effect/LightningBoltEntity.java +++ b/net/minecraft/entity/effect/LightningBoltEntity.java +@@ -30,6 +_,7 @@ + private boolean field_184529_d; + @Nullable + private ServerPlayerEntity field_204810_e; ++ private float damage = 5.0F; + + public LightningBoltEntity(EntityType p_i231491_1_, World p_i231491_2_) { + super(p_i231491_1_, p_i231491_2_); +@@ -51,6 +_,14 @@ + this.field_204810_e = p_204809_1_; + } + ++ public void setDamage(float damage){ ++ this.damage = damage; ++ } ++ ++ public float getDamage(){ ++ return this.damage; ++ } ++ + public void func_70071_h_() { + super.func_70071_h_(); + if (this.field_70262_b == 2) { @@ -83,6 +_,7 @@ List list = this.field_70170_p.func_175674_a(this, new AxisAlignedBB(this.func_226277_ct_() - 3.0D, this.func_226278_cu_() - 3.0D, this.func_226281_cx_() - 3.0D, this.func_226277_ct_() + 3.0D, this.func_226278_cu_() + 6.0D + 3.0D, this.func_226281_cx_() + 3.0D), Entity::func_70089_S);