Class RidingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.RidingTask
- Mappings:
Namespace Name official bia
intermediary net/minecraft/class_4812
named net/minecraft/entity/ai/brain/task/RidingTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
canRideTarget
(LivingEntity entity, Entity vehicle, int range) static <E extends LivingEntity>
Task<E>create
(int range, BiPredicate<E, Entity> alternativeRideCondition)
-
Constructor Details
-
RidingTask
public RidingTask()
-
-
Method Details
-
create
public static <E extends LivingEntity> Task<E> create(int range, BiPredicate<E, Entity> alternativeRideCondition) - Mappings:
Namespace Name Mixin selector official a
Lbia;a(ILjava/util/function/BiPredicate;)Lbhs;
intermediary method_46915
Lnet/minecraft/class_4812;method_46915(ILjava/util/function/BiPredicate;)Lnet/minecraft/class_7893;
named create
Lnet/minecraft/entity/ai/brain/task/RidingTask;create(ILjava/util/function/BiPredicate;)Lnet/minecraft/entity/ai/brain/task/Task;
-
canRideTarget
- Mappings:
Namespace Name Mixin selector official a
Lbia;a(Lbfz;Lbfj;I)Z
intermediary method_24575
Lnet/minecraft/class_4812;method_24575(Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)Z
named canRideTarget
Lnet/minecraft/entity/ai/brain/task/RidingTask;canRideTarget(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/Entity;I)Z
-