fix some function names

This commit is contained in:
Sen 2025-03-20 00:29:25 +01:00
parent fe57a2909a
commit 3d1c68210c
21 changed files with 133 additions and 164 deletions

View file

@ -245,7 +245,7 @@ public class Explosion
double d10 = (1.0D - d12) * d14;
if(this.worldObj.client || Config.damageExplosion)
entity.attackEntityFrom(DamageSource.causeExplosionDamage(this), ((int)((d10 * d10 + d10) / 2.0D * 8.0D * (double)f3 + 1.0D)));
double d11 = EnchantmentProtection.func_92092_a(entity, d10);
double d11 = EnchantmentProtection.getKnockbackFactor(entity, d10);
entity.motionX += d5 * d11;
entity.motionY += d7 * d11;
entity.motionZ += d9 * d11;