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
ConstructorsConstructorDescriptionBigIntegerNode(@NotNull ConfigurationNode<?> parent, @NotNull String name) Initializes a new Configuration node. -
Method Summary
Modifier and TypeMethodDescription@NotNull BigIntegerGets the default value of the node.final @NotNull BigIntegervalue()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:
valuein classConfigurationNode<BigInteger>- Returns:
- The value.
- Since:
- 1.3.0
-
defaultValue
Gets the default value of the node.Defaults to
ZERO.- Specified by:
defaultValuein classConfigurationNode<BigInteger>- Returns:
- The default value.
- Since:
- 1.3.0
-