Class CatEntity.CatFleeGoal<T extends LivingEntity>

Enclosing class:
CatEntity

private static class CatEntity.CatFleeGoal<T extends LivingEntity> extends FleeEntityGoal<T>
Mappings:
Namespace Name
named net/minecraft/entity/passive/CatEntity$CatFleeGoal
intermediary net/minecraft/class_1451$class_3698
official cff$a
  • Field Details

    • cat

      private final CatEntity cat
      Mappings:
      Namespace Name Mixin selector
      named cat Lnet/minecraft/entity/passive/CatEntity$CatFleeGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
      intermediary field_16293 Lnet/minecraft/class_1451$class_3698;field_16293:Lnet/minecraft/class_1451;
      official i Lcff$a;i:Lcff;
  • Constructor Details

    • CatFleeGoal

      public CatFleeGoal(CatEntity cat, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/CatEntity$CatFleeGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;Ljava/lang/Class;FDD)V
      intermediary <init> Lnet/minecraft/class_1451$class_3698;<init>(Lnet/minecraft/class_1451;Ljava/lang/Class;FDD)V
      official <init> Lcff$a;<init>(Lcff;Ljava/lang/Class;FDD)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class FleeEntityGoal<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official b Lcak;b()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class FleeEntityGoal<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      official c Lcak;c()Z