Class TraderLlama.TraderLlamaDefendWanderingTraderGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.target.TargetGoal
net.minecraft.world.entity.animal.horse.TraderLlama.TraderLlamaDefendWanderingTraderGoal
Enclosing class:
TraderLlama

protected static class TraderLlama.TraderLlamaDefendWanderingTraderGoal extends TargetGoal
  • Field Details

    • llama

      private final Llama llama
    • ownerLastHurtBy

      private LivingEntity ownerLastHurtBy
    • timestamp

      private int timestamp
  • Constructor Details

    • TraderLlamaDefendWanderingTraderGoal

      public TraderLlamaDefendWanderingTraderGoal(Llama p_149558_)
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • start

      public void start()
      Overrides:
      start in class TargetGoal