Class PickupWantedItemTask<E extends LivingEntity>

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

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

    • predicate

      private final Predicate<E extends LivingEntity> predicate
    • maxDistToWalk

      private final int maxDistToWalk
    • speedModifier

      private final float speedModifier
  • Constructor Details

    • PickupWantedItemTask

      public PickupWantedItemTask(float p_i231520_1_, boolean p_i231520_2_, int p_i231520_3_)
    • PickupWantedItemTask

      public PickupWantedItemTask(Predicate<E> p_i231521_1_, float p_i231521_2_, boolean p_i231521_3_, int p_i231521_4_)
  • Method Details