Class OcelotEntity.FleeGoal<T extends LivingEntity>

Enclosing class:
OcelotEntity

private static class OcelotEntity.FleeGoal<T extends LivingEntity> extends FleeEntityGoal<T>
Mappings:
Namespace Name
named net/minecraft/entity/passive/OcelotEntity$FleeGoal
intermediary net/minecraft/class_3701$class_3702
official cfg$a
  • Field Details

    • ocelot

      private final OcelotEntity ocelot
      Mappings:
      Namespace Name Mixin selector
      named ocelot Lnet/minecraft/entity/passive/OcelotEntity$FleeGoal;ocelot:Lnet/minecraft/entity/passive/OcelotEntity;
      intermediary field_16303 Lnet/minecraft/class_3701$class_3702;field_16303:Lnet/minecraft/class_3701;
      official i Lcfg$a;i:Lcfg;
  • Constructor Details

    • FleeGoal

      public FleeGoal(OcelotEntity ocelot, Class<T> fleeFromType, float distance, double slowSpeed, double fastSpeed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/OcelotEntity$FleeGoal;<init>(Lnet/minecraft/entity/passive/OcelotEntity;Ljava/lang/Class;FDD)V
      intermediary <init> Lnet/minecraft/class_3701$class_3702;<init>(Lnet/minecraft/class_3701;Ljava/lang/Class;FDD)V
      official <init> Lcfg$a;<init>(Lcfg;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 a Lcaa;a()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 b Lcaa;b()Z