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
official bol$a
intermediary net/minecraft/class_3986$class_3987
named net/minecraft/entity/passive/TraderLlamaEntity$DefendTraderGoal
  • Field Details

    • llama

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

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

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

    • DefendTraderGoal

      public DefendTraderGoal(LlamaEntity llama)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbol$a;<init>(Lbog;)V
      intermediary <init> Lnet/minecraft/class_3986$class_3987;<init>(Lnet/minecraft/class_1501;)V
      named <init> Lnet/minecraft/entity/passive/TraderLlamaEntity$DefendTraderGoal;<init>(Lnet/minecraft/entity/passive/LlamaEntity;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lbhs;a()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
    • start

      public void start()
      Overrides:
      start in class TrackTargetGoal
      Mappings:
      Namespace Name Mixin selector
      official c Lbhs;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V