net.minecraft.world.entity.ai.behavior

public class SleepInBed

extends Behavior<LivingEntity>

All mapped superinterfaces:

BehaviorControl

cct
net.minecraft.world.entity.ai.behavior.SleepInBed
net.minecraft.class_4123

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(asi arg0, bys arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
protected boolean
a(asi arg0, bys arg1, long arg2)
canStillUse(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18927(class_3218 arg0, class_1309 arg1, long arg2)
protected void
d(asi arg0, bys arg1, long arg2)
start(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
protected void
b(asi arg0, bys arg1, long arg2)
stop(ServerLevel arg0, LivingEntity arg1, long arg2)
method_18926(class_3218 arg0, class_1309 arg1, long arg2)