Class DismountOrSkipMounting<E extends LivingEntity,T extends Entity>
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<E>
net.minecraft.world.entity.ai.behavior.DismountOrSkipMounting<E,T>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerLevel p_22830_, E p_22831_) private boolean
isVehicleValid
(E p_22837_, Entity p_22838_) protected void
start
(ServerLevel p_22833_, E p_22834_, long p_22835_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
maxWalkDistToRideTarget
private final int maxWalkDistToRideTarget -
dontRideIf
-
-
Constructor Details
-
DismountOrSkipMounting
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classBehavior<E extends LivingEntity>
-
isVehicleValid
-
start
- Overrides:
start
in classBehavior<E extends LivingEntity>
-