Class ColonyConstants

java.lang.Object
com.minecolonies.api.util.constant.ColonyConstants

public final class ColonyConstants extends Object
Colony wide constants.
  • Field Details

    • DATA_VERSION

      public static final int DATA_VERSION
      The colony data version
      See Also:
    • DATA_VERSION_TAG

      public static final String DATA_VERSION_TAG
      See Also:
    • rand

      public static final Random rand
      Shared random
    • KEEP_LOADED_TYPE

      public static final net.minecraft.server.level.TicketType<net.minecraft.world.level.ChunkPos> KEEP_LOADED_TYPE
      Specific ticket type for minecolonies tickets.
    • CHECK_WAYPOINT_EVERY

      public static final int CHECK_WAYPOINT_EVERY
      Amount of ticks to wait until checking if a waypoint is still valid.
      See Also:
    • UPDATE_SUBSCRIBERS_INTERVAL

      public static final int UPDATE_SUBSCRIBERS_INTERVAL
      How often the subscribers get updated in ticks.
      See Also:
    • UPDATE_TRAVELING_INTERVAL

      public static final int UPDATE_TRAVELING_INTERVAL
      How often the travelers get updated in ticks.
      See Also:
    • UPDATE_STATE_INTERVAL

      public static final int UPDATE_STATE_INTERVAL
      How often the colony state gets updated in ticks.
      See Also:
    • UPDATE_RS_INTERVAL

      public static final int UPDATE_RS_INTERVAL
      How often the colony request system gets updated in ticks.
      See Also:
    • UPDATE_DAYTIME_INTERVAL

      public static final int UPDATE_DAYTIME_INTERVAL
      How often the colony updates day/nighttime in ticks.
      See Also:
    • MAX_COLONY_EVENTS

      public static final int MAX_COLONY_EVENTS
      Max amount of permission/colony events to store in the colony.
      See Also:
    • ARCHER_BARBARIANS_MULTIPLIER

      public static final double ARCHER_BARBARIANS_MULTIPLIER
      Barbarian Constants.
      See Also:
    • CHIEF_BARBARIANS_MULTIPLIER

      public static final double CHIEF_BARBARIANS_MULTIPLIER
      See Also:
    • SMALL_HORDE_MESSAGE_ID

      public static final int SMALL_HORDE_MESSAGE_ID
      Different horde ids and their sizes.
      See Also:
    • MEDIUM_HORDE_MESSAGE_ID

      public static final int MEDIUM_HORDE_MESSAGE_ID
      See Also:
    • BIG_HORDE_MESSAGE_ID

      public static final int BIG_HORDE_MESSAGE_ID
      See Also:
    • HUGE_HORDE_MESSAGE_ID

      public static final int HUGE_HORDE_MESSAGE_ID
      See Also:
    • SMALL_HORDE_SIZE

      public static final int SMALL_HORDE_SIZE
      See Also:
    • MEDIUM_HORDE_SIZE

      public static final int MEDIUM_HORDE_SIZE
      See Also:
    • BIG_HORDE_SIZE

      public static final int BIG_HORDE_SIZE
      See Also:
    • SMALL_SHIP

      public static final String SMALL_SHIP
      Pirate Constants.
      See Also:
    • MEDIUM_SHIP

      public static final String MEDIUM_SHIP
      See Also:
    • BIG_SHIP

      public static final String BIG_SHIP
      See Also:
    • ONE_HOUR_IN_MILLIS

      public static final long ONE_HOUR_IN_MILLIS
      See Also:
    • CHUNK_UNLOAD_DELAY

      public static final int CHUNK_UNLOAD_DELAY
      See Also:
    • EMPTY_SCOREBOARD

      public static final net.minecraft.world.scores.Scoreboard EMPTY_SCOREBOARD
      Empty scoreboard