Class BigIntegerNode
java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<BigInteger>
dev.satyrn.papermc.api.configuration.v1.BigIntegerNode
- Direct Known Subclasses:
BigIntegerNode
Represents a configurable BigInteger value.
- Since:
- 1.9.0
- Author:
- Isabel Maskrey
-
Constructor Summary
ConstructorDescriptionBigIntegerNode
(@NotNull ConfigurationNode<?> parent, @NotNull String name) Initializes a new Configuration node. -
Method Summary
Modifier and TypeMethodDescription@NotNull BigInteger
Gets the default value of the node.final @NotNull BigInteger
value()
Gets the value of the node.Methods inherited from class dev.satyrn.papermc.api.configuration.v1.ConfigurationNode
addChild, equals, getBasePath, getBasePath, getChildren, getComments, getComments, getConfig, getInlineComments, getInlineComments, getLogger, getName, getPath, getPath, getPlugin, getPriority, getSLF4JLogger, getValueNodeName, getValuePath, getValuePath, hasChildren, hasName, isSubNode, save, setComments, setComments, setConfigValue, setInlineComments, setInlineComments, setValue, toString, toString
-
Constructor Details
-
BigIntegerNode
Initializes a new Configuration node.- Parameters:
parent
- The parent node.name
- The node name.- Since:
- 1.3.0
-
-
Method Details
-
value
Gets the value of the node.- Specified by:
value
in classConfigurationNode<BigInteger>
- Returns:
- The value.
- Since:
- 1.3.0
-
defaultValue
Gets the default value of the node.Defaults to
ZERO
.- Specified by:
defaultValue
in classConfigurationNode<BigInteger>
- Returns:
- The default value.
- Since:
- 1.3.0
-