Class GhastEntity.LookAtTargetGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.GhastEntity.LookAtTargetGoal
Enclosing class:
GhastEntity

private static class GhastEntity.LookAtTargetGoal extends Goal
Mappings:
Namespace Name
named net/minecraft/entity/mob/GhastEntity$LookAtTargetGoal
intermediary net/minecraft/class_1571$class_1572
official cjz$a
  • Field Details

    • ghast

      private final GhastEntity ghast
      Mappings:
      Namespace Name Mixin selector
      named ghast Lnet/minecraft/entity/mob/GhastEntity$LookAtTargetGoal;ghast:Lnet/minecraft/entity/mob/GhastEntity;
      intermediary field_7274 Lnet/minecraft/class_1571$class_1572;field_7274:Lnet/minecraft/class_1571;
      official a Lcjz$a;a:Lcjz;
  • Constructor Details

    • LookAtTargetGoal

      public LookAtTargetGoal(GhastEntity ghast)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/GhastEntity$LookAtTargetGoal;<init>(Lnet/minecraft/entity/mob/GhastEntity;)V
      intermediary <init> Lnet/minecraft/class_1571$class_1572;<init>(Lnet/minecraft/class_1571;)V
      official <init> Lcjz$a;<init>(Lcjz;)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 Lcap;a()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_ Lcap;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 Lcap;e()V