Class RidingTask

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

public class RidingTask extends Object
Mappings:
Namespace Name
official bhy
intermediary net/minecraft/class_4812
named net/minecraft/entity/ai/brain/task/RidingTask
  • 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 Lbhy;a(ILjava/util/function/BiPredicate;)Lbhq;
      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

      private static boolean canRideTarget(LivingEntity entity, Entity vehicle, int range)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhy;a(Lbfx;Lbfh;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