Class DefaultProperty.RGBColor
java.lang.Object
johnsmith.configoverhauled.impl.core.state.DefaultProperty<Integer>
johnsmith.configoverhauled.impl.core.state.DefaultProperty.Bounded<Integer>
johnsmith.configoverhauled.impl.core.state.DefaultProperty.RGBColor
- Enclosing class:
DefaultProperty<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class DefaultProperty
DefaultProperty.ARGBColor, DefaultProperty.Block, DefaultProperty.Blocks, DefaultProperty.Boolean, DefaultProperty.Bounded<T>, DefaultProperty.Double, DefaultProperty.Enum<E>, DefaultProperty.Float, DefaultProperty.Integer, DefaultProperty.Item, DefaultProperty.Items, DefaultProperty.List<E>, DefaultProperty.Long, DefaultProperty.RGBColor, DefaultProperty.StringNested classes/interfaces inherited from interface Property
Property.Listener -
Field Summary
Fields inherited from class DefaultProperty.Bounded
lowerBound, upperBound -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DefaultProperty.Bounded
buildFormattedCommentMethods inherited from class DefaultProperty
acceptAuthoritativeUpdate, addListener, appendDefaultValueComment, codec, comment, decodeValueFromNbt, defaultValue, descriptionTranslationKey, encodeValueToNbt, equals, get, getUniqueId, hashCode, invalidate, isDynamic, load, notifyChange, onDisconnect, onSync, parentGroup, removeListener, resourceName, save, scope, set, translationKey
-
Constructor Details
-
RGBColor
public RGBColor(String resourceName, Group group, ConfigScope scope, String comment, Integer defaultValue, boolean isDynamic)
-
-
Method Details
-
formatBound
- Overrides:
formatBoundin classDefaultProperty.Bounded<Integer>
-
validate
- Overrides:
validatein classDefaultProperty.Bounded<Integer>
-