Class ArrowsOfDecayEffectDurationConfiguration

java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<Void>
dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
dev.satyrn.archersofdecay.configuration.container.ArrowsOfDecayEffectDurationConfiguration

public final class ArrowsOfDecayEffectDurationConfiguration extends dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
The configuration of the effect duration applied to arrows fired by wither skeleton archers.
Since:
0.0.0-SNAPSHOT
Author:
Isabel Maskrey
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArrowsOfDecayEffectDurationConfiguration(@NotNull dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer parent, @NotNull String name)
    Creates a new Arrows of Decay effect duration configuration section.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    value(@NotNull org.bukkit.Difficulty difficulty)
    Gets the value for a specific 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
  • Constructor Details

    • ArrowsOfDecayEffectDurationConfiguration

      public ArrowsOfDecayEffectDurationConfiguration(@NotNull @NotNull dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer parent, @NotNull @NotNull String name)
      Creates a new Arrows of Decay effect duration configuration section.
      Parameters:
      parent - The parent container.
      name - The name of the container.
      Since:
      0.0.0-SNAPSHOT
  • Method Details

    • value

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