Class Configuration.SpawnRangeContainer
java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<Void>
dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
dev.satyrn.deepcavespiders.configuration.Configuration.SpawnRangeContainer
- Enclosing class:
- Configuration
public static class Configuration.SpawnRangeContainer
extends dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
Container with spawning height range options.
- Since:
- 1.0-SNAPSHOT
- Author:
- Isabel Maskrey
-
Field Summary
Modifier and TypeFieldDescriptionfinal dev.satyrn.papermc.api.configuration.v1.BooleanNode
Allows spiders to spawn below the minimum Y value.final dev.satyrn.papermc.api.configuration.v1.IntegerNode
The maximum Y value to spawn at.final dev.satyrn.papermc.api.configuration.v1.IntegerNode
The minimum Y value to spawn at. -
Method Summary
Methods inherited from class dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
defaultValue, value
Methods inherited from class dev.satyrn.papermc.api.configuration.v1.ConfigurationNode
getConfig, getName, getPath, getPath, getPlugin, toString
-
Field Details
-
minY
public final transient dev.satyrn.papermc.api.configuration.v1.IntegerNode minYThe minimum Y value to spawn at. -
maxY
public final transient dev.satyrn.papermc.api.configuration.v1.IntegerNode maxYThe maximum Y value to spawn at. -
allowSpawnsBelowMinY
public final transient dev.satyrn.papermc.api.configuration.v1.BooleanNode allowSpawnsBelowMinYAllows spiders to spawn below the minimum Y value. This is useful for customizing the ramp function; spawns below the minimum Y value will always use the maximum spawn chance set in the configuration file.
-