Class RideEntityTask<E extends LivingEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.RideEntityTask<E>

public class RideEntityTask<E extends LivingEntity> extends Task<E>
  • Field Details

    • speedModifier

      private final float speedModifier
  • Constructor Details

    • RideEntityTask

      public RideEntityTask(float p_i231524_1_)
  • Method Details

    • checkExtraStartConditions

      protected boolean checkExtraStartConditions(ServerWorld p_212832_1_, E p_212832_2_)
      Overrides:
      checkExtraStartConditions in class Task<E extends LivingEntity>
    • start

      protected void start(ServerWorld p_212831_1_, E p_212831_2_, long p_212831_3_)
      Overrides:
      start in class Task<E extends LivingEntity>
    • isCloseEnoughToStartRiding

      private boolean isCloseEnoughToStartRiding(E p_233925_1_)
    • getRidableEntity

      private Entity getRidableEntity(E p_233926_1_)