net.minecraft.world.entity.ai.behavior

public class JumpOnBed

extends Behavior<Mob>

All mapped superinterfaces:

BehaviorControl

biq
net.minecraft.world.entity.ai.behavior.JumpOnBed
net.minecraft.class_4245
net.minecraft.unmapped.C_xkvtqaln
net.minecraft.entity.ai.brain.task.JumpInBedTask
net.minecraft.entity.ai.brain.task.JumpInBedTask
net.minecraft.src.C_599_
net.minecraft.world.entity.ai.behavior.BehaviorBedJump

Field summary

Modifier and TypeField
private static final int
c
MAX_TIME_TO_REACH_BED
field_30128
f_fiabzmii
MAX_TICKS_OUT_OF_BED
MAX_TICKS_OUT_OF_BED
f_147588_
private static final int
d
MIN_JUMPS
field_30129
f_mcngalvd
MIN_JUMP_TICKS
MIN_JUMP_TICKS
f_147589_
private static final int
e
MAX_JUMPS
field_30130
f_zarrdqbl
JUMP_TIME_VARIANCE
JUMP_TIME_VARIANCE
f_147590_
private static final int
f
COOLDOWN_BETWEEN_JUMPS
field_30131
f_swlaygdo
TICKS_TO_NEXT_JUMP
TICKS_TO_NEXT_JUMP
f_147591_
private final float
g
speedModifier
field_18988
f_zfarwuzb
walkSpeed
walkSpeed
f_23329_
private BlockPos
h
targetBed
field_18989
f_nugjzcij
bedPos
bedPos
f_23330_
private int
i
remainingTimeToReachBed
field_18990
f_krazqnpg
ticksOutOfBedUntilStopped
ticksOutOfBedUntilStopped
f_23331_
private int
j
remainingJumps
field_18991
f_wcwdhdxy
jumpsRemaining
jumpsRemaining
f_23332_
private int
k
remainingCooldownUntilNextJump
field_18992
f_uceixglm
ticksToNextJump
ticksToNextJump
f_23333_

Constructor summary

ModifierConstructor
public (float walkSpeed)

Method summary

Modifier and TypeMethod
protected boolean
a(aif arg0, bgb arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_19971(class_3218 arg0, class_1308 arg1)
m_srcpnwkz(C_bdwnwhiu arg0, C_dxkfswlz arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
m_6114_(C_12_ p_23347_, C_526_ arg1)
protected void
a(aif arg0, bgb arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_19972(class_3218 arg0, class_1308 arg1, long arg2)
m_sitoijvy(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
m_6735_(C_12_ p_23350_, C_526_ p_23351_, long arg2)
protected void
b(aif arg0, bgb arg1, long arg2)
stop(ServerLevel arg0, Mob arg1, long arg2)
method_19976(class_3218 arg0, class_1308 arg1, long arg2)
m_agcwuxkn(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
finishRunning(ServerWorld arg0, MobEntity arg1, long arg2)
finishRunning(ServerWorld arg0, MobEntity arg1, long arg2)
m_6732_(C_12_ p_23373_, C_526_ p_23374_, long arg2)
protected boolean
c(aif arg0, bgb arg1, long arg2)
canStillUse(ServerLevel arg0, Mob arg1, long arg2)
method_19978(class_3218 arg0, class_1308 arg1, long arg2)
m_siyjgchn(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
m_6737_(C_12_ p_23384_, C_526_ p_23385_, 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
d(aif arg0, bgb arg1, long arg2)
tick(ServerLevel arg0, Mob arg1, long arg2)
method_19980(class_3218 arg0, class_1308 arg1, long arg2)
m_tceplbet(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
keepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
keepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
m_6725_(C_12_ p_23395_, C_526_ p_23396_, long arg2)
private void
a(bgb arg0, gu arg1)
startWalkingTowardsBed(Mob arg0, BlockPos arg1)
method_19970(class_1308 arg0, class_2338 arg1)
m_fbfyhbpx(C_dxkfswlz arg0, C_hynzadkk arg1)
setWalkTarget(MobEntity mob, BlockPos pos)
setWalkTarget(MobEntity mob, BlockPos pos)
m_23361_(C_526_ p_23363_, C_4675_ arg1)
private boolean
b(aif arg0, bgb arg1)
nearBed(ServerLevel arg0, Mob arg1)
method_19975(class_3218 arg0, class_1308 arg1)
m_qhpdzdda(C_bdwnwhiu arg0, C_dxkfswlz arg1)
shouldStartJumping(ServerWorld world, MobEntity mob)
shouldStartJumping(ServerWorld world, MobEntity mob)
m_23368_(C_12_ p_23370_, C_526_ arg1)
private boolean
c(aif arg0, bgb arg1)
onOrOverBed(ServerLevel arg0, Mob arg1)
method_19977(class_3218 arg0, class_1308 arg1)
m_btzudpbs(C_bdwnwhiu arg0, C_dxkfswlz arg1)
isAboveBed(ServerWorld world, MobEntity mob)
isAboveBed(ServerWorld world, MobEntity mob)
m_23379_(C_12_ p_23381_, C_526_ arg1)
private boolean
d(aif arg0, bgb arg1)
onBedSurface(ServerLevel arg0, Mob arg1)
method_19979(class_3218 arg0, class_1308 arg1)
m_vvhaqyfm(C_bdwnwhiu arg0, C_dxkfswlz arg1)
isOnBed(ServerWorld world, MobEntity mob)
isOnBed(ServerWorld world, MobEntity mob)
m_23390_(C_12_ p_23392_, C_526_ arg1)
private boolean
a(aif arg0, gu arg1)
isBed(ServerLevel arg0, BlockPos arg1)
method_19974(class_3218 arg0, class_2338 arg1)
m_zhwuwwla(C_bdwnwhiu arg0, C_hynzadkk arg1)
isBedAt(ServerWorld world, BlockPos pos)
isBedAt(ServerWorld world, BlockPos pos)
m_23356_(C_12_ p_23358_, C_4675_ arg1)
private Optional<BlockPos>
a(bgb arg0)
getNearestBed(Mob arg0)
method_19969(class_1308 arg0)
m_bacgmhpw(C_dxkfswlz arg0)
getNearestBed(MobEntity mob)
getNearestBed(MobEntity mob)
m_23359_(C_526_ arg0)
private boolean
e(aif arg0, bgb arg1)
tiredOfWalking(ServerLevel arg0, Mob arg1)
method_19981(class_3218 arg0, class_1308 arg1)
m_ypqqvufz(C_bdwnwhiu arg0, C_dxkfswlz arg1)
isBedGoneTooLong(ServerWorld world, MobEntity mob)
isBedGoneTooLong(ServerWorld world, MobEntity mob)
m_23397_(C_12_ p_23399_, C_526_ arg1)
private boolean
f(aif arg0, bgb arg1)
tiredOfJumping(ServerLevel arg0, Mob arg1)
method_19982(class_3218 arg0, class_1308 arg1)
m_pskdergg(C_bdwnwhiu arg0, C_dxkfswlz arg1)
isDoneJumping(ServerWorld world, MobEntity mob)
isDoneJumping(ServerWorld world, MobEntity mob)
m_23400_(C_12_ p_23402_, C_526_ arg1)