Class WolfBegGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WolfBegGoal

public class WolfBegGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/WolfBegGoal
intermediary net/minecraft/class_1337
official ccl
  • Field Details

    • wolf

      private final WolfEntity wolf
      Mappings:
      Namespace Name Mixin selector
      named wolf Lnet/minecraft/entity/ai/goal/WolfBegGoal;wolf:Lnet/minecraft/entity/passive/WolfEntity;
      intermediary field_6384 Lnet/minecraft/class_1337;field_6384:Lnet/minecraft/class_1493;
      official a Lccl;a:Lciz;
    • begFrom

      @Nullable private @Nullable PlayerEntity begFrom
      Mappings:
      Namespace Name Mixin selector
      named begFrom Lnet/minecraft/entity/ai/goal/WolfBegGoal;begFrom:Lnet/minecraft/entity/player/PlayerEntity;
      intermediary field_6383 Lnet/minecraft/class_1337;field_6383:Lnet/minecraft/class_1657;
      official b Lccl;b:Lcpw;
    • world

      private final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/entity/ai/goal/WolfBegGoal;world:Lnet/minecraft/server/world/ServerWorld;
      intermediary field_6381 Lnet/minecraft/class_1337;field_6381:Lnet/minecraft/class_3218;
      official c Lccl;c:Lash;
    • begDistance

      private final float begDistance
      Mappings:
      Namespace Name Mixin selector
      named begDistance Lnet/minecraft/entity/ai/goal/WolfBegGoal;begDistance:F
      intermediary field_6380 Lnet/minecraft/class_1337;field_6380:F
      official d Lccl;d:F
    • timer

      private int timer
      Mappings:
      Namespace Name Mixin selector
      named timer Lnet/minecraft/entity/ai/goal/WolfBegGoal;timer:I
      intermediary field_6382 Lnet/minecraft/class_1337;field_6382:I
      official e Lccl;e:I
    • validPlayerPredicate

      private final TargetPredicate validPlayerPredicate
      Mappings:
      Namespace Name Mixin selector
      named validPlayerPredicate Lnet/minecraft/entity/ai/goal/WolfBegGoal;validPlayerPredicate:Lnet/minecraft/entity/ai/TargetPredicate;
      intermediary field_18085 Lnet/minecraft/class_1337;field_18085:Lnet/minecraft/class_4051;
      official f Lccl;f:Lcgw;
  • Constructor Details

    • WolfBegGoal

      public WolfBegGoal(WolfEntity wolf, float begDistance)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/WolfBegGoal;<init>(Lnet/minecraft/entity/passive/WolfEntity;F)V
      intermediary <init> Lnet/minecraft/class_1337;<init>(Lnet/minecraft/class_1493;F)V
      official <init> Lccl;<init>(Lciz;F)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      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 Lcdd;b()Z
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class Goal
      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 Lcdd;c()Z
    • start

      public void start()
      Overrides:
      start in class Goal
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      official d Lcdd;d()V
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      official e Lcdd;e()V
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      official a Lcdd;a()V
    • isAttractive

      private boolean isAttractive(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named isAttractive Lnet/minecraft/entity/ai/goal/WolfBegGoal;isAttractive(Lnet/minecraft/entity/player/PlayerEntity;)Z
      intermediary method_6244 Lnet/minecraft/class_1337;method_6244(Lnet/minecraft/class_1657;)Z
      official a Lccl;a(Lcpw;)Z