Class PolarBearEntity.ProtectBabiesGoal

Enclosing class:
PolarBearEntity

private class PolarBearEntity.ProtectBabiesGoal extends ActiveTargetGoal<PlayerEntity>
A target goal on players when this polar bear is near a baby polar bear.
Mappings:
Namespace Name
official bit$a
intermediary net/minecraft/class_1456$class_1457
named net/minecraft/entity/passive/PolarBearEntity$ProtectBabiesGoal
  • Constructor Details

    • ProtectBabiesGoal

      public ProtectBabiesGoal()
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class ActiveTargetGoal<PlayerEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbdt;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • getFollowRange

      protected double getFollowRange()
      Overrides:
      getFollowRange in class TrackTargetGoal
      Mappings:
      Namespace Name Mixin selector
      official l Lbfs;l()D
      intermediary method_6326 Lnet/minecraft/class_1405;method_6326()D
      named getFollowRange Lnet/minecraft/entity/ai/goal/TrackTargetGoal;getFollowRange()D