Class SlimeEntity.FaceTowardTargetGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.SlimeEntity.FaceTowardTargetGoal
Enclosing class:
SlimeEntity

private static class SlimeEntity.FaceTowardTargetGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/mob/SlimeEntity$FaceTowardTargetGoal
intermediary net/minecraft/class_1621$class_1622
official cka$a
  • Field Details

    • slime

      private final SlimeEntity slime
      Mappings:
      Namespace Name Mixin selector
      named slime Lnet/minecraft/entity/mob/SlimeEntity$FaceTowardTargetGoal;slime:Lnet/minecraft/entity/mob/SlimeEntity;
      intermediary field_7393 Lnet/minecraft/class_1621$class_1622;field_7393:Lnet/minecraft/class_1621;
      official a Lcka$a;a:Lcka;
    • ticksLeft

      private int ticksLeft
      Mappings:
      Namespace Name Mixin selector
      named ticksLeft Lnet/minecraft/entity/mob/SlimeEntity$FaceTowardTargetGoal;ticksLeft:I
      intermediary field_7392 Lnet/minecraft/class_1621$class_1622;field_7392:I
      official b Lcka$a;b:I
  • Constructor Details

    • FaceTowardTargetGoal

      public FaceTowardTargetGoal(SlimeEntity slime)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/SlimeEntity$FaceTowardTargetGoal;<init>(Lnet/minecraft/entity/mob/SlimeEntity;)V
      intermediary <init> Lnet/minecraft/class_1621$class_1622;<init>(Lnet/minecraft/class_1621;)V
      official <init> Lcka$a;<init>(Lcka;)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 a Lcaa;a()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 c Lcaa;c()V
    • 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 b Lcaa;b()Z
    • shouldRunEveryTick

      public boolean shouldRunEveryTick()
      Returns if the goal should run every tick or not.

      This returns false by default. If this returns false, the goal will tick once after the entity is spawned, and will tick every other tick.

      Overrides:
      shouldRunEveryTick in class Goal
      Returns:
      if the goal should run every tick or not
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named shouldRunEveryTick Lnet/minecraft/entity/ai/goal/Goal;shouldRunEveryTick()Z
      intermediary method_38846 Lnet/minecraft/class_1352;method_38846()Z
      official R_ Lcaa;R_()Z
    • 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 e Lcaa;e()V