net.minecraft.world.entity.ai.behavior

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

extends Behavior<E>

asb
net.minecraft.world.entity.ai.behavior.DismountOrSkipMounting
net.minecraft.class_4812
net.minecraft.entity.ai.brain.task.RidingTask
net.minecraft.entity.ai.brain.task.StopRidingEntityTask
net.minecraft.server.v1_16_R3.BehaviorStopRiding

Field summary

Modifier and TypeField
private final int
b
maxWalkDistToRideTarget
field_22300
range
field_233890_b_
private final BiPredicate<E, Entity>
c
dontRideIf
field_22301
alternativeRideCondition
field_233891_c_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(aag arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
func_212832_a_(ServerWorld arg0, E arg1)
private boolean
a(E arg0, aqa arg1)
isVehicleValid(E arg0, Entity arg1)
method_24575(E arg0, class_1297 arg1)
canRideTarget(E entity, Entity target)
func_233892_a_(E arg0, Entity arg1)
protected void
a(aag 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)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)