net.minecraft.world.entity.ai.behavior

public class DismountOrSkipMounting<E extends LivingEntity, T extends Entity>

extends Behavior<E>

avo
net.minecraft.world.entity.ai.behavior.DismountOrSkipMounting
net.minecraft.class_4812
net.minecraft.unmapped.C_gvwpvxxk
net.minecraft.entity.ai.brain.task.RidingTask
net.minecraft.src.C_579_
net.minecraft.world.entity.ai.behavior.BehaviorStopRiding

Field summary

Modifier and TypeField
private final int
a
maxWalkDistToRideTarget
field_22300
f_phtamfof
range
f_22824_
private final BiPredicate<E, Entity>
c
dontRideIf
field_22301
f_hbacbtho
alternativeRideCondition
f_22825_

Constructor summary

ModifierConstructor
public (int range, BiPredicate<E, Entity> alternativeRideCondition)

Method summary

Modifier and TypeMethod
protected boolean
a(abr arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
m_pwowjghk(C_bdwnwhiu arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_22831_, E arg1)
private boolean
a(E arg0, atg arg1)
isVehicleValid(E arg0, Entity arg1)
method_24575(E arg0, class_1297 arg1)
m_mmnnxthn(E arg0, C_astfners arg1)
canRideTarget(E entity, Entity target)
m_22836_(E p_22838_, C_507_ arg1)
protected void
a(abr arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_18920(class_3218 arg0, E arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_22834_, E p_22835_, long arg2)