Class TraderLlamaEntity.DefendTraderGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.passive.TraderLlamaEntity.DefendTraderGoal
Enclosing class:
TraderLlamaEntity

protected static class TraderLlamaEntity.DefendTraderGoal extends TrackTargetGoal
Mappings:
Namespace Name
named net/minecraft/entity/passive/TraderLlamaEntity$DefendTraderGoal
intermediary net/minecraft/class_3986$class_3987
official chq$a
  • Field Details

    • llama

      private final LlamaEntity llama
      Mappings:
      Namespace Name Mixin selector
      named llama Lnet/minecraft/entity/passive/TraderLlamaEntity$DefendTraderGoal;llama:Lnet/minecraft/entity/passive/LlamaEntity;
      intermediary field_17718 Lnet/minecraft/class_3986$class_3987;field_17718:Lnet/minecraft/class_1501;
      official a Lchq$a;a:Lchl;
    • offender

      private LivingEntity offender
      Mappings:
      Namespace Name Mixin selector
      named offender Lnet/minecraft/entity/passive/TraderLlamaEntity$DefendTraderGoal;offender:Lnet/minecraft/entity/LivingEntity;
      intermediary field_17719 Lnet/minecraft/class_3986$class_3987;field_17719:Lnet/minecraft/class_1309;
      official b Lchq$a;b:Lbtn;
    • traderLastAttackedTime

      private int traderLastAttackedTime
      Mappings:
      Namespace Name Mixin selector
      named traderLastAttackedTime Lnet/minecraft/entity/passive/TraderLlamaEntity$DefendTraderGoal;traderLastAttackedTime:I
      intermediary field_17720 Lnet/minecraft/class_3986$class_3987;field_17720:I
      official c Lchq$a;c:I
  • Constructor Details

    • DefendTraderGoal

      public DefendTraderGoal(LlamaEntity llama)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/TraderLlamaEntity$DefendTraderGoal;<init>(Lnet/minecraft/entity/passive/LlamaEntity;)V
      intermediary <init> Lnet/minecraft/class_3986$class_3987;<init>(Lnet/minecraft/class_1501;)V
      official <init> Lchq$a;<init>(Lchl;)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 b Lcam;b()Z
    • start

      public void start()
      Overrides:
      start in class TrackTargetGoal
      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 d Lcam;d()V