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
static class OcelotEntity.OcelotTemptGoal extends TemptGoal
- Mappings:
Namespace Name official bbv$b
intermediary net/minecraft/class_3701$class_3703
named net/minecraft/entity/passive/OcelotEntity$OcelotTemptGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private OcelotEntity
ocelot
Fields inherited from class net.minecraft.entity.ai.goal.TemptGoal
closestPlayer, mob
-
Constructor Summary
Constructors Constructor Description OcelotTemptGoal(OcelotEntity ocelot, double speed, Ingredient food, boolean canBeScared)
-
Method Summary
Modifier and Type Method Description protected boolean
canBeScared()
Methods inherited from class net.minecraft.entity.ai.goal.TemptGoal
canStart, isActive, shouldContinue, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
ocelot
- Mappings:
Namespace Name Mixin selector official c
Lbbv$b;c:Lbbv;
intermediary field_16304
Lnet/minecraft/class_3701$class_3703;field_16304:Lnet/minecraft/class_3701;
named ocelot
Lnet/minecraft/entity/passive/OcelotEntity$OcelotTemptGoal;ocelot:Lnet/minecraft/entity/passive/OcelotEntity;
-
-
Constructor Details
-
OcelotTemptGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbbv$b;<init>(Lbbv;DLbqk;Z)V
intermediary <init>
Lnet/minecraft/class_3701$class_3703;<init>(Lnet/minecraft/class_3701;DLnet/minecraft/class_1856;Z)V
named <init>
Lnet/minecraft/entity/passive/OcelotEntity$OcelotTemptGoal;<init>(Lnet/minecraft/entity/passive/OcelotEntity;DLnet/minecraft/recipe/Ingredient;Z)V
-
-
Method Details
-
canBeScared
protected boolean canBeScared()- Overrides:
canBeScared
in classTemptGoal
- Mappings:
Namespace Name Mixin selector official g
Layh;g()Z
intermediary method_16081
Lnet/minecraft/class_1391;method_16081()Z
named canBeScared
Lnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Z
-