net.minecraft.world.entity.ai.behavior

public class SleepInBed

extends Behavior<LivingEntity>

bfc
net.minecraft.world.entity.ai.behavior.SleepInBed
net.minecraft.class_4123
net.minecraft.unmapped.C_slwvdbsp
net.minecraft.entity.ai.brain.task.SleepTask
net.minecraft.entity.ai.brain.task.SleepTask
net.minecraft.src.C_631_
net.minecraft.world.entity.ai.behavior.BehaviorSleep

Field summary

Modifier and TypeField
public static final int
a
COOLDOWN_AFTER_BEING_WOKEN
field_30175
f_wvffzozr
RUN_TIME
RUN_TIME
f_147968_
private long
d
nextOkStartTime
field_18848
f_bslmemfg
startTime
startTime
f_24149_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, bbf arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
m_pwowjghk(C_bdwnwhiu arg0, C_usxaxydn arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_24155_, C_524_ arg1)
protected boolean
b(afo arg0, bbf arg1, long arg2)
canStillUse(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18927(class_3218 arg0, class_1309 arg1, long arg2)
m_xvrvizlg(C_bdwnwhiu arg0, C_usxaxydn arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6737_(C_12_ p_24162_, C_524_ p_24163_, long arg2)
protected void
a(afo arg0, bbf arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, C_usxaxydn arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6735_(C_12_ p_24158_, C_524_ p_24159_, long arg2)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
m_eghfkoeo(long arg0)
isTimeLimitExceeded(long arg0)
isTimeLimitExceeded(long arg0)
m_7773_(long arg0)
protected void
c(afo arg0, bbf arg1, long arg2)
stop(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18926(class_3218 arg0, class_1309 arg1, long arg2)
m_copsxmjv(C_bdwnwhiu arg0, C_usxaxydn arg1, long arg2)
finishRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
finishRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
m_6732_(C_12_ p_24166_, C_524_ p_24167_, long arg2)