Class TraderLlamaEntity.FollowTraderGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TargetGoal
-
- net.minecraft.entity.passive.horse.TraderLlamaEntity.FollowTraderGoal
-
- Enclosing class:
- TraderLlamaEntity
public class TraderLlamaEntity.FollowTraderGoal extends TargetGoal
-
-
Field Summary
Fields Modifier and Type Field Description private LlamaEntity
llama
private LivingEntity
ownerLastHurtBy
private int
timestamp
-
Fields inherited from class net.minecraft.entity.ai.goal.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
-
Constructor Summary
Constructors Constructor Description FollowTraderGoal(LlamaEntity p_i50458_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
void
start()
-
Methods inherited from class net.minecraft.entity.ai.goal.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
-
-
-
-
Field Detail
-
llama
private final LlamaEntity llama
-
ownerLastHurtBy
private LivingEntity ownerLastHurtBy
-
timestamp
private int timestamp
-
-
Constructor Detail
-
FollowTraderGoal
public FollowTraderGoal(LlamaEntity p_i50458_2_)
-
-
Method Detail
-
start
public void start()
- Overrides:
start
in classTargetGoal
-
-