Package net.minecraft.entity.passive
Class CatEntity.TemptGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TemptGoal
net.minecraft.entity.passive.CatEntity.TemptGoal
- Enclosing class:
- CatEntity
- Mappings:
Namespace Name official bea$c
intermediary net/minecraft/class_1451$class_3700
named net/minecraft/entity/passive/CatEntity$TemptGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.TemptGoal
closestPlayer, mob
-
Constructor Summary
ConstructorDescriptionTemptGoal(CatEntity cat, double speed, Ingredient food, boolean canBeScared)
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.TemptGoal
isActive, shouldContinue, start, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
player
- Mappings:
Namespace Name Mixin selector official c
Lbea$c;c:Lbkd;
intermediary field_16298
Lnet/minecraft/class_1451$class_3700;field_16298:Lnet/minecraft/class_1657;
named player
Lnet/minecraft/entity/passive/CatEntity$TemptGoal;player:Lnet/minecraft/entity/player/PlayerEntity;
-
cat
- Mappings:
Namespace Name Mixin selector official d
Lbea$c;d:Lbea;
intermediary field_17948
Lnet/minecraft/class_1451$class_3700;field_17948:Lnet/minecraft/class_1451;
named cat
Lnet/minecraft/entity/passive/CatEntity$TemptGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
-
-
Constructor Details
-
TemptGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbea$c;<init>(Lbea;DLbte;Z)V
intermediary <init>
Lnet/minecraft/class_1451$class_3700;<init>(Lnet/minecraft/class_1451;DLnet/minecraft/class_1856;Z)V
named <init>
Lnet/minecraft/entity/passive/CatEntity$TemptGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;DLnet/minecraft/recipe/Ingredient;Z)V
-
-
Method Details
-
tick
public void tick() -
canBeScared
protected boolean canBeScared()- Overrides:
canBeScared
in classTemptGoal
- Mappings:
Namespace Name Mixin selector official g
Lbav;g()Z
intermediary method_16081
Lnet/minecraft/class_1391;method_16081()Z
named canBeScared
Lnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Z
-
canStart
public boolean canStart()
-