Class BreedGoal

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

public class BreedGoal extends Goal
Mappings:
Namespace Name
official yt
intermediary net/minecraft/class_889
named net/minecraft/entity/ai/goal/BreedGoal
  • Field Details

    • animal

      private AnimalEntity animal
      Mappings:
      Namespace Name Mixin selector
      official d Lyt;d:Labq;
      intermediary field_3472 Lnet/minecraft/class_889;field_3472:Lnet/minecraft/class_942;
      named animal Lnet/minecraft/entity/ai/goal/BreedGoal;animal:Lnet/minecraft/entity/passive/AnimalEntity;
    • world

      World world
      Mappings:
      Namespace Name Mixin selector
      official a Lyt;a:Laqu;
      intermediary field_3469 Lnet/minecraft/class_889;field_3469:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/entity/ai/goal/BreedGoal;world:Lnet/minecraft/world/World;
    • mate

      private AnimalEntity mate
      Mappings:
      Namespace Name Mixin selector
      official e Lyt;e:Labq;
      intermediary field_3473 Lnet/minecraft/class_889;field_3473:Lnet/minecraft/class_942;
      named mate Lnet/minecraft/entity/ai/goal/BreedGoal;mate:Lnet/minecraft/entity/passive/AnimalEntity;
    • timer

      int timer
      Mappings:
      Namespace Name Mixin selector
      official b Lyt;b:I
      intermediary field_3470 Lnet/minecraft/class_889;field_3470:I
      named timer Lnet/minecraft/entity/ai/goal/BreedGoal;timer:I
    • chance

      double chance
      Mappings:
      Namespace Name Mixin selector
      official c Lyt;c:D
      intermediary field_6839 Lnet/minecraft/class_889;field_6839:D
      named chance Lnet/minecraft/entity/ai/goal/BreedGoal;chance:D
  • Constructor Details

    • BreedGoal

      public BreedGoal(AnimalEntity animal, double chance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyt;<init>(Labq;D)V
      intermediary <init> Lnet/minecraft/class_889;<init>(Lnet/minecraft/class_942;D)V
      named <init> Lnet/minecraft/entity/ai/goal/BreedGoal;<init>(Lnet/minecraft/entity/passive/AnimalEntity;D)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      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()
      Overrides:
      shouldContinue in class Goal
      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
    • stop

      public void stop()
      Overrides:
      stop in class Goal
      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()
      Overrides:
      tick in class Goal
      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
    • findMate

      private AnimalEntity findMate()
      Mappings:
      Namespace Name Mixin selector
      official f Lyt;f()Labq;
      intermediary method_2737 Lnet/minecraft/class_889;method_2737()Lnet/minecraft/class_942;
      named findMate Lnet/minecraft/entity/ai/goal/BreedGoal;findMate()Lnet/minecraft/entity/passive/AnimalEntity;
    • breed

      private void breed()
      Mappings:
      Namespace Name Mixin selector
      official g Lyt;g()V
      intermediary method_2738 Lnet/minecraft/class_889;method_2738()V
      named breed Lnet/minecraft/entity/ai/goal/BreedGoal;breed()V