net.minecraft.world.entity.ai.behavior

public class SleepInBed

extends Behavior<LivingEntity>

asg
net.minecraft.world.entity.ai.behavior.SleepInBed
net.minecraft.class_4123
net.minecraft.entity.ai.brain.task.SleepTask
net.minecraft.entity.ai.brain.task.SleepAtHomeTask
net.minecraft.server.v1_16_R1.BehaviorSleep

Field summary

Modifier and TypeField
private long
b
nextOkStartTime
field_18848
startTime
field_220552_a

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(zd arg0, aoy arg1)
checkExtraStartConditions(ServerLevel arg0, LivingEntity arg1)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
func_212832_a_(ServerWorld arg0, LivingEntity arg1)
protected boolean
b(zd arg0, aoy 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)
func_212834_g_(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
a(zd arg0, aoy 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)
func_212831_a_(ServerWorld arg0, LivingEntity arg1, long arg2)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
isTimeLimitExceeded(long arg0)
func_220383_a(long arg0)
protected void
c(zd arg0, aoy 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)
func_212835_f_(ServerWorld arg0, LivingEntity arg1, long arg2)