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 SummaryFieldsFields inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoalrandomInterval, target, targetConditions, targetTypeFields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoalmob, mustSee, targetMob, unseenMemoryTicks
- 
Constructor SummaryConstructorsConstructorDescriptionNonTameRandomTargetGoal(TamableAnimal p_26097_, Class<T> p_26098_, boolean p_26099_, Predicate<LivingEntity> p_26100_) 
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoalfindTarget, getTargetSearchArea, setTarget, startMethods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoalcanAttack, getFollowDistance, setUnseenMemoryTicks, stopMethods inherited from class net.minecraft.world.entity.ai.goal.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
- 
Field Details- 
tamableMob
 
- 
- 
Constructor Details- 
NonTameRandomTargetGoalpublic NonTameRandomTargetGoal(TamableAnimal p_26097_, Class<T> p_26098_, boolean p_26099_, @Nullable Predicate<LivingEntity> p_26100_) 
 
- 
- 
Method Details- 
canUsepublic boolean canUse()- Overrides:
- canUsein class- NearestAttackableTargetGoal<T extends LivingEntity>
 
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- TargetGoal
 
 
-