Package net.minecraft.entity.passive
Class CatEntity.SleepWithOwnerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.CatEntity.SleepWithOwnerGoal
- Enclosing class:
- CatEntity
static class CatEntity.SleepWithOwnerGoal extends Goal
- Mappings:
Namespace Name official bbm$b
intermediary net/minecraft/class_1451$class_3699
named net/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal
-
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 BlockPos
bedPos
private CatEntity
cat
private PlayerEntity
owner
private int
ticksOnBed
-
Constructor Summary
Constructors Constructor Description SleepWithOwnerGoal(CatEntity cat)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
private void
dropMorningGifts()
private boolean
method_16098()
boolean
shouldContinue()
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
cat
- Mappings:
Namespace Name Mixin selector official a
Lbbm$b;a:Lbbm;
intermediary field_16297
Lnet/minecraft/class_1451$class_3699;field_16297:Lnet/minecraft/class_1451;
named cat
Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
-
owner
- Mappings:
Namespace Name Mixin selector official b
Lbbm$b;b:Lbhl;
intermediary field_16295
Lnet/minecraft/class_1451$class_3699;field_16295:Lnet/minecraft/class_1657;
named owner
Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;owner:Lnet/minecraft/entity/player/PlayerEntity;
-
bedPos
- Mappings:
Namespace Name Mixin selector official c
Lbbm$b;c:Lfx;
intermediary field_16294
Lnet/minecraft/class_1451$class_3699;field_16294:Lnet/minecraft/class_2338;
named bedPos
Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;bedPos:Lnet/minecraft/util/math/BlockPos;
-
ticksOnBed
private int ticksOnBed- Mappings:
Namespace Name Mixin selector official d
Lbbm$b;d:I
intermediary field_16296
Lnet/minecraft/class_1451$class_3699;field_16296:I
named ticksOnBed
Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;ticksOnBed:I
-
-
Constructor Details
-
SleepWithOwnerGoal
- Mappings:
Namespace Name Mixin selector official <init>
Lbbm$b;<init>(Lbbm;)V
intermediary <init>
Lnet/minecraft/class_1451$class_3699;<init>(Lnet/minecraft/class_1451;)V
named <init>
Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;)V
-
-
Method Details
-
canStart
public boolean canStart() -
method_16098
private boolean method_16098()- Mappings:
Namespace Name Mixin selector official g
Lbbm$b;g()Z
intermediary method_16098
Lnet/minecraft/class_1451$class_3699;method_16098()Z
named method_16098
Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;method_16098()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classGoal
- Mappings:
Namespace Name Mixin selector official b
Lawx;b()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
named shouldContinue
Lnet/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 h
Lbbm$b;h()V
intermediary method_16097
Lnet/minecraft/class_1451$class_3699;method_16097()V
named dropMorningGifts
Lnet/minecraft/entity/passive/CatEntity$SleepWithOwnerGoal;dropMorningGifts()V
-
tick
public void tick()
-