类 Settings<T extends Settings<T>>
java.lang.Object
net.minecraft.server.dedicated.Settings<T>
- 直接已知子类:
DedicatedServerProperties
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected Properties
dispatchNumberOrString
(IntFunction<V> p_139851_, Function<String, V> p_139852_) protected boolean
protected int
protected long
protected String
protected <V> V
protected <V> V
get
(String p_139827_, Function<String, V> p_139828_, UnaryOperator<V> p_139829_, Function<V, String> p_139830_, V p_139831_) protected <V> V
protected int
get
(String p_139833_, UnaryOperator<Integer> p_139834_, int p_139835_) protected <V> V
protected Boolean
getLegacyBoolean
(String p_139860_) protected String
getLegacyString
(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 String
getStringRaw
(String p_139879_) static Properties
loadFromFile
(Path p_139840_) protected abstract T
reload
(RegistryAccess p_139857_, Properties p_139858_) void
wrapNumberDeserializer
(Function<String, V> p_139842_)
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
properties
-
-
构造器详细资料
-
Settings
-
-
方法详细资料
-
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
-