类 CatEntity.TemptGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TemptGoal
-
- net.minecraft.entity.passive.CatEntity.TemptGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private CatEntitycatprivate @Nullable PlayerEntityplayer-
从类继承的字段 net.minecraft.entity.ai.goal.TemptGoal
closestPlayer, mob
-
-
构造器概要
构造器 构造器 说明 TemptGoal(CatEntity cat, double speed, Ingredient food, boolean canBeScared)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected booleancanBeScared()booleancanStart()voidtick()-
从类继承的方法 net.minecraft.entity.ai.goal.TemptGoal
isActive, shouldContinue, start, stop
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
字段详细资料
-
player
@Nullable private @Nullable PlayerEntity player
- Mappings:
Namespace Name Mixin selector official cLbdc$c;c:Lbjf;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
private final CatEntity cat
- Mappings:
Namespace Name Mixin selector official dLbdc$c;d:Lbdc;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;
-
-
构造器详细资料
-
TemptGoal
public TemptGoal(CatEntity cat, double speed, Ingredient food, boolean canBeScared)
- Mappings:
Namespace Name Mixin selector official <init>Lbdc$c;<init>(Lbdc;DLbsg;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
-
-
方法详细资料
-
tick
public void tick()
-
canBeScared
protected boolean canBeScared()
- 覆盖:
canBeScared在类中TemptGoal- Mappings:
Namespace Name Mixin selector official gLazx;g()Zintermediary method_16081Lnet/minecraft/class_1391;method_16081()Znamed canBeScaredLnet/minecraft/entity/ai/goal/TemptGoal;canBeScared()Z
-
-