Package net.minecraft.server.dedicated
Class PropertyManager<T extends PropertyManager<T>>
java.lang.Object
net.minecraft.server.dedicated.PropertyManager<T>
- Direct Known Subclasses:
ServerProperties
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Loggerprivate final Properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertiesdispatchNumberOrString(IntFunction<V> p_218964_0_, Function<String, V> p_218964_1_) protected booleanprotected intprotected longprotected Stringprotected <V> Vget(String p_218983_1_, Function<String, V> p_218983_2_, Function<V, String> p_218983_3_, V p_218983_4_) protected <V> Vget(String p_218977_1_, Function<String, V> p_218977_2_, UnaryOperator<V> p_218977_3_, Function<V, String> p_218977_4_, V p_218977_5_) protected <V> Vprotected intget(String p_218962_1_, UnaryOperator<Integer> p_218962_2_, int p_218962_3_) protected <V> Vprotected BooleangetLegacyBoolean(String p_218978_1_) protected StringgetLegacyString(String p_218980_1_) protected PropertyManager<T>.Property<Boolean>getMutable(String p_218961_1_, boolean p_218961_2_) protected PropertyManager<T>.Property<Integer>getMutable(String p_218974_1_, int p_218974_2_) protected <V> PropertyManager<T>.Property<V>getMutable(String p_218981_1_, Function<String, V> p_218981_2_, Function<V, String> p_218981_3_, V p_218981_4_) protected <V> PropertyManager<T>.Property<V>getMutable(String p_218965_1_, Function<String, V> p_218965_2_, V p_218965_3_) private StringgetStringRaw(String p_218976_1_) static PropertiesloadFromFile(Path p_218969_0_) protected abstract Treload(DynamicRegistries p_241881_1_, Properties p_241881_2_) voidwrapNumberDeserializer(Function<String, V> p_218963_0_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
properties
-
-
Constructor Details
-
PropertyManager
-
-
Method Details
-
loadFromFile
-
store
-
wrapNumberDeserializer
-
dispatchNumberOrString
protected static <V> Function<String,V> dispatchNumberOrString(IntFunction<V> p_218964_0_, Function<String, V> p_218964_1_) -
getStringRaw
-
getLegacy
-
get
-
getMutable
-
get
-
get
-
getMutable
-
get
-
getLegacyString
-
get
-
getMutable
-
get
-
get
-
get
-
getMutable
-
getLegacyBoolean
-
cloneProperties
-
reload
-