类 CatEntity.SleepWithOwnerGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.passive.CatEntity.SleepWithOwnerGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private BlockPosbedPosprivate CatEntitycatprivate PlayerEntityownerprivate intticksOnBed
-
构造器概要
构造器 构造器 说明 SleepWithOwnerGoal(CatEntity cat)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private booleancannotSleep()booleancanStart()private voiddropMorningGifts()booleanshouldContinue()voidstart()voidstop()voidtick()-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
字段详细资料
-
cat
private final CatEntity cat
- Mappings:
Namespace Name Mixin selector official aLbdc$b;a:Lbdc;intermediary field_16297Lnet/minecraft/class_1451$class_3699;field_16297:Lnet/minecraft/class_1451;named catLnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
-
owner
private PlayerEntity owner
- Mappings:
Namespace Name Mixin selector official bLbdc$b;b:Lbjf;intermediary field_16295Lnet/minecraft/class_1451$class_3699;field_16295:Lnet/minecraft/class_1657;named ownerLnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;owner:Lnet/minecraft/entity/player/PlayerEntity;
-
bedPos
private BlockPos bedPos
- Mappings:
Namespace Name Mixin selector official cLbdc$b;c:Lgb;intermediary field_16294Lnet/minecraft/class_1451$class_3699;field_16294:Lnet/minecraft/class_2338;named bedPosLnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;bedPos:Lnet/minecraft/util/math/BlockPos;
-
ticksOnBed
private int ticksOnBed
- Mappings:
Namespace Name Mixin selector official dLbdc$b;d:Iintermediary field_16296Lnet/minecraft/class_1451$class_3699;field_16296:Inamed ticksOnBedLnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;ticksOnBed:I
-
-
构造器详细资料
-
SleepWithOwnerGoal
public SleepWithOwnerGoal(CatEntity cat)
- Mappings:
Namespace Name Mixin selector official <init>Lbdc$b;<init>(Lbdc;)Vintermediary <init>Lnet/minecraft/class_1451$class_3699;<init>(Lnet/minecraft/class_1451;)Vnamed <init>Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;)V
-
-
方法详细资料
-
canStart
public boolean canStart()
-
cannotSleep
private boolean cannotSleep()
- Mappings:
Namespace Name Mixin selector official gLbdc$b;g()Zintermediary method_16098Lnet/minecraft/class_1451$class_3699;method_16098()Znamed cannotSleepLnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;cannotSleep()Z
-
shouldContinue
public boolean shouldContinue()
- 覆盖:
shouldContinue在类中Goal- Mappings:
Namespace Name Mixin selector official bLayq;b()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start()
-
stop
public void stop()
-
dropMorningGifts
private void dropMorningGifts()
- Mappings:
Namespace Name Mixin selector official hLbdc$b;h()Vintermediary method_16097Lnet/minecraft/class_1451$class_3699;method_16097()Vnamed dropMorningGiftsLnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;dropMorningGifts()V
-
-