Schnittstelle Setting
- Alle bekannten Unterschnittstellen:
BooleanSetting, EnumSetting<T>, VersionedBooleanSetting
public interface Setting
Base setting class.
- Siehe auch:
-
Methodenübersicht
-
Methodendetails
-
name
net.minecraft.network.chat.Component name()The name of the setting. This is the name displayed in the settings menu.- Gibt zurück:
- The name of the setting
-
write
void write(com.google.gson.JsonObject object) Writes the setting to the given JsonObject.- Parameter:
object- The JsonObject to write to
-
read
void read(com.google.gson.JsonObject object) Reads the setting from the given JsonObject.- Parameter:
object- The JsonObject to read from
-