Package net.minecraft.server.dedicated
Class Settings<T extends Settings<T>>
java.lang.Object
net.minecraft.server.dedicated.Settings<T>
- Direct Known Subclasses:
 DedicatedServerProperties
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprotected final Properties - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected PropertiesdispatchNumberOrString(IntFunction<V> p_139851_, Function<String, V> p_139852_) protected booleanprotected intprotected longprotected Stringprotected <V> Vprotected <V> Vget(String p_139827_, Function<String, V> p_139828_, UnaryOperator<V> p_139829_, Function<V, String> p_139830_, V p_139831_) protected <V> Vprotected intget(String p_139833_, UnaryOperator<Integer> p_139834_, int p_139835_) protected <V> Vprotected BooleangetLegacyBoolean(String p_139860_) protected StringgetLegacyString(String p_139804_) protected Settings<T>.MutableValue<Boolean>getMutable(String p_139874_, boolean p_139875_) protected Settings<T>.MutableValue<Integer>getMutable(String p_139862_, int p_139863_) protected <V> Settings<T>.MutableValue<V>getMutable(String p_139869_, Function<String, V> p_139870_, Function<V, String> p_139871_, V p_139872_) protected <V> Settings<T>.MutableValue<V>getMutable(String p_139865_, Function<String, V> p_139866_, V p_139867_) private StringgetStringRaw(String p_139879_) static PropertiesloadFromFile(Path p_139840_) protected abstract Treload(RegistryAccess p_139857_, Properties p_139858_) voidwrapNumberDeserializer(Function<String, V> p_139842_)  
- 
Field Details
- 
LOGGER
private static final org.slf4j.Logger LOGGER - 
properties
 
 - 
 - 
Constructor Details
- 
Settings
 
 - 
 - 
Method Details
- 
loadFromFile
 - 
store
 - 
wrapNumberDeserializer
 - 
dispatchNumberOrString
protected static <V> Function<String,V> dispatchNumberOrString(IntFunction<V> p_139851_, Function<String, V> p_139852_)  - 
getStringRaw
 - 
getLegacy
 - 
get
 - 
getMutable
 - 
get
 - 
get
 - 
getMutable
 - 
get
 - 
getLegacyString
 - 
get
 - 
getMutable
 - 
get
 - 
get
 - 
get
 - 
getMutable
 - 
getLegacyBoolean
 - 
cloneProperties
 - 
reload
 
 -