Class Configuration.SpawnChancesContainer

java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<Void>
dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
dev.satyrn.deepcavespiders.configuration.Configuration.SpawnChancesContainer
Enclosing class:
Configuration

public static class Configuration.SpawnChancesContainer extends dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
Container with difficulty-based spawning chances.
Since:
1.0-SNAPSHOT
Author:
Isabel Maskrey
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    value(@NotNull org.bukkit.Difficulty difficulty)
    Gets the value for a given world difficulty.

    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
  • Method Details

    • value

      public double value(@NotNull @NotNull org.bukkit.Difficulty difficulty)
      Gets the value for a given world difficulty.
      Parameters:
      difficulty - The world difficulty.
      Returns:
      The value for the given difficulty.