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 brm$cintermediary net/minecraft/class_1451$class_3700named 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
FieldsFields inherited from class net.minecraft.entity.ai.goal.TemptGoal
closestPlayer, mob -
Constructor Summary
ConstructorsConstructorDescriptionTemptGoal(CatEntity cat, double speed, Ingredient food, boolean canBeScared) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.TemptGoal
isActive, shouldContinue, start, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
player
- Mappings:
Namespace Name Mixin selector official cLbrm$c;c:Lbym;intermediary field_16298Lnet/minecraft/class_1451$class_3700;field_16298:Lnet/minecraft/class_1657;named playerLnet/minecraft/entity/passive/CatEntity$TemptGoal;player:Lnet/minecraft/entity/player/PlayerEntity;
-
cat
- Mappings:
Namespace Name Mixin selector official dLbrm$c;d:Lbrm;intermediary field_17948Lnet/minecraft/class_1451$class_3700;field_17948:Lnet/minecraft/class_1451;named catLnet/minecraft/entity/passive/CatEntity$TemptGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
-
-
Constructor Details
-
TemptGoal
- Mappings:
Namespace Name Mixin selector official <init>Lbrm$c;<init>(Lbrm;DLcix;Z)Vintermediary <init>Lnet/minecraft/class_1451$class_3700;<init>(Lnet/minecraft/class_1451;DLnet/minecraft/class_1856;Z)Vnamed <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:
canBeScaredin classTemptGoal- Mappings:
Namespace Name Mixin selector official hLbob;h()Zintermediary method_16081Lnet/minecraft/class_1391;method_16081()Znamed canBeScaredLnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Z
-
canStart
public boolean canStart()
-