Class ArrowsOfDecayEffectLevelConfiguration
java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<Void>
dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
dev.satyrn.archersofdecay.configuration.container.ArrowsOfDecayEffectLevelConfiguration
public final class ArrowsOfDecayEffectLevelConfiguration
extends dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
The configuration of the effect level applied to arrows fired by wither skeleton archers.
- Since:
- 0.0.0-SNAPSHOT
- Author:
- Isabel Maskrey
-
Constructor Summary
ConstructorsConstructorDescriptionArrowsOfDecayEffectLevelConfiguration
(@NotNull dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer parent, @NotNull String name) Creates a new Arrows of Decay configuration section. -
Method Summary
Modifier and TypeMethodDescriptionint
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
-
Constructor Details
-
ArrowsOfDecayEffectLevelConfiguration
public ArrowsOfDecayEffectLevelConfiguration(@NotNull @NotNull dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer parent, @NotNull @NotNull String name) Creates a new Arrows of Decay 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.
-