net.minecraft.world.entity.ai.behavior

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

extends Behavior<E>

bdw
net.minecraft.world.entity.ai.behavior.DismountOrSkipMounting
net.minecraft.class_4812
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
range
f_22824_
private final BiPredicate<E, Entity>
d
dontRideIf
field_22301
alternativeRideCondition
f_22825_

Constructor summary

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

Method summary

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