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 named net/minecraft/entity/passive/CatEntity$TemptGoalintermediary net/minecraft/class_1451$class_3700official cfh$c
-
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
Constructors -
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 named playerLnet/minecraft/entity/passive/CatEntity$TemptGoal;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_16298Lnet/minecraft/class_1451$class_3700;field_16298:Lnet/minecraft/class_1657;official cLcfh$c;c:Lcmx;
-
cat
- Mappings:
Namespace Name Mixin selector named catLnet/minecraft/entity/passive/CatEntity$TemptGoal;cat:Lnet/minecraft/entity/passive/CatEntity;intermediary field_17948Lnet/minecraft/class_1451$class_3700;field_17948:Lnet/minecraft/class_1451;official dLcfh$c;d:Lcfh;
-
-
Constructor Details
-
TemptGoal
public TemptGoal(CatEntity cat, double speed, Predicate<ItemStack> foodPredicate, boolean canBeScared) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/CatEntity$TemptGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;DLjava/util/function/Predicate;Z)Vintermediary <init>Lnet/minecraft/class_1451$class_3700;<init>(Lnet/minecraft/class_1451;DLjava/util/function/Predicate;Z)Vofficial <init>Lcfh$c;<init>(Lcfh;DLjava/util/function/Predicate;Z)V
-
-
Method Details
-
tick
public void tick() -
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
-
canStart
public boolean canStart()
-