Class RidingTask

java.lang.Object
net.minecraft.entity.ai.brain.task.RidingTask

public class RidingTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/RidingTask
intermediary net/minecraft/class_4812
official bve
  • 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
      named create Lnet/minecraft/entity/ai/brain/task/RidingTask;create(ILjava/util/function/BiPredicate;)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_46915 Lnet/minecraft/class_4812;method_46915(ILjava/util/function/BiPredicate;)Lnet/minecraft/class_7893;
      official a Lbve;a(ILjava/util/function/BiPredicate;)Lbuw;
    • canRideTarget

      private static boolean canRideTarget(LivingEntity entity, Entity vehicle, int range)
      Mappings:
      Namespace Name Mixin selector
      named canRideTarget Lnet/minecraft/entity/ai/brain/task/RidingTask;canRideTarget(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/Entity;I)Z
      intermediary method_24575 Lnet/minecraft/class_4812;method_24575(Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)Z
      official a Lbve;a(Lbtc;Lbsh;I)Z