Class DefaultSchedules

java.lang.Object
me.gamercoder215.mobchip.ai.schedule.DefaultSchedules

public final class DefaultSchedules extends Object
Represents Built-In MC Schedules
  • Field Details

    • EMPTY

      public static final Schedule EMPTY
      Represents an Empty Schedule
    • SIMPLE

      public static final Schedule SIMPLE
      Represents a Simple Schedule with working at 5,000 ticks and resting at 11,000 ticks.
    • VILLAGER

      public static final Schedule VILLAGER
      Represents an Adult Villager's default schedule.
    • BABY_VILLAGER

      public static final Schedule BABY_VILLAGER
      Represents a Baby Villager's default schedule.
  • Method Details

    • get

      @NotNull public static @NotNull Schedule get(@Nullable @Nullable String id)
      Fetches a Schedule from the Minecraft registrar.
      Parameters:
      id - ID of the Schedule
      Returns:
      Schedule found, or EMPTY if not found