net.minecraft.world.entity.ai.behavior

public class Swim

extends Behavior<Mob>

ant
net.minecraft.world.entity.ai.behavior.Swim
net.minecraft.class_4125
net.minecraft.entity.ai.brain.task.StayAboveWaterTask
net.minecraft.entity.ai.brain.task.SwimTask
net.minecraft.server.v1_15_R1.BehaviorSwim

Field summary

Modifier and TypeField
private final float
a
height
field_18386
minWaterHeight
field_220589_a
private final float
b
chance
field_18387
chance
field_220590_b

Constructor summary

ModifierConstructor
public (float minWaterHeight, float chance)

Method summary

Modifier and TypeMethod
protected boolean
a(xd arg0, ala arg1)
checkExtraStartConditions(ServerLevel arg0, Mob arg1)
method_19010(class_3218 arg0, class_1308 arg1)
shouldRun(ServerWorld arg0, MobEntity arg1)
func_212832_a_(ServerWorld arg0, MobEntity arg1)
protected boolean
a(xd arg0, ala arg1, long arg2)
canStillUse(ServerLevel arg0, Mob arg1, long arg2)
method_19011(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 void
b(xd arg0, ala arg1, long arg2)
tick(ServerLevel arg0, Mob arg1, long arg2)
method_19012(class_3218 arg0, class_1308 arg1, long arg2)
keepRunning(ServerWorld arg0, MobEntity arg1, long arg2)
func_212833_d_(ServerWorld arg0, MobEntity arg1, long arg2)