Class MinMaxProperty<S extends SettingsSource.SourceType>
java.lang.Object
com.soulfiremc.server.settings.property.MinMaxProperty<S>
- All Implemented Interfaces:
Property<S>
@TypeAdapters
@Immutable
public abstract non-sealed class MinMaxProperty<S extends SettingsSource.SourceType>
extends Object
implements Property<S>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandisabled()abstract Stringkey()abstract MinMaxPropertyEntrymaxEntry()abstract intmaxValue()abstract MinMaxPropertyEntryminEntry()abstract intminValue()abstract StringintbooleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Property
sourceType, toProtoIdentifier
-
Constructor Details
-
MinMaxProperty
public MinMaxProperty()
-
-
Method Details
-
namespace
- Specified by:
namespacein interfaceProperty<S extends SettingsSource.SourceType>
-
key
- Specified by:
keyin interfaceProperty<S extends SettingsSource.SourceType>
-
minValue
public abstract int minValue() -
maxValue
public abstract int maxValue() -
stepValue
@Default public int stepValue() -
thousandSeparator
@Default public boolean thousandSeparator() -
minEntry
-
maxEntry
-
disabled
@Default public boolean disabled() -
defaultDataLayout
-