Class ConfigGroupImpl
java.lang.Object
net.ixdarklord.coolcatcore.internal.config.ConfigNodeImpl
net.ixdarklord.coolcatcore.internal.config.ConfigGroupImpl
- All Implemented Interfaces:
ConfigGroup, ConfigNode
-
Constructor Summary
ConstructorsConstructorDescriptionConfigGroupImpl(String key, @Nullable ConfigGroupImpl parent, List<String> comment, @Nullable String translationKey, boolean hidden) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ConfigNodeImpl node) @Nullable ConfigNodeImplchildren()Stream<ConfigValue<?>> values()Every value in this group and its nested groups, depth first.Methods inherited from class ConfigNodeImpl
comment, config, configOrNull, displayName, isHidden, key, parent, path, prettify, translationKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigGroup
isRootMethods inherited from interface ConfigNode
comment, config, displayName, isHidden, key, parent, path, translationKey
-
Constructor Details
-
ConfigGroupImpl
public ConfigGroupImpl(String key, @Nullable @Nullable ConfigGroupImpl parent, List<String> comment, @Nullable @Nullable String translationKey, boolean hidden)
-
-
Method Details
-
add
-
children
- Specified by:
childrenin interfaceConfigGroup
-
child
- Specified by:
childin interfaceConfigGroup
-
values
Description copied from interface:ConfigGroupEvery value in this group and its nested groups, depth first.- Specified by:
valuesin interfaceConfigGroup
-