Class Configuration
java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<Void>
dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
dev.satyrn.deepcavespiders.configuration.Configuration
public final class Configuration
extends dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
Represents the configuration for the plugin.
- Since:
- 1.0-SNAPSHOT
- Author:
- Isabel Maskrey
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Container with difficulty-based spawning chances.static class
Container with spawning options.static class
Container with spawning height range options. -
Field Summary
Modifier and TypeFieldDescriptionfinal dev.satyrn.papermc.api.configuration.v2.EnumListNode<org.bukkit.block.Biome>
List of biomes in which cave spiders should be allowed to spawn.final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode
Whether to enable debug logging.final dev.satyrn.papermc.api.configuration.v2.EnumListNode<org.bukkit.World.Environment>
List of environments in which cave spiders should be allowed to spawn.final dev.satyrn.papermc.api.configuration.v1.StringNode
The locale to use for internationalization.final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode
Whether to enable plugin metrics.final dev.satyrn.papermc.api.configuration.v2.EnumListNode<org.bukkit.entity.EntityType>
List of entity types which may be replaced by cave spiders.The spawning options. -
Constructor Summary
ConstructorDescriptionConfiguration
(org.bukkit.plugin.Plugin plugin) Creates a new instance of the plugin configuration. -
Method Summary
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
-
Field Details
-
locale
public final transient dev.satyrn.papermc.api.configuration.v1.StringNode localeThe locale to use for internationalization. -
spawnOptions
The spawning options. -
biomes
public final transient dev.satyrn.papermc.api.configuration.v2.EnumListNode<org.bukkit.block.Biome> biomesList of biomes in which cave spiders should be allowed to spawn. -
environments
public final transient dev.satyrn.papermc.api.configuration.v2.EnumListNode<org.bukkit.World.Environment> environmentsList of environments in which cave spiders should be allowed to spawn. -
replaceEntities
public final dev.satyrn.papermc.api.configuration.v2.EnumListNode<org.bukkit.entity.EntityType> replaceEntitiesList of entity types which may be replaced by cave spiders. -
debug
@NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode debugWhether to enable debug logging. -
metrics
@NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode metricsWhether to enable plugin metrics.
-
-
Constructor Details
-
Configuration
public Configuration(org.bukkit.plugin.Plugin plugin) Creates a new instance of the plugin configuration.- Parameters:
plugin
- The plugin.
-