Package net.minecraft.entity.passive
Class OcelotEntity.OcelotTemptGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.entity.passive.OcelotEntity.OcelotTemptGoal
- Enclosing class:
- OcelotEntity
- Mappings:
- Namespace - Name - named - net/minecraft/entity/passive/OcelotEntity$OcelotTemptGoal- intermediary - net/minecraft/class_3701$class_3703- official - chn$b
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.goal.GoalGoal.Control
- 
Field SummaryFieldsFields inherited from class net.minecraft.entity.ai.goal.TemptGoalclosestPlayer, mob
- 
Constructor SummaryConstructorsConstructorDescriptionOcelotTemptGoal(OcelotEntity ocelot, double speed, Predicate<ItemStack> foodPredicate, boolean canBeScared) 
- 
Method SummaryMethods inherited from class net.minecraft.entity.ai.goal.TemptGoalcanStart, isActive, shouldContinue, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.GoalcanStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
- 
Field Details- 
ocelot- Mappings:
- Namespace - Name - Mixin selector - named - ocelot- Lnet/minecraft/entity/passive/OcelotEntity$OcelotTemptGoal;ocelot:Lnet/minecraft/entity/passive/OcelotEntity;- intermediary - field_16304- Lnet/minecraft/class_3701$class_3703;field_16304:Lnet/minecraft/class_3701;- official - c- Lchn$b;c:Lchn;
 
 
- 
- 
Constructor Details- 
OcelotTemptGoalpublic OcelotTemptGoal(OcelotEntity ocelot, double speed, Predicate<ItemStack> foodPredicate, boolean canBeScared) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/passive/OcelotEntity$OcelotTemptGoal;<init>(Lnet/minecraft/entity/passive/OcelotEntity;DLjava/util/function/Predicate;Z)V- intermediary - <init>- Lnet/minecraft/class_3701$class_3703;<init>(Lnet/minecraft/class_3701;DLjava/util/function/Predicate;Z)V- official - <init>- Lchn$b;<init>(Lchn;DLjava/util/function/Predicate;Z)V
 
 
- 
- 
Method Details- 
canBeScaredprotected boolean canBeScared()- Overrides:
- canBeScaredin class- TemptGoal
- Mappings:
- Namespace - Name - Mixin selector - named - canBeScared- Lnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Z- intermediary - method_16081- Lnet/minecraft/class_1391;method_16081()Z- official - h- Lcdo;h()Z
 
 
-