@@ -13,15 +13,6 @@
|
||||
public class EntityWither extends EntityMonster implements IRangedEntity {
|
||||
|
||||
private static final DataWatcherObject<Integer> a = DataWatcher.a(EntityWither.class, DataWatcherRegistry.b);
|
||||
@@ -19,7 +25,7 @@
|
||||
private final int[] bI = new int[2];
|
||||
private final int[] bJ = new int[2];
|
||||
private int bK;
|
||||
- private final BossBattleServer bL;
|
||||
+ public final BossBattleServer bL; // PAIL private -> public, rename bossBattleServer
|
||||
private static final Predicate<Entity> bM = (entity) -> {
|
||||
return entity instanceof EntityLiving && ((EntityLiving) entity).getMonsterType() != EnumMonsterType.UNDEAD && ((EntityLiving) entity).df();
|
||||
};
|
||||
@@ -181,13 +187,38 @@
|
||||
if (this.dz() > 0) {
|
||||
i = this.dz() - 1;
|
||||
@@ -84,4 +75,4 @@
|
||||
+ this.heal(1.0F, EntityRegainHealthEvent.RegainReason.REGEN); // CraftBukkit
|
||||
}
|
||||
|
||||
this.bL.setProgress(this.getHealth() / this.getMaxHealth());
|
||||
this.bossBattle.setProgress(this.getHealth() / this.getMaxHealth());
|
||||
|
||||
Reference in New Issue
Block a user