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
static class CatEntity.TemptGoal extends TemptGoal
- Mappings:
Namespace Name official bbm$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 Modifier and Type Field Description private CatEntity
cat
private PlayerEntity
player
Fields inherited from class net.minecraft.entity.ai.goal.TemptGoal
closestPlayer, mob
-
Constructor Summary
Constructors Constructor Description TemptGoal(CatEntity cat, double speed, Ingredient food, boolean canBeScared)
-
Method Summary
Modifier and Type Method Description protected boolean
canBeScared()
boolean
canStart()
void
tick()
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
Lbbm$c;c:Lbhl;
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
Lbbm$c;d:Lbbm;
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>
Lbbm$c;<init>(Lbbm;DLbqk;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
Layh;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()
-