Package net.minecraft.server.dedicated
Class ServerPropertiesHandler
java.lang.Object
net.minecraft.server.dedicated.AbstractPropertiesHandler<ServerPropertiesHandler>
net.minecraft.server.dedicated.ServerPropertiesHandler
- Mappings:
Namespace Name official afi
intermediary net/minecraft/class_3806
named net/minecraft/server/dedicated/ServerPropertiesHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.server.dedicated.AbstractPropertiesHandler
AbstractPropertiesHandler.PropertyAccessor<V>
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final boolean
final boolean
final boolean
final Difficulty
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final int
(package private) static final org.slf4j.Logger
final boolean
final int
final GameMode
private @Nullable GeneratorOptions
final boolean
final boolean
final String
final int
final int
final long
final int
final String
final int
final boolean
final int
final boolean
final boolean
final boolean
final int
final int
final String
final int
final String
final int
private static final Pattern
final int
final boolean
final boolean
final boolean
final int
final boolean
final String
final boolean
final int
private final ServerPropertiesHandler.WorldGenProperties
Fields inherited from class net.minecraft.server.dedicated.AbstractPropertiesHandler
properties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ServerPropertiesHandler
create
(DynamicRegistryManager dynamicRegistryManager, Properties properties) Creates another property handler with the same type as this one from the passed new map of properties.getGeneratorOptions
(DynamicRegistryManager dynamicRegistryManager) private static Optional<MinecraftServer.ServerResourcePackProperties>
getServerResourcePackProperties
(String url, String sha1, @Nullable String hash, boolean required, String prompt) static ServerPropertiesHandler
parseResourcePackPrompt
(String prompt) Methods inherited from class net.minecraft.server.dedicated.AbstractPropertiesHandler
accessor, accessor, booleanAccessor, combineParser, copyProperties, get, get, get, getDeprecated, getDeprecatedBoolean, getDeprecatedString, getInt, getString, intAccessor, loadProperties, parseBoolean, parseLong, saveProperties, transformedParseInt
-
Field Details
-
field_37276
static final org.slf4j.Logger field_37276- Mappings:
Namespace Name Mixin selector official Y
Lafi;Y:Lorg/slf4j/Logger;
intermediary field_37276
Lnet/minecraft/class_3806;field_37276:Lorg/slf4j/Logger;
named field_37276
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;field_37276:Lorg/slf4j/Logger;
-
SHA1_PATTERN
- Mappings:
Namespace Name Mixin selector official Z
Lafi;Z:Ljava/util/regex/Pattern;
intermediary field_39094
Lnet/minecraft/class_3806;field_39094:Ljava/util/regex/Pattern;
named SHA1_PATTERN
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;SHA1_PATTERN:Ljava/util/regex/Pattern;
-
onlineMode
public final boolean onlineMode- Mappings:
Namespace Name Mixin selector official a
Lafi;a:Z
intermediary field_16813
Lnet/minecraft/class_3806;field_16813:Z
named onlineMode
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;onlineMode:Z
-
preventProxyConnections
public final boolean preventProxyConnections- Mappings:
Namespace Name Mixin selector official b
Lafi;b:Z
intermediary field_16839
Lnet/minecraft/class_3806;field_16839:Z
named preventProxyConnections
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;preventProxyConnections:Z
-
serverIp
- Mappings:
Namespace Name Mixin selector official c
Lafi;c:Ljava/lang/String;
intermediary field_16829
Lnet/minecraft/class_3806;field_16829:Ljava/lang/String;
named serverIp
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;serverIp:Ljava/lang/String;
-
spawnAnimals
public final boolean spawnAnimals- Mappings:
Namespace Name Mixin selector official d
Lafi;d:Z
intermediary field_16836
Lnet/minecraft/class_3806;field_16836:Z
named spawnAnimals
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;spawnAnimals:Z
-
spawnNpcs
public final boolean spawnNpcs- Mappings:
Namespace Name Mixin selector official e
Lafi;e:Z
intermediary field_16809
Lnet/minecraft/class_3806;field_16809:Z
named spawnNpcs
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;spawnNpcs:Z
-
pvp
public final boolean pvp- Mappings:
Namespace Name Mixin selector official f
Lafi;f:Z
intermediary field_16833
Lnet/minecraft/class_3806;field_16833:Z
named pvp
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;pvp:Z
-
allowFlight
public final boolean allowFlight- Mappings:
Namespace Name Mixin selector official g
Lafi;g:Z
intermediary field_16807
Lnet/minecraft/class_3806;field_16807:Z
named allowFlight
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;allowFlight:Z
-
motd
- Mappings:
Namespace Name Mixin selector official h
Lafi;h:Ljava/lang/String;
intermediary field_16825
Lnet/minecraft/class_3806;field_16825:Ljava/lang/String;
named motd
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;motd:Ljava/lang/String;
-
forceGameMode
public final boolean forceGameMode- Mappings:
Namespace Name Mixin selector official i
Lafi;i:Z
intermediary field_16827
Lnet/minecraft/class_3806;field_16827:Z
named forceGameMode
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;forceGameMode:Z
-
enforceWhitelist
public final boolean enforceWhitelist- Mappings:
Namespace Name Mixin selector official j
Lafi;j:Z
intermediary field_16805
Lnet/minecraft/class_3806;field_16805:Z
named enforceWhitelist
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enforceWhitelist:Z
-
difficulty
- Mappings:
Namespace Name Mixin selector official k
Lafi;k:Lbag;
intermediary field_16840
Lnet/minecraft/class_3806;field_16840:Lnet/minecraft/class_1267;
named difficulty
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;difficulty:Lnet/minecraft/world/Difficulty;
-
gameMode
- Mappings:
Namespace Name Mixin selector official l
Lafi;l:Lcgu;
intermediary field_16841
Lnet/minecraft/class_3806;field_16841:Lnet/minecraft/class_1934;
named gameMode
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;gameMode:Lnet/minecraft/world/GameMode;
-
levelName
- Mappings:
Namespace Name Mixin selector official m
Lafi;m:Ljava/lang/String;
intermediary field_16820
Lnet/minecraft/class_3806;field_16820:Ljava/lang/String;
named levelName
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;levelName:Ljava/lang/String;
-
serverPort
public final int serverPort- Mappings:
Namespace Name Mixin selector official n
Lafi;n:I
intermediary field_16837
Lnet/minecraft/class_3806;field_16837:I
named serverPort
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;serverPort:I
-
announcePlayerAchievements
- Mappings:
Namespace Name Mixin selector official o
Lafi;o:Ljava/lang/Boolean;
intermediary field_16830
Lnet/minecraft/class_3806;field_16830:Ljava/lang/Boolean;
named announcePlayerAchievements
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;announcePlayerAchievements:Ljava/lang/Boolean;
-
enableQuery
public final boolean enableQuery- Mappings:
Namespace Name Mixin selector official p
Lafi;p:Z
intermediary field_16819
Lnet/minecraft/class_3806;field_16819:Z
named enableQuery
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enableQuery:Z
-
queryPort
public final int queryPort- Mappings:
Namespace Name Mixin selector official q
Lafi;q:I
intermediary field_16831
Lnet/minecraft/class_3806;field_16831:I
named queryPort
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;queryPort:I
-
enableRcon
public final boolean enableRcon- Mappings:
Namespace Name Mixin selector official r
Lafi;r:Z
intermediary field_16818
Lnet/minecraft/class_3806;field_16818:Z
named enableRcon
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enableRcon:Z
-
rconPort
public final int rconPort- Mappings:
Namespace Name Mixin selector official s
Lafi;s:I
intermediary field_16828
Lnet/minecraft/class_3806;field_16828:I
named rconPort
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;rconPort:I
-
rconPassword
- Mappings:
Namespace Name Mixin selector official t
Lafi;t:Ljava/lang/String;
intermediary field_16823
Lnet/minecraft/class_3806;field_16823:Ljava/lang/String;
named rconPassword
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;rconPassword:Ljava/lang/String;
-
hardcore
public final boolean hardcore- Mappings:
Namespace Name Mixin selector official u
Lafi;u:Z
intermediary field_16838
Lnet/minecraft/class_3806;field_16838:Z
named hardcore
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;hardcore:Z
-
allowNether
public final boolean allowNether- Mappings:
Namespace Name Mixin selector official v
Lafi;v:Z
intermediary field_16811
Lnet/minecraft/class_3806;field_16811:Z
named allowNether
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;allowNether:Z
-
spawnMonsters
public final boolean spawnMonsters- Mappings:
Namespace Name Mixin selector official w
Lafi;w:Z
intermediary field_16835
Lnet/minecraft/class_3806;field_16835:Z
named spawnMonsters
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;spawnMonsters:Z
-
useNativeTransport
public final boolean useNativeTransport- Mappings:
Namespace Name Mixin selector official x
Lafi;x:Z
intermediary field_16832
Lnet/minecraft/class_3806;field_16832:Z
named useNativeTransport
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;useNativeTransport:Z
-
enableCommandBlock
public final boolean enableCommandBlock- Mappings:
Namespace Name Mixin selector official y
Lafi;y:Z
intermediary field_16806
Lnet/minecraft/class_3806;field_16806:Z
named enableCommandBlock
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enableCommandBlock:Z
-
spawnProtection
public final int spawnProtection- Mappings:
Namespace Name Mixin selector official z
Lafi;z:I
intermediary field_16816
Lnet/minecraft/class_3806;field_16816:I
named spawnProtection
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;spawnProtection:I
-
opPermissionLevel
public final int opPermissionLevel- Mappings:
Namespace Name Mixin selector official A
Lafi;A:I
intermediary field_16845
Lnet/minecraft/class_3806;field_16845:I
named opPermissionLevel
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;opPermissionLevel:I
-
functionPermissionLevel
public final int functionPermissionLevel- Mappings:
Namespace Name Mixin selector official B
Lafi;B:I
intermediary field_20324
Lnet/minecraft/class_3806;field_20324:I
named functionPermissionLevel
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;functionPermissionLevel:I
-
maxTickTime
public final long maxTickTime- Mappings:
Namespace Name Mixin selector official C
Lafi;C:J
intermediary field_16815
Lnet/minecraft/class_3806;field_16815:J
named maxTickTime
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;maxTickTime:J
-
maxChainedNeighborUpdates
public final int maxChainedNeighborUpdates- Mappings:
Namespace Name Mixin selector official D
Lafi;D:I
intermediary field_37275
Lnet/minecraft/class_3806;field_37275:I
named maxChainedNeighborUpdates
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;maxChainedNeighborUpdates:I
-
rateLimit
public final int rateLimit- Mappings:
Namespace Name Mixin selector official E
Lafi;E:I
intermediary field_25802
Lnet/minecraft/class_3806;field_25802:I
named rateLimit
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;rateLimit:I
-
viewDistance
public final int viewDistance- Mappings:
Namespace Name Mixin selector official F
Lafi;F:I
intermediary field_16844
Lnet/minecraft/class_3806;field_16844:I
named viewDistance
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;viewDistance:I
-
simulationDistance
public final int simulationDistance- Mappings:
Namespace Name Mixin selector official G
Lafi;G:I
intermediary field_34883
Lnet/minecraft/class_3806;field_34883:I
named simulationDistance
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;simulationDistance:I
-
maxPlayers
public final int maxPlayers- Mappings:
Namespace Name Mixin selector official H
Lafi;H:I
intermediary field_16814
Lnet/minecraft/class_3806;field_16814:I
named maxPlayers
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;maxPlayers:I
-
networkCompressionThreshold
public final int networkCompressionThreshold- Mappings:
Namespace Name Mixin selector official I
Lafi;I:I
intermediary field_16842
Lnet/minecraft/class_3806;field_16842:I
named networkCompressionThreshold
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;networkCompressionThreshold:I
-
broadcastRconToOps
public final boolean broadcastRconToOps- Mappings:
Namespace Name Mixin selector official J
Lafi;J:Z
intermediary field_16824
Lnet/minecraft/class_3806;field_16824:Z
named broadcastRconToOps
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;broadcastRconToOps:Z
-
broadcastConsoleToOps
public final boolean broadcastConsoleToOps- Mappings:
Namespace Name Mixin selector official K
Lafi;K:Z
intermediary field_16802
Lnet/minecraft/class_3806;field_16802:Z
named broadcastConsoleToOps
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;broadcastConsoleToOps:Z
-
maxWorldSize
public final int maxWorldSize- Mappings:
Namespace Name Mixin selector official L
Lafi;L:I
intermediary field_16812
Lnet/minecraft/class_3806;field_16812:I
named maxWorldSize
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;maxWorldSize:I
-
syncChunkWrites
public final boolean syncChunkWrites- Mappings:
Namespace Name Mixin selector official M
Lafi;M:Z
intermediary field_23785
Lnet/minecraft/class_3806;field_23785:Z
named syncChunkWrites
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;syncChunkWrites:Z
-
enableJmxMonitoring
public final boolean enableJmxMonitoring- Mappings:
Namespace Name Mixin selector official N
Lafi;N:Z
intermediary field_24056
Lnet/minecraft/class_3806;field_24056:Z
named enableJmxMonitoring
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enableJmxMonitoring:Z
-
enableStatus
public final boolean enableStatus- Mappings:
Namespace Name Mixin selector official O
Lafi;O:Z
intermediary field_24453
Lnet/minecraft/class_3806;field_24453:Z
named enableStatus
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enableStatus:Z
-
hideOnlinePlayers
public final boolean hideOnlinePlayers- Mappings:
Namespace Name Mixin selector official P
Lafi;P:Z
intermediary field_35564
Lnet/minecraft/class_3806;field_35564:Z
named hideOnlinePlayers
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;hideOnlinePlayers:Z
-
entityBroadcastRangePercentage
public final int entityBroadcastRangePercentage- Mappings:
Namespace Name Mixin selector official Q
Lafi;Q:I
intermediary field_24454
Lnet/minecraft/class_3806;field_24454:I
named entityBroadcastRangePercentage
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;entityBroadcastRangePercentage:I
-
textFilteringConfig
- Mappings:
Namespace Name Mixin selector official R
Lafi;R:Ljava/lang/String;
intermediary field_26899
Lnet/minecraft/class_3806;field_26899:Ljava/lang/String;
named textFilteringConfig
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;textFilteringConfig:Ljava/lang/String;
-
serverResourcePackProperties
- Mappings:
Namespace Name Mixin selector official S
Lafi;S:Ljava/util/Optional;
intermediary field_39093
Lnet/minecraft/class_3806;field_39093:Ljava/util/Optional;
named serverResourcePackProperties
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;serverResourcePackProperties:Ljava/util/Optional;
-
previewsChat
public final boolean previewsChat- Mappings:
Namespace Name Mixin selector official T
Lafi;T:Z
intermediary field_39259
Lnet/minecraft/class_3806;field_39259:Z
named previewsChat
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;previewsChat:Z
-
playerIdleTimeout
public final AbstractPropertiesHandler<ServerPropertiesHandler>.PropertyAccessor<Integer> playerIdleTimeout- Mappings:
Namespace Name Mixin selector official U
Lafi;U:Lafl$a;
intermediary field_16817
Lnet/minecraft/class_3806;field_16817:Lnet/minecraft/class_3808$class_3809;
named playerIdleTimeout
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;playerIdleTimeout:Lnet/minecraft/server/dedicated/AbstractPropertiesHandler$PropertyAccessor;
-
whiteList
- Mappings:
Namespace Name Mixin selector official V
Lafi;V:Lafl$a;
intermediary field_16804
Lnet/minecraft/class_3806;field_16804:Lnet/minecraft/class_3808$class_3809;
named whiteList
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;whiteList:Lnet/minecraft/server/dedicated/AbstractPropertiesHandler$PropertyAccessor;
-
enforceSecureProfile
public final boolean enforceSecureProfile- Mappings:
Namespace Name Mixin selector official W
Lafi;W:Z
intermediary field_39018
Lnet/minecraft/class_3806;field_39018:Z
named enforceSecureProfile
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enforceSecureProfile:Z
-
worldGenProperties
- Mappings:
Namespace Name Mixin selector official aa
Lafi;aa:Lafi$a;
intermediary field_37039
Lnet/minecraft/class_3806;field_37039:Lnet/minecraft/class_3806$class_7044;
named worldGenProperties
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;worldGenProperties:Lnet/minecraft/server/dedicated/ServerPropertiesHandler$WorldGenProperties;
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official ab
Lafi;ab:Ldbm;
intermediary field_24623
Lnet/minecraft/class_3806;field_24623:Lnet/minecraft/class_5285;
named generatorOptions
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;generatorOptions:Lnet/minecraft/world/gen/GeneratorOptions;
-
-
Constructor Details
-
ServerPropertiesHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lafl;<init>(Ljava/util/Properties;)V
intermediary <init>
Lnet/minecraft/class_3808;<init>(Ljava/util/Properties;)V
named <init>
Lnet/minecraft/server/dedicated/AbstractPropertiesHandler;<init>(Ljava/util/Properties;)V
-
-
Method Details
-
load
- Mappings:
Namespace Name Mixin selector official a
Lafi;a(Ljava/nio/file/Path;)Lafi;
intermediary method_16714
Lnet/minecraft/class_3806;method_16714(Ljava/nio/file/Path;)Lnet/minecraft/class_3806;
named load
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;load(Ljava/nio/file/Path;)Lnet/minecraft/server/dedicated/ServerPropertiesHandler;
-
create
protected ServerPropertiesHandler create(DynamicRegistryManager dynamicRegistryManager, Properties properties) Description copied from class:AbstractPropertiesHandler
Creates another property handler with the same type as this one from the passed new map of properties.- Specified by:
create
in classAbstractPropertiesHandler<ServerPropertiesHandler>
- Mappings:
Namespace Name Mixin selector official a
Lafi;a(Lhn;Ljava/util/Properties;)Lafi;
intermediary method_16713
Lnet/minecraft/class_3806;method_16713(Lnet/minecraft/class_5455;Ljava/util/Properties;)Lnet/minecraft/class_3806;
named create
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;create(Lnet/minecraft/util/registry/DynamicRegistryManager;Ljava/util/Properties;)Lnet/minecraft/server/dedicated/ServerPropertiesHandler;
-
parseResourcePackPrompt
- Mappings:
Namespace Name Mixin selector official c
Lafi;c(Ljava/lang/String;)Lrq;
intermediary method_43661
Lnet/minecraft/class_3806;method_43661(Ljava/lang/String;)Lnet/minecraft/class_2561;
named parseResourcePackPrompt
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;parseResourcePackPrompt(Ljava/lang/String;)Lnet/minecraft/text/Text;
-
getServerResourcePackProperties
private static Optional<MinecraftServer.ServerResourcePackProperties> getServerResourcePackProperties(String url, String sha1, @Nullable @Nullable String hash, boolean required, String prompt) - Mappings:
Namespace Name Mixin selector official a
Lafi;a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Ljava/util/Optional;
intermediary method_43660
Lnet/minecraft/class_3806;method_43660(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Ljava/util/Optional;
named getServerResourcePackProperties
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;getServerResourcePackProperties(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Ljava/util/Optional;
-
getGeneratorOptions
- Mappings:
Namespace Name Mixin selector official a
Lafi;a(Lhn;)Ldbm;
intermediary method_37371
Lnet/minecraft/class_3806;method_37371(Lnet/minecraft/class_5455;)Lnet/minecraft/class_5285;
named getGeneratorOptions
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;getGeneratorOptions(Lnet/minecraft/util/registry/DynamicRegistryManager;)Lnet/minecraft/world/gen/GeneratorOptions;
-