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 btq$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 Lbtq$a;a:Lbtl;
      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 Lbtq$a;b:Lbfx;
      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 Lbtq$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> Lbtq$a;<init>(Lbtl;)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 Lbmt;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 Lbmt;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V