net.minecraft.world.entity.ai.behavior

public class Swim

extends Behavior<Mob>

All mapped superinterfaces:

BehaviorControl

byd
net.minecraft.world.entity.ai.behavior.Swim
net.minecraft.class_4125
net.minecraft.unmapped.C_pkbiozsh
net.minecraft.entity.ai.brain.task.StayAboveWaterTask
net.minecraft.entity.ai.brain.task.StayAboveWaterTask
net.minecraft.src.C_642_
net.minecraft.world.entity.ai.behavior.BehaviorStrollPlaceList

Field summary

Modifier and TypeField
private final float
c
chance
field_18387
f_oinmnhoy
chance
chance
f_24381_

Constructor summary

ModifierConstructor
public (float chance)

Method summary

Modifier and TypeMethod
public static boolean
a(bts arg0)
shouldSwim(Mob arg0)
method_55700(class_1308 arg0)
m_dzyfdmkj(C_dxkfswlz arg0)
isUnderwater(MobEntity entity)
shouldRun(MobEntity entity)
m_319678_(C_526_ p_327994_)
protected boolean
a(arf arg0, bts arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_19010(class_3218 arg0, class_1308 arg1)
m_mkynwmxr(C_bdwnwhiu arg0, C_dxkfswlz arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
shouldRun(ServerWorld world, MobEntity arg1)
m_6114_(C_12_ p_24389_, C_526_ arg1)
protected boolean
a(arf arg0, bts arg1, long arg2)
canStillUse(ServerLevel arg0, Mob arg1, long arg2)
method_19011(class_3218 arg0, class_1308 arg1, long arg2)
m_jikhxxfv(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
shouldKeepRunning(ServerWorld world, MobEntity arg1, long arg2)
m_6737_(C_12_ p_24392_, C_526_ p_24393_, long arg2)
protected void
b(arf arg0, bts arg1, long arg2)
tick(ServerLevel arg0, Mob arg1, long arg2)
method_19012(class_3218 arg0, class_1308 arg1, long arg2)
m_eijxsyxn(C_bdwnwhiu arg0, C_dxkfswlz arg1, long arg2)
keepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
keepRunning(ServerWorld world, MobEntity arg1, long arg2)
m_6725_(C_12_ p_24400_, C_526_ p_24401_, long arg2)