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

    Fields
    Modifier and Type
    Field
    Description
    final 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • minY

      public final transient dev.satyrn.papermc.api.configuration.v1.IntegerNode minY
      The minimum Y value to spawn at.
    • maxY

      public final transient dev.satyrn.papermc.api.configuration.v1.IntegerNode maxY
      The maximum Y value to spawn at.
    • allowSpawnsBelowMinY

      public final transient dev.satyrn.papermc.api.configuration.v1.BooleanNode allowSpawnsBelowMinY
      Allows 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.