Package net.pl3x.map.core.configuration
Class AbstractConfig
java.lang.Object
net.pl3x.map.core.configuration.AbstractConfig
- Direct Known Subclasses:
ColorsConfig,Config,Lang,PlayersLayerConfig,SpawnLayerConfig,WorldBorderLayerConfig,WorldConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfacestatic @interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectprotected @Nullable Objectprotected @Nullable Objectprotected @Nullable Objectorg.simpleyaml.configuration.file.YamlFileprotected @Nullable Objectprotected voidreload(Path path, Class<? extends AbstractConfig> clazz) protected voidsave()protected voidprotected voidsetComment(String path, @Nullable String comment)
-
Constructor Details
-
AbstractConfig
public AbstractConfig()
-
-
Method Details
-
getConfig
public org.simpleyaml.configuration.file.YamlFile getConfig() -
reload
-
save
protected void save() -
getClassObject
-
getValue
-
setComment
-
get
-
get
-
addToMap
-
set
-