net.minecraft.server.dedicated

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

zk
net.minecraft.server.dedicated.Settings
net.minecraft.class_3808
net.minecraft.server.dedicated.AbstractPropertiesHandler
net.minecraft.server.dedicated.PropertyManager
net.minecraft.server.v1_16_R2.PropertyManager

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_16849
LOGGER
field_164440_a
private final Properties
b
properties
field_16848
properties
field_73672_b
properties

Constructor summary

ModifierConstructor
public (Properties properties)

Method summary

Modifier and TypeMethod
public static Properties
a(Path arg0)
loadFromFile(Path arg0)
method_16727(Path arg0)
loadProperties(Path path)
func_218969_b(Path arg0)
public void
b(Path arg0)
store(Path arg0)
method_16728(Path arg0)
saveProperties(Path path)
func_218970_c(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)
func_218963_a(Function<String, V> arg0)
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)
func_218964_a(IntFunction<V> arg0, Function<String, V> arg1)
private String
c(String arg0)
getStringRaw(String arg0)
method_16734(String arg0)
getStringValue(String key)
func_218976_c(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)
func_218984_a(String arg0, 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)
func_218983_a(String arg0, Function<String, V> arg1, Function<V, String> arg2, 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)
func_218981_b(String arg0, Function<String, V> arg1, Function<V, String> arg2, 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)
func_218977_a(String arg0, Function<String, V> arg1, UnaryOperator<V> arg2, Function<V, String> arg3, 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)
func_218979_a(String arg0, Function<String, V> arg1, 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)
func_218965_b(String arg0, Function<String, V> arg1, 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)
func_218973_a(String arg0, String arg1)
getString(String arg0, String arg1)
protected String
a(String arg0)
getLegacyString(String arg0)
method_16738(String arg0)
getDeprecatedString(String key)
func_218980_a(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)
func_218968_a(String arg0, int arg1)
getInt(String arg0, 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)
func_218974_b(String arg0, 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)
func_218962_a(String arg0, UnaryOperator<Integer> arg1, 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)
func_218967_a(String arg0, long arg1)
getLong(String arg0, 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)
func_218982_a(String arg0, boolean arg1)
getBoolean(String arg0, 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)
func_218961_b(String arg0, boolean arg1)
protected Boolean
b(String arg0)
getLegacyBoolean(String arg0)
method_16736(String arg0)
getDeprecatedBoolean(String key)
func_218978_b(String arg0)
protected Properties
a()
cloneProperties()
method_16723()
copyProperties()
func_218966_a()
protected abstract T
b(gn arg0, Properties arg1)
reload(RegistryAccess arg0, Properties arg1)
method_16739(class_5455 arg0, Properties arg1)
create(DynamicRegistryManager arg0, Properties arg1)
func_241881_b(DynamicRegistries arg0, Properties arg1)
reload(IRegistryCustom arg0, Properties arg1)