Class Goal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
Direct Known Subclasses:
AttackGoal, AvoidSunlightGoal, BreedGoal, class_2632, class_2639, class_2640, class_2642, class_2644, class_2646, class_2647, class_2649, class_2655, class_2656, class_2657, class_2658, class_2660, CreeperIgniteGoal, DoorInteractGoal, EatGrassGoal, EscapeDangerGoal, EscapeSunlightGoal, FindNearestEntityGoal, FindPlayerGoal, FleeEntityGoal, FollowGolemGoal, FollowOwnerGoal, FollowParentGoal, FormCaravanGoal, GoToEntityTargetGoal, GoToWalkTargetGoal, HorseBondWithPlayerGoal, IronGolemLookGoal, LookAroundGoal, LookAtEntityGoal, MeleeAttackGoal, MoveThroughVillageGoal, MoveToTargetPosGoal, PlayerControlGoal, PounceAtTargetGoal, ProjectileAttackGoal, RestrictOpenDoorGoal, SitGoal, StayIndoorsGoal, StopFollowingCustomerGoal, SwimGoal, TemptGoal, TrackTargetGoal, VillagerMatingGoal, WanderAroundGoal, WolfBegGoal

public abstract class Goal extends Object
Mappings:
Namespace Name
official zb
intermediary net/minecraft/class_896
named net/minecraft/entity/ai/goal/Goal
  • Field Details

    • categoryBits

      private int categoryBits
      Mappings:
      Namespace Name Mixin selector
      official a Lzb;a:I
      intermediary field_3505 Lnet/minecraft/class_896;field_3505:I
      named categoryBits Lnet/minecraft/entity/ai/goal/Goal;categoryBits:I
  • Constructor Details

    • Goal

      public Goal()
  • Method Details

    • canStart

      public abstract boolean canStart()
      Mappings:
      Namespace Name Mixin selector
      official a Lzb;a()Z
      intermediary method_2742 Lnet/minecraft/class_896;method_2742()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • shouldContinue

      public boolean shouldContinue()
      Mappings:
      Namespace Name Mixin selector
      official b Lzb;b()Z
      intermediary method_2744 Lnet/minecraft/class_896;method_2744()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • canStop

      public boolean canStop()
      Mappings:
      Namespace Name Mixin selector
      official i Lzb;i()Z
      intermediary method_2748 Lnet/minecraft/class_896;method_2748()Z
      named canStop Lnet/minecraft/entity/ai/goal/Goal;canStop()Z
    • start

      public void start()
      Mappings:
      Namespace Name Mixin selector
      official c Lzb;c()V
      intermediary method_2747 Lnet/minecraft/class_896;method_2747()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      official d Lzb;d()V
      intermediary method_2745 Lnet/minecraft/class_896;method_2745()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official e Lzb;e()V
      intermediary method_2746 Lnet/minecraft/class_896;method_2746()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V
    • setCategoryBits

      public void setCategoryBits(int newBits)
      Mappings:
      Namespace Name Mixin selector
      official a Lzb;a(I)V
      intermediary method_2743 Lnet/minecraft/class_896;method_2743(I)V
      named setCategoryBits Lnet/minecraft/entity/ai/goal/Goal;setCategoryBits(I)V
    • getCategoryBits

      public int getCategoryBits()
      Mappings:
      Namespace Name Mixin selector
      official j Lzb;j()I
      intermediary method_2749 Lnet/minecraft/class_896;method_2749()I
      named getCategoryBits Lnet/minecraft/entity/ai/goal/Goal;getCategoryBits()I