net.minecraft.server.dedicated

public abstract class Settings<T extends Settings<T>>

agr
net.minecraft.server.dedicated.Settings
net.minecraft.class_3808
net.minecraft.server.dedicated.AbstractPropertiesHandler
net.minecraft.src.C_5413_
net.minecraft.server.dedicated.PropertyManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_16849
LOGGER
f_139797_
protected final Properties
Y
properties
field_16848
properties
f_139798_

Constructor summary

ModifierConstructor
public (Properties properties)

Method summary

Modifier and TypeMethod
public static Properties
b(Path arg0)
loadFromFile(Path arg0)
method_16727(Path arg0)
loadProperties(Path path)
m_139839_(Path p_139840_)
public void
c(Path arg0)
store(Path arg0)
method_16728(Path arg0)
saveProperties(Path path)
m_139876_(Path arg0)
private static <V extends Number> Function<String, V>
a(Function<String, V> arg0)
wrapNumberDeserializer(Function<String, V> arg0)
method_16721(Function<String, V> arg0)
wrapNumberParser(Function<String, V> parser)
m_139841_(Function<String, V> p_139842_)
protected static <V> Function<String, V>
a(IntFunction<V> arg0, Function<String, V> arg1)
dispatchNumberOrString(IntFunction<V> arg0, Function<String, V> arg1)
method_16722(IntFunction<V> arg0, Function<String, V> arg1)
combineParser(IntFunction<V> intParser, Function<String, V> fallbackParser)
m_139850_(IntFunction<V> p_139851_, Function<String, V> p_139852_)
private String
c(String arg0)
getStringRaw(String arg0)
method_16734(String arg0)
getStringValue(String key)
m_139878_(String arg0)
protected <V> V
a(String arg0, Function<String, V> arg1)
getLegacy(String arg0, Function<String, V> arg1)
method_16742(String arg0, Function<String, V> arg1)
getDeprecated(String key, Function<String, V> stringifier)
m_139814_(String p_139816_, Function<String, V> arg1)
protected <V> V
a(String arg0, Function<String, V> arg1, Function<V, String> arg2, V arg3)
get(String arg0, Function<String, V> arg1, Function<V, String> arg2, V arg3)
method_16741(String arg0, Function<String, V> arg1, Function<V, String> arg2, V arg3)
get(String key, Function<String, V> parser, Function<V, String> stringifier, V fallback)
m_139821_(String p_139823_, Function<String, V> p_139824_, Function<V, String> p_139825_, V arg3)
protected <V> Settings<T>.MutableValue<V>
b(String arg0, Function<String, V> arg1, Function<V, String> arg2, V arg3)
getMutable(String arg0, Function<String, V> arg1, Function<V, String> arg2, V arg3)
method_16724(String arg0, Function<String, V> arg1, Function<V, String> arg2, V arg3)
accessor(String key, Function<String, V> parser, Function<V, String> stringifier, V fallback)
m_139868_(String p_139870_, Function<String, V> p_139871_, Function<V, String> p_139872_, V arg3)
protected <V> V
a(String arg0, Function<String, V> arg1, UnaryOperator<V> arg2, Function<V, String> arg3, V arg4)
get(String arg0, Function<String, V> arg1, UnaryOperator<V> arg2, Function<V, String> arg3, V arg4)
method_16735(String arg0, Function<String, V> arg1, UnaryOperator<V> arg2, Function<V, String> arg3, V arg4)
get(String key, Function<String, V> parser, UnaryOperator<V> parsedTransformer, Function<V, String> stringifier, V fallback)
m_139826_(String p_139828_, Function<String, V> p_139829_, UnaryOperator<V> p_139830_, Function<V, String> p_139831_, V arg4)
protected <V> V
a(String arg0, Function<String, V> arg1, V arg2)
get(String arg0, Function<String, V> arg1, V arg2)
method_16737(String arg0, Function<String, V> arg1, V arg2)
get(String key, Function<String, V> parser, V fallback)
m_139817_(String p_139819_, Function<String, V> p_139820_, V arg2)
protected <V> Settings<T>.MutableValue<V>
b(String arg0, Function<String, V> arg1, V arg2)
getMutable(String arg0, Function<String, V> arg1, V arg2)
method_16730(String arg0, Function<String, V> arg1, V arg2)
accessor(String key, Function<String, V> parser, V fallback)
m_139864_(String p_139866_, Function<String, V> p_139867_, V arg2)
protected String
a(String arg0, String arg1)
get(String arg0, String arg1)
method_16732(String arg0, String arg1)
getString(String key, String fallback)
m_139811_(String p_139813_, String arg1)
protected String
a(String arg0)
getLegacyString(String arg0)
method_16738(String arg0)
getDeprecatedString(String key)
m_139803_(String arg0)
protected int
a(String arg0, int arg1)
get(String arg0, int arg1)
method_16726(String arg0, int arg1)
getInt(String key, int fallback)
m_139805_(String p_139807_, int arg1)
protected Settings<T>.MutableValue<Integer>
b(String arg0, int arg1)
getMutable(String arg0, int arg1)
method_16743(String arg0, int arg1)
intAccessor(String key, int fallback)
m_139861_(String p_139863_, int arg1)
protected int
a(String arg0, UnaryOperator<Integer> arg1, int arg2)
get(String arg0, UnaryOperator<Integer> arg1, int arg2)
method_16720(String arg0, UnaryOperator<Integer> arg1, int arg2)
transformedParseInt(String key, UnaryOperator<Integer> transformer, int fallback)
m_139832_(String p_139834_, UnaryOperator<Integer> p_139835_, int arg2)
protected long
a(String arg0, long arg1)
get(String arg0, long arg1)
method_16725(String arg0, long arg1)
parseLong(String key, long fallback)
m_139808_(String p_139810_, long arg1)
protected boolean
a(String arg0, boolean arg1)
get(String arg0, boolean arg1)
method_16740(String arg0, boolean arg1)
parseBoolean(String key, boolean fallback)
m_139836_(String p_139838_, boolean arg1)
protected Settings<T>.MutableValue<Boolean>
b(String arg0, boolean arg1)
getMutable(String arg0, boolean arg1)
method_16744(String arg0, boolean arg1)
booleanAccessor(String key, boolean fallback)
m_139873_(String p_139875_, boolean arg1)
protected Boolean
b(String arg0)
getLegacyBoolean(String arg0)
method_16736(String arg0)
getDeprecatedBoolean(String key)
m_139859_(String arg0)
protected Properties
a()
cloneProperties()
method_16723()
copyProperties()
m_139802_()
protected abstract T
b(hn arg0, Properties arg1)
reload(RegistryAccess arg0, Properties arg1)
method_16739(class_5455 arg0, Properties arg1)
create(DynamicRegistryManager registryManager, Properties properties)
m_6764_(C_4706_ p_139858_, Properties arg1)