Interface Setting
- All Known Subinterfaces:
BooleanSetting, EnumSetting<T>, VersionedBooleanSetting
public interface Setting
Base setting class.
- See Also:
-
Method Summary
-
Method Details
-
name
net.minecraft.network.chat.Component name()The name of the setting. This is the name displayed in the settings menu.- Returns:
- The name of the setting
-
write
void write(com.google.gson.JsonObject object) Writes the setting to the given JsonObject.- Parameters:
object- The JsonObject to write to
-
read
void read(com.google.gson.JsonObject object) Reads the setting from the given JsonObject.- Parameters:
object- The JsonObject to read from
-