Package net.minecraft.entity.passive
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
- Mappings:
Namespace Name official btq$a
intermediary net/minecraft/class_3986$class_3987
named net/minecraft/entity/passive/TraderLlamaEntity$DefendTraderGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Field Details
-
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
- 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
- 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() -
start
public void start()- Overrides:
start
in classTrackTargetGoal
- 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
-