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$OcelotTemptGoalintermediary net/minecraft/class_3701$class_3703official cfs$b
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.TemptGoal
closestPlayer, mob -
Constructor Summary
ConstructorsConstructorDescriptionOcelotTemptGoal(OcelotEntity ocelot, double speed, Predicate<ItemStack> foodPredicate, boolean canBeScared) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.TemptGoal
canStart, isActive, shouldContinue, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
ocelot
- Mappings:
Namespace Name Mixin selector named ocelotLnet/minecraft/entity/passive/OcelotEntity$OcelotTemptGoal;ocelot:Lnet/minecraft/entity/passive/OcelotEntity;intermediary field_16304Lnet/minecraft/class_3701$class_3703;field_16304:Lnet/minecraft/class_3701;official cLcfs$b;c:Lcfs;
-
-
Constructor Details
-
OcelotTemptGoal
public 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)Vintermediary <init>Lnet/minecraft/class_3701$class_3703;<init>(Lnet/minecraft/class_3701;DLjava/util/function/Predicate;Z)Vofficial <init>Lcfs$b;<init>(Lcfs;DLjava/util/function/Predicate;Z)V
-
-
Method Details
-
canBeScared
protected boolean canBeScared()- Overrides:
canBeScaredin classTemptGoal- Mappings:
Namespace Name Mixin selector named canBeScaredLnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Zintermediary method_16081Lnet/minecraft/class_1391;method_16081()Zofficial hLcbu;h()Z
-