net.minecraft.world.entity.ai.behavior

public class SleepInBed

extends Behavior<LivingEntity>

All mapped superinterfaces:

BehaviorControl

bng
net.minecraft.world.entity.ai.behavior.SleepInBed
net.minecraft.class_4123
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
c
COOLDOWN_AFTER_BEING_WOKEN
field_30175
RUN_TIME
f_147968_
private long
d
nextOkStartTime
field_18848
startTime
f_24149_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(akq arg0, bjg arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
m_6114_(C_12_ p_24155_, C_524_ arg1)
protected boolean
a(akq arg0, bjg 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)
m_6737_(C_12_ p_24162_, C_524_ p_24163_, long arg2)
protected void
d(akq arg0, bjg 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)
m_6735_(C_12_ p_24158_, C_524_ p_24159_, long arg2)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
isTimeLimitExceeded(long arg0)
m_7773_(long arg0)
protected void
b(akq arg0, bjg 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)
m_6732_(C_12_ p_24166_, C_524_ p_24167_, long arg2)