Class NonTameRandomTargetGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.target.TargetGoal
net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal<T>
net.minecraft.world.entity.ai.goal.target.NonTameRandomTargetGoal<T>
- 
Nested Class Summary
 - 
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetTypeFields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks - 
Constructor Summary
ConstructorsConstructorDescriptionNonTameRandomTargetGoal(TamableAnimal p_26097_, Class<T> p_26098_, boolean p_26099_, Predicate<LivingEntity> p_26100_)  - 
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget, startMethods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks, stopMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString 
- 
Field Details
- 
tamableMob
 
 - 
 - 
Constructor Details
- 
NonTameRandomTargetGoal
public NonTameRandomTargetGoal(TamableAnimal p_26097_, Class<T> p_26098_, boolean p_26099_, @Nullable Predicate<LivingEntity> p_26100_)  
 - 
 - 
Method Details
- 
canUse
public boolean canUse()- Overrides:
 canUsein classNearestAttackableTargetGoal<T extends LivingEntity>
 - 
canContinueToUse
public boolean canContinueToUse()- Overrides:
 canContinueToUsein classTargetGoal
 
 -