Class Goal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
Direct Known Subclasses:
AttackGoal, AvoidSunlightGoal, BlazeEntity.ShootFireballGoal, BreedGoal, class_2973, class_2978, class_3132, CreeperIgniteGoal, DoorInteractGoal, EatGrassGoal, EndermanEntity.PickUpBlockGoal, EndermanEntity.PlaceBlockGoal, EscapeDangerGoal, EscapeSunlightGoal, EvocationIllagerEntity.class_3150, EvocationIllagerEntity.class_3152, FindNearestEntityGoal, FindPlayerGoal, FleeEntityGoal, FollowGolemGoal, FollowOwnerGoal, FollowParentGoal, FormCaravanGoal, GhastEntity.FlyRandomlyGoal, GhastEntity.LookAtTargetGoal, GhastEntity.ShootFireballGoal, GoToEntityTargetGoal, GoToWalkTargetGoal, GuardianEntity.FireBeamGoal, HorseBondWithPlayerGoal, IronGolemLookGoal, LookAroundGoal, LookAtEntityGoal, MeleeAttackGoal, MoveThroughVillageGoal, MoveToTargetPosGoal, PounceAtTargetGoal, ProjectileAttackGoal, RestrictOpenDoorGoal, ShulkerEntity.class_2997, ShulkerEntity.class_3001, SilverfishEntity.CallForHelpGoal, SitGoal, SlimeEntity.FaceTowardTargetGoal, SlimeEntity.MoveGoal, SlimeEntity.RandomLookGoal, SlimeEntity.SwimmingGoal, SquidEntity.SwimGoal, StayIndoorsGoal, StopFollowingCustomerGoal, SwimGoal, TemptGoal, TrackTargetGoal, VexEntity.class_3043, VexEntity.class_3046, VillagerMatingGoal, WanderAroundGoal, WitherEntity.class_2995, WolfBegGoal

public abstract class Goal extends Object
Mappings:
Namespace Name
official ui
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 Lui;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 Lui;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 Lui;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 g Lui;g()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 Lui;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 Lui;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 Lui;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 Lui;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 h Lui;h()I
      intermediary method_2749 Lnet/minecraft/class_896;method_2749()I
      named getCategoryBits Lnet/minecraft/entity/ai/goal/Goal;getCategoryBits()I