diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/SenpaiEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/SenpaiEntity.java index c904e94cd..3fba5c032 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/SenpaiEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/SenpaiEntity.java @@ -50,13 +50,7 @@ public class SenpaiEntity extends Monster implements GeoEntity { @Override protected void registerGoals() { super.registerGoals(); - this.goalSelector.addGoal(1, new MeleeAttackGoal(this, 1.4, false) { - // TODO what is this? -// @Override -// protected double getAttackReachSqr(LivingEntity entity) { -// return this.mob.getBbWidth() * this.mob.getBbWidth() + entity.getBbWidth(); -// } - }); + this.goalSelector.addGoal(1, new MeleeAttackGoal(this, 1.4, false)); this.targetSelector.addGoal(2, new HurtByTargetGoal(this).setAlertOthers()); this.goalSelector.addGoal(3, new RandomLookAroundGoal(this)); this.goalSelector.addGoal(4, new FloatGoal(this)); @@ -64,14 +58,6 @@ public class SenpaiEntity extends Monster implements GeoEntity { this.targetSelector.addGoal(6, new NearestAttackableTargetGoal<>(this, Player.class, false, false)); } - - // TODO mob type -// @Override -// public MobType getMobType() { -// return MobType.ILLAGER; -// } - - @Override @ParametersAreNonnullByDefault protected void dropCustomDeathLoot(ServerLevel level, DamageSource damageSource, boolean recentlyHit) { @@ -172,13 +158,6 @@ public class SenpaiEntity extends Monster implements GeoEntity { } } - public String getSyncedAnimation() { - return null; - } - - public void setAnimation(String animation) { - } - @Override public void registerControllers(AnimatableManager.ControllerRegistrar data) { data.add(new AnimationController<>(this, "movement", 4, this::movementPredicate));