类 Settings<T extends Settings<T>>
java.lang.Object
net.minecraft.server.dedicated.Settings<T>
- 直接已知子类:
DedicatedServerProperties
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected Properties
dispatchNumberOrString
(IntFunction<V> pById, Function<String, V> pByName) protected boolean
protected int
protected long
protected String
protected <V> V
protected <V> V
get
(String pKey, Function<String, V> p_139828_, UnaryOperator<V> p_139829_, Function<V, String> pToString, V pValue) protected <V> V
protected int
get
(String pKey, UnaryOperator<Integer> p_139834_, int pValue) protected <V> V
protected Boolean
getLegacyBoolean
(String pKey) protected String
getLegacyString
(String p_139804_) protected Settings<T>.MutableValue<Boolean>
getMutable
(String pKey, boolean pValue) protected Settings<T>.MutableValue<Integer>
getMutable
(String pKey, int pValue) protected <V> Settings<T>.MutableValue<V>
protected <V> Settings<T>.MutableValue<V>
getMutable
(String pKey, Function<String, V> p_139866_, V pValue) private String
getStringRaw
(String pKey) static Properties
loadFromFile
(Path pPath) protected abstract T
reload
(RegistryAccess pRegistryAccess, Properties pProperties) void
wrapNumberDeserializer
(Function<String, V> pParseFunc)
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
properties
-
-
构造器详细资料
-
Settings
-
-
方法详细资料
-
loadFromFile
-
store
-
wrapNumberDeserializer
-
dispatchNumberOrString
protected static <V> Function<String,V> dispatchNumberOrString(IntFunction<V> pById, Function<String, V> pByName) -
getStringRaw
-
getLegacy
-
get
-
getMutable
-
get
-
get
-
getMutable
-
get
-
getLegacyString
-
get
-
getMutable
-
get
-
get
-
get
-
getMutable
-
getLegacyBoolean
-
cloneProperties
-
reload
-