Schnittstelle VersionedBooleanSetting
- Alle Superschnittstellen:
BooleanSetting, Setting
Boolean setting that can be enabled or disabled for specific protocol versions.
- Siehe auch:
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanisActive(com.viaversion.viaversion.api.protocol.version.ProtocolVersion version) Checks if the setting is active for the given protocol version.booleanvalue()The value of the setting.com.viaversion.viaversion.api.protocol.version.ProtocolVersionRangeThe version range the setting is valid for.Von Schnittstelle geerbte Methoden BooleanSetting
defaultValue, isActive, setActive
-
Methodendetails
-
versionRange
com.viaversion.viaversion.api.protocol.version.ProtocolVersionRange versionRange()The version range the setting is valid for.- Gibt zurück:
- the version range
-
isActive
boolean isActive(com.viaversion.viaversion.api.protocol.version.ProtocolVersion version) Checks if the setting is active for the given protocol version.- Parameter:
version- the protocol version- Gibt zurück:
- true if the setting is active, false otherwise
-
value
boolean value()The value of the setting.- Gibt zurück:
- the value of the setting
-