Class WildernessConfig

java.lang.Object
com.hypixel.hytale.builtin.adventure.wilderness.WildernessConfig

public class WildernessConfig extends Object
Represents the configuration settings for wilderness tracking.
  • Field Details

  • Constructor Details

    • WildernessConfig

      public WildernessConfig()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns:
      flag indicating that wilderness tracking is enabled for the given world.
    • getOwnedHomeChunkRadius

      public int getOwnedHomeChunkRadius()
      Get the horizontal chunk radius around an owned player home marker that will be considered 'near home'.
      Returns:
      the radius of owned home chunks.
    • getOwnedHomeChunkRadiusY

      public int getOwnedHomeChunkRadiusY()
      Get the vertical chunk radius around an owned player home marker that will be considered 'near home'.
      Returns:
      the radius of owned home chunks.
    • getUnownedHomeChunkRadius

      public int getUnownedHomeChunkRadius()
      Get the horizontal chunk radius around an unowned player home marker that will be considered 'near home'.
      Returns:
      the radius of owned home chunks.
    • getUnownedHomeChunkRadiusY

      public int getUnownedHomeChunkRadiusY()
      Get the vertical chunk radius around an unowned player home marker that will be considered 'near home'.
      Returns:
      the radius of owned home chunks.
    • getPlayerTrackerChunkRadius

      public int getPlayerTrackerChunkRadius()
      Get the horizontal chunk radius to track wilderness chunks around a player.
      Returns:
      the horizontal chunk radius.
    • getPlayerTrackerChunkRadiusY

      public int getPlayerTrackerChunkRadiusY()
      Get the vertical chunk radius to track wilderness chunks around a player.
      Returns:
      the vertical chunk radius.
    • getOrDefault

      @Nonnull public static WildernessConfig getOrDefault(@Nonnull World world)