Contents
Class WildernessConfig
java.lang.Object
com.hypixel.hytale.builtin.adventure.wilderness.WildernessConfig
Represents the configuration settings for wilderness tracking.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<WildernessConfig> static final WildernessConfigstatic final booleanstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WildernessConfiggetOrDefault(World world) intGet the horizontal chunk radius around an owned player home marker that will be considered 'near home'.intGet the vertical chunk radius around an owned player home marker that will be considered 'near home'.intGet the horizontal chunk radius to track wilderness chunks around a player.intGet the vertical chunk radius to track wilderness chunks around a player.intGet the horizontal chunk radius around an unowned player home marker that will be considered 'near home'.intGet the vertical chunk radius around an unowned player home marker that will be considered 'near home'.boolean
-
Field Details
-
ID
- See Also:
-
HOME_CHUNK_RADIUS_DISABLED
public static final int HOME_CHUNK_RADIUS_DISABLED- See Also:
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLED- See Also:
-
DEFAULT_HOME_RADIUS_CHUNKS_OWNED
public static final int DEFAULT_HOME_RADIUS_CHUNKS_OWNED- See Also:
-
DEFAULT_HOME_RADIUS_Y_CHUNKS_OWNED
public static final int DEFAULT_HOME_RADIUS_Y_CHUNKS_OWNED- See Also:
-
DEFAULT_HOME_RADIUS_CHUNKS_UNOWNED
public static final int DEFAULT_HOME_RADIUS_CHUNKS_UNOWNED- See Also:
-
DEFAULT_HOME_RADIUS_Y_CHUNKS_UNOWNED
public static final int DEFAULT_HOME_RADIUS_Y_CHUNKS_UNOWNED- See Also:
-
DEFAULT_PLAYER_RADIUS_CHUNKS
public static final int DEFAULT_PLAYER_RADIUS_CHUNKS- See Also:
-
DEFAULT_PLAYER_RADIUS_Y_CHUNKS
public static final int DEFAULT_PLAYER_RADIUS_Y_CHUNKS- See Also:
-
DEFAULT
-
CODEC
-
-
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
-