net.minecraft.world.entity.ai.behavior

public class SleepInBed

extends Behavior<LivingEntity>

All mapped superinterfaces:

BehaviorControl

caj
net.minecraft.world.entity.ai.behavior.SleepInBed
net.minecraft.class_4123
net.minecraft.entity.ai.brain.task.SleepTask
net.minecraft.world.entity.ai.behavior.BehaviorSleep

Field summary

Modifier and TypeField
public static final int
c
COOLDOWN_AFTER_BEING_WOKEN
field_30175
RUN_TIME
private long
d
nextOkStartTime
field_18848
startTime

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(ash arg0, bwg arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
protected boolean
a(ash arg0, bwg arg1, long arg2)
canStillUse(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18927(class_3218 arg0, class_1309 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
d(ash arg0, bwg arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
isTimeLimitExceeded(long arg0)
protected void
b(ash arg0, bwg arg1, long arg2)
stop(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18926(class_3218 arg0, class_1309 arg1, long arg2)
finishRunning(ServerWorld arg0, LivingEntity arg1, long arg2)