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 ace
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 int
final boolean
final int
final GameMode
private @Nullable GeneratorOptions
final boolean
final boolean
final String
final int
final long
final int
final String
final int
final boolean
final int
final boolean
final boolean
final int
final int
final String
final int
final boolean
final String
final String
final String
final String
final int
final int
final boolean
final boolean
final boolean
final int
final boolean
final String
final boolean
final int
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) static ServerPropertiesHandler
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
-
onlineMode
public final boolean onlineMode- Mappings:
Namespace Name Mixin selector official a
Lace;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
Lace;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
Lace;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
Lace;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
Lace;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
Lace;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
Lace;g:Z
intermediary field_16807
Lnet/minecraft/class_3806;field_16807:Z
named allowFlight
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;allowFlight:Z
-
resourcePack
- Mappings:
Namespace Name Mixin selector official h
Lace;h:Ljava/lang/String;
intermediary field_16801
Lnet/minecraft/class_3806;field_16801:Ljava/lang/String;
named resourcePack
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;resourcePack:Ljava/lang/String;
-
requireResourcePack
public final boolean requireResourcePack- Mappings:
Namespace Name Mixin selector official i
Lace;i:Z
intermediary field_27845
Lnet/minecraft/class_3806;field_27845:Z
named requireResourcePack
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;requireResourcePack:Z
-
resourcePackPrompt
- Mappings:
Namespace Name Mixin selector official j
Lace;j:Ljava/lang/String;
intermediary field_33432
Lnet/minecraft/class_3806;field_33432:Ljava/lang/String;
named resourcePackPrompt
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;resourcePackPrompt:Ljava/lang/String;
-
motd
- Mappings:
Namespace Name Mixin selector official k
Lace;k: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 l
Lace;l: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 m
Lace;m: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 n
Lace;n:Lavg;
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 o
Lace;o:Lbzt;
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 p
Lace;p: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 q
Lace;q: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 r
Lace;r: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 s
Lace;s: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 t
Lace;t: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 u
Lace;u: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 v
Lace;v: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 w
Lace;w: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;
-
resourcePackHash
- Mappings:
Namespace Name Mixin selector official x
Lace;x:Ljava/lang/String;
intermediary field_16834
Lnet/minecraft/class_3806;field_16834:Ljava/lang/String;
named resourcePackHash
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;resourcePackHash:Ljava/lang/String;
-
resourcePackSha1
- Mappings:
Namespace Name Mixin selector official y
Lace;y:Ljava/lang/String;
intermediary field_16821
Lnet/minecraft/class_3806;field_16821:Ljava/lang/String;
named resourcePackSha1
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;resourcePackSha1:Ljava/lang/String;
-
hardcore
public final boolean hardcore- Mappings:
Namespace Name Mixin selector official z
Lace;z: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 A
Lace;A: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 B
Lace;B: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 C
Lace;C: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 D
Lace;D: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 E
Lace;E: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 F
Lace;F: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 G
Lace;G: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 H
Lace;H:J
intermediary field_16815
Lnet/minecraft/class_3806;field_16815:J
named maxTickTime
Lnet/minecraft/server/dedicated/ServerPropertiesHandler;maxTickTime:J
-
rateLimit
public final int rateLimit- Mappings:
Namespace Name Mixin selector official I
Lace;I: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 J
Lace;J: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 K
Lace;K: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 L
Lace;L: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 M
Lace;M: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 N
Lace;N: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 O
Lace;O: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 P
Lace;P: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 Q
Lace;Q: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 R
Lace;R: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 S
Lace;S: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 T
Lace;T: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 U
Lace;U: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 V
Lace;V: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;
-
playerIdleTimeout
public final AbstractPropertiesHandler<ServerPropertiesHandler>.PropertyAccessor<Integer> playerIdleTimeout- Mappings:
Namespace Name Mixin selector official W
Lace;W:Lach$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 X
Lace;X:Lach$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;
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official Z
Lace;Z:Lctq;
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>
Lach;<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
Lace;a(Ljava/nio/file/Path;)Lace;
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
Lace;a(Lgy;Ljava/util/Properties;)Lace;
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;
-
getGeneratorOptions
- Mappings:
Namespace Name Mixin selector official a
Lace;a(Lgy;)Lctq;
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;
-