net.minecraft.world.entity.ai.behavior

public class JumpOnBed

extends Behavior<Mob>

asq
net.minecraft.world.entity.ai.behavior.JumpOnBed
net.minecraft.class_4245
net.minecraft.entity.ai.brain.task.JumpInBedTask
net.minecraft.entity.ai.brain.task.JumpOnBedTask
net.minecraft.server.v1_16_R3.BehaviorBedJump

Field summary

Modifier and TypeField
private final float
b
speedModifier
field_18988
walkSpeed
field_220470_a
private BlockPos
c
targetBed
field_18989
bedPos
field_220471_b
private int
d
remainingTimeToReachBed
field_18990
ticksOutOfBedUntilStopped
field_220472_c
private int
e
remainingJumps
field_18991
jumpsRemaining
field_220473_d
private int
f
remainingCooldownUntilNextJump
field_18992
ticksToNextJump
field_220474_e

Constructor summary

ModifierConstructor
public (float walkSpeed)

Method summary

Modifier and TypeMethod
protected boolean
a(aag arg0, aqn arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_19971(class_3218 arg0, class_1308 arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
func_212832_a_(ServerWorld arg0, MobEntity arg1)
protected void
a(aag arg0, aqn arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_19972(class_3218 arg0, class_1308 arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, MobEntity arg1, long arg2)
protected void
b(aag arg0, aqn arg1, long arg2)
stop(ServerLevel arg0, Mob arg1, long arg2)
method_19976(class_3218 arg0, class_1308 arg1, long arg2)
finishRunning(ServerWorld arg0, MobEntity arg1, long arg2)
func_212835_f_(ServerWorld arg0, MobEntity arg1, long arg2)
protected boolean
c(aag arg0, aqn arg1, long arg2)
canStillUse(ServerLevel arg0, Mob arg1, long arg2)
method_19978(class_3218 arg0, class_1308 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
func_212834_g_(ServerWorld arg0, MobEntity 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
d(aag arg0, aqn arg1, long arg2)
tick(ServerLevel arg0, Mob arg1, long arg2)
method_19980(class_3218 arg0, class_1308 arg1, long arg2)
keepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
func_212833_d_(ServerWorld arg0, MobEntity arg1, long arg2)
private void
a(aqn arg0, fx arg1)
startWalkingTowardsBed(Mob arg0, BlockPos arg1)
method_19970(class_1308 arg0, class_2338 arg1)
setWalkTarget(MobEntity mob, BlockPos pos)
func_220467_a(MobEntity arg0, BlockPos arg1)
private boolean
b(aag arg0, aqn arg1)
nearBed(ServerLevel arg0, Mob arg1)
method_19975(class_3218 arg0, class_1308 arg1)
shouldStartJumping(ServerWorld world, MobEntity mob)
func_220469_b(ServerWorld arg0, MobEntity arg1)
private boolean
c(aag arg0, aqn arg1)
onOrOverBed(ServerLevel arg0, Mob arg1)
method_19977(class_3218 arg0, class_1308 arg1)
isAboveBed(ServerWorld world, MobEntity mob)
func_220468_c(ServerWorld arg0, MobEntity arg1)
private boolean
d(aag arg0, aqn arg1)
onBedSurface(ServerLevel arg0, Mob arg1)
method_19979(class_3218 arg0, class_1308 arg1)
isOnBed(ServerWorld world, MobEntity mob)
func_220465_d(ServerWorld arg0, MobEntity arg1)
private boolean
a(aag arg0, fx arg1)
isBed(ServerLevel arg0, BlockPos arg1)
method_19974(class_3218 arg0, class_2338 arg1)
isBedAt(ServerWorld world, BlockPos pos)
func_220466_a(ServerWorld arg0, BlockPos arg1)
private Optional<BlockPos>
a(aqn arg0)
getNearestBed(Mob arg0)
method_19969(class_1308 arg0)
getNearestBed(MobEntity mob)
func_220463_a(MobEntity arg0)
private boolean
e(aag arg0, aqn arg1)
tiredOfWalking(ServerLevel arg0, Mob arg1)
method_19981(class_3218 arg0, class_1308 arg1)
isBedGoneTooLong(ServerWorld world, MobEntity mob)
func_220464_e(ServerWorld arg0, MobEntity arg1)
private boolean
f(aag arg0, aqn arg1)
tiredOfJumping(ServerLevel arg0, Mob arg1)
method_19982(class_3218 arg0, class_1308 arg1)
isDoneJumping(ServerWorld world, MobEntity mob)
func_220462_f(ServerWorld arg0, MobEntity arg1)