Package net.minecraft.server.dedicated
Class AbstractPropertiesHandler<T extends AbstractPropertiesHandler<T>>
java.lang.Object
net.minecraft.server.dedicated.AbstractPropertiesHandler<T>
- Direct Known Subclasses:
ServerPropertiesHandler
public abstract class AbstractPropertiesHandler<T extends AbstractPropertiesHandler<T>>
extends Object
- Mappings:
Namespace Name named net/minecraft/server/dedicated/AbstractPropertiesHandler
intermediary net/minecraft/class_3808
official aqf
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <V> AbstractPropertiesHandler<T>.PropertyAccessor
<V> protected <V> AbstractPropertiesHandler<T>.PropertyAccessor
<V> protected AbstractPropertiesHandler<T>.PropertyAccessor
<Boolean> booleanAccessor
(String key, boolean fallback) combineParser
(IntFunction<V> intParser, Function<String, V> fallbackParser) protected Properties
protected abstract T
create
(DynamicRegistryManager registryManager, Properties properties) Creates another property handler with the same type as this one from the passed new map of properties.protected <V> V
protected <V> V
get
(String key, Function<String, V> parser, UnaryOperator<V> parsedTransformer, Function<V, String> stringifier, V fallback) protected <V> V
protected <V> V
getDeprecated
(String key, Function<String, V> stringifier) protected int
protected String
getStringValue
(String key) protected AbstractPropertiesHandler<T>.PropertyAccessor
<Integer> intAccessor
(String key, int fallback) static Properties
loadProperties
(Path path) Loads a map of properties from thepath
.protected boolean
parseBoolean
(String key, boolean fallback) protected long
void
saveProperties
(Path path) Saves the properties of this handler to thepath
.protected int
transformedParseInt
(String key, UnaryOperator<Integer> transformer, int fallback) wrapNumberParser
(Function<String, V> parser)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;LOGGER:Lorg/slf4j/Logger;
intermediary field_16849
Lnet/minecraft/class_3808;field_16849:Lorg/slf4j/Logger;
official a
Laqf;a:Lorg/slf4j/Logger;
-
properties
- Mappings:
Namespace Name Mixin selector named properties
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;properties:Ljava/util/Properties;
intermediary field_16848
Lnet/minecraft/class_3808;field_16848:Ljava/util/Properties;
official ab
Laqf;ab:Ljava/util/Properties;
-
-
Constructor Details
-
AbstractPropertiesHandler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;<init>(Ljava/util/Properties;)V
intermediary <init>
Lnet/minecraft/class_3808;<init>(Ljava/util/Properties;)V
official <init>
Laqf;<init>(Ljava/util/Properties;)V
-
-
Method Details
-
loadProperties
Loads a map of properties from thepath
.- Mappings:
Namespace Name Mixin selector named loadProperties
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;loadProperties(Ljava/nio/file/Path;)Ljava/util/Properties;
intermediary method_16727
Lnet/minecraft/class_3808;method_16727(Ljava/nio/file/Path;)Ljava/util/Properties;
official b
Laqf;b(Ljava/nio/file/Path;)Ljava/util/Properties;
-
saveProperties
Saves the properties of this handler to thepath
.- Mappings:
Namespace Name Mixin selector named saveProperties
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;saveProperties(Ljava/nio/file/Path;)V
intermediary method_16728
Lnet/minecraft/class_3808;method_16728(Ljava/nio/file/Path;)V
official c
Laqf;c(Ljava/nio/file/Path;)V
-
wrapNumberParser
- Mappings:
Namespace Name Mixin selector named wrapNumberParser
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;wrapNumberParser(Ljava/util/function/Function;)Ljava/util/function/Function;
intermediary method_16721
Lnet/minecraft/class_3808;method_16721(Ljava/util/function/Function;)Ljava/util/function/Function;
official a
Laqf;a(Ljava/util/function/Function;)Ljava/util/function/Function;
-
combineParser
protected static <V> Function<String,V> combineParser(IntFunction<V> intParser, Function<String, V> fallbackParser) - Mappings:
Namespace Name Mixin selector named combineParser
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;combineParser(Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/function/Function;
intermediary method_16722
Lnet/minecraft/class_3808;method_16722(Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/function/Function;
official a
Laqf;a(Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/function/Function;
-
getStringValue
- Mappings:
Namespace Name Mixin selector named getStringValue
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;getStringValue(Ljava/lang/String;)Ljava/lang/String;
intermediary method_16734
Lnet/minecraft/class_3808;method_16734(Ljava/lang/String;)Ljava/lang/String;
official c
Laqf;c(Ljava/lang/String;)Ljava/lang/String;
-
getDeprecated
- Mappings:
Namespace Name Mixin selector named getDeprecated
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;getDeprecated(Ljava/lang/String;Ljava/util/function/Function;)Ljava/lang/Object;
intermediary method_16742
Lnet/minecraft/class_3808;method_16742(Ljava/lang/String;Ljava/util/function/Function;)Ljava/lang/Object;
official a
Laqf;a(Ljava/lang/String;Ljava/util/function/Function;)Ljava/lang/Object;
-
get
protected <V> V get(String key, Function<String, V> parser, Function<V, String> stringifier, V fallback) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;get(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
intermediary method_16741
Lnet/minecraft/class_3808;method_16741(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
official a
Laqf;a(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
-
accessor
protected <V> AbstractPropertiesHandler<T>.PropertyAccessor<V> accessor(String key, Function<String, V> parser, Function<V, String> stringifier, V fallback) - Mappings:
Namespace Name Mixin selector named accessor
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;accessor(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/lang/Object;)Lnet/minecraft/server/dedicated/AbstractPropertiesHandler$PropertyAccessor;
intermediary method_16724
Lnet/minecraft/class_3808;method_16724(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/lang/Object;)Lnet/minecraft/class_3808$class_3809;
official b
Laqf;b(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/lang/Object;)Laqf$a;
-
get
protected <V> V get(String key, Function<String, V> parser, UnaryOperator<V> parsedTransformer, Function<V, String> stringifier, V fallback) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;get(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/UnaryOperator;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
intermediary method_16735
Lnet/minecraft/class_3808;method_16735(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/UnaryOperator;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
official a
Laqf;a(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/UnaryOperator;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;get(Ljava/lang/String;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
intermediary method_16737
Lnet/minecraft/class_3808;method_16737(Ljava/lang/String;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
official a
Laqf;a(Ljava/lang/String;Ljava/util/function/Function;Ljava/lang/Object;)Ljava/lang/Object;
-
accessor
protected <V> AbstractPropertiesHandler<T>.PropertyAccessor<V> accessor(String key, Function<String, V> parser, V fallback) - Mappings:
Namespace Name Mixin selector named accessor
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;accessor(Ljava/lang/String;Ljava/util/function/Function;Ljava/lang/Object;)Lnet/minecraft/server/dedicated/AbstractPropertiesHandler$PropertyAccessor;
intermediary method_16730
Lnet/minecraft/class_3808;method_16730(Ljava/lang/String;Ljava/util/function/Function;Ljava/lang/Object;)Lnet/minecraft/class_3808$class_3809;
official b
Laqf;b(Ljava/lang/String;Ljava/util/function/Function;Ljava/lang/Object;)Laqf$a;
-
getString
- Mappings:
Namespace Name Mixin selector named getString
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
intermediary method_16732
Lnet/minecraft/class_3808;method_16732(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
official a
Laqf;a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
-
getDeprecatedString
- Mappings:
Namespace Name Mixin selector named getDeprecatedString
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;getDeprecatedString(Ljava/lang/String;)Ljava/lang/String;
intermediary method_16738
Lnet/minecraft/class_3808;method_16738(Ljava/lang/String;)Ljava/lang/String;
official a
Laqf;a(Ljava/lang/String;)Ljava/lang/String;
-
getInt
- Mappings:
Namespace Name Mixin selector named getInt
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;getInt(Ljava/lang/String;I)I
intermediary method_16726
Lnet/minecraft/class_3808;method_16726(Ljava/lang/String;I)I
official a
Laqf;a(Ljava/lang/String;I)I
-
intAccessor
protected AbstractPropertiesHandler<T>.PropertyAccessor<Integer> intAccessor(String key, int fallback) - Mappings:
Namespace Name Mixin selector named intAccessor
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;intAccessor(Ljava/lang/String;I)Lnet/minecraft/server/dedicated/AbstractPropertiesHandler$PropertyAccessor;
intermediary method_16743
Lnet/minecraft/class_3808;method_16743(Ljava/lang/String;I)Lnet/minecraft/class_3808$class_3809;
official b
Laqf;b(Ljava/lang/String;I)Laqf$a;
-
transformedParseInt
- Mappings:
Namespace Name Mixin selector named transformedParseInt
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;transformedParseInt(Ljava/lang/String;Ljava/util/function/UnaryOperator;I)I
intermediary method_16720
Lnet/minecraft/class_3808;method_16720(Ljava/lang/String;Ljava/util/function/UnaryOperator;I)I
official a
Laqf;a(Ljava/lang/String;Ljava/util/function/UnaryOperator;I)I
-
parseLong
- Mappings:
Namespace Name Mixin selector named parseLong
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;parseLong(Ljava/lang/String;J)J
intermediary method_16725
Lnet/minecraft/class_3808;method_16725(Ljava/lang/String;J)J
official a
Laqf;a(Ljava/lang/String;J)J
-
parseBoolean
- Mappings:
Namespace Name Mixin selector named parseBoolean
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;parseBoolean(Ljava/lang/String;Z)Z
intermediary method_16740
Lnet/minecraft/class_3808;method_16740(Ljava/lang/String;Z)Z
official a
Laqf;a(Ljava/lang/String;Z)Z
-
booleanAccessor
protected AbstractPropertiesHandler<T>.PropertyAccessor<Boolean> booleanAccessor(String key, boolean fallback) - Mappings:
Namespace Name Mixin selector named booleanAccessor
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;booleanAccessor(Ljava/lang/String;Z)Lnet/minecraft/server/dedicated/AbstractPropertiesHandler$PropertyAccessor;
intermediary method_16744
Lnet/minecraft/class_3808;method_16744(Ljava/lang/String;Z)Lnet/minecraft/class_3808$class_3809;
official b
Laqf;b(Ljava/lang/String;Z)Laqf$a;
-
getDeprecatedBoolean
- Mappings:
Namespace Name Mixin selector named getDeprecatedBoolean
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;getDeprecatedBoolean(Ljava/lang/String;)Ljava/lang/Boolean;
intermediary method_16736
Lnet/minecraft/class_3808;method_16736(Ljava/lang/String;)Ljava/lang/Boolean;
official b
Laqf;b(Ljava/lang/String;)Ljava/lang/Boolean;
-
copyProperties
- Mappings:
Namespace Name Mixin selector named copyProperties
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;copyProperties()Ljava/util/Properties;
intermediary method_16723
Lnet/minecraft/class_3808;method_16723()Ljava/util/Properties;
official a
Laqf;a()Ljava/util/Properties;
-
create
Creates another property handler with the same type as this one from the passed new map of properties.- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;create(Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/Properties;)Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;
intermediary method_16739
Lnet/minecraft/class_3808;method_16739(Lnet/minecraft/class_5455;Ljava/util/Properties;)Lnet/minecraft/class_3808;
official b
Laqf;b(Ljw;Ljava/util/Properties;)Laqf;
-