Class RunSometimesTask<E extends LivingEntity>

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

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

    • resetTicks

      private boolean resetTicks
    • wasRunning

      private boolean wasRunning
    • interval

      private final RangedInteger interval
    • wrappedBehavior

      private final Task<? super E extends LivingEntity> wrappedBehavior
    • ticksUntilNextStart

      private int ticksUntilNextStart
  • Constructor Details

    • RunSometimesTask

      public RunSometimesTask(Task<? super E> p_i231530_1_, RangedInteger p_i231530_2_)
    • RunSometimesTask

      public RunSometimesTask(Task<? super E> p_i231531_1_, boolean p_i231531_2_, RangedInteger p_i231531_3_)
  • Method Details