Klasse SettingGroup
java.lang.Object
com.viaversion.viafabricplus.api.settings.SettingGroup
This class represents a group of settings. It is used to group settings in the settings screen.
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungnet.minecraft.network.chat.ComponentgetName()getSetting(String translationKey) Returns a setting by its translation key.List<AbstractSetting<?>> This list is used to store the settings of this group.
-
Konstruktordetails
-
SettingGroup
public SettingGroup(net.minecraft.network.chat.Component name)
-
-
Methodendetails
-
getSettings
This list is used to store the settings of this group. It should not be touched directly by developers. The list gets filled automatically when creating a new setting (seeAbstractSetting).- Gibt zurück:
- The list of settings.
-
getSetting
Returns a setting by its translation key.- Parameter:
translationKey- The translation key of the setting.- Gibt zurück:
- The setting or null if no setting with the given translation key was found.
-
getName
public net.minecraft.network.chat.Component getName()
-