Class ServerPropertiesHandler


public class ServerPropertiesHandler
extends AbstractPropertiesHandler<ServerPropertiesHandler>
Mappings:
Namespace Name
official zx
intermediary net/minecraft/class_3806
named net/minecraft/server/dedicated/ServerPropertiesHandler
  • Field Details

    • onlineMode

      public final boolean onlineMode
      Mappings:
      Namespace Name Mixin selector
      official a Lzx;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 Lzx;b:Z
      intermediary field_16839 Lnet/minecraft/class_3806;field_16839:Z
      named preventProxyConnections Lnet/minecraft/server/dedicated/ServerPropertiesHandler;preventProxyConnections:Z
    • serverIp

      public final String serverIp
      Mappings:
      Namespace Name Mixin selector
      official c Lzx;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 Lzx;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 Lzx;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 Lzx;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 Lzx;g:Z
      intermediary field_16807 Lnet/minecraft/class_3806;field_16807:Z
      named allowFlight Lnet/minecraft/server/dedicated/ServerPropertiesHandler;allowFlight:Z
    • resourcePack

      public final String resourcePack
      Mappings:
      Namespace Name Mixin selector
      official h Lzx;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 Lzx;i:Z
      intermediary field_27845 Lnet/minecraft/class_3806;field_27845:Z
      named requireResourcePack Lnet/minecraft/server/dedicated/ServerPropertiesHandler;requireResourcePack:Z
    • motd

      public final String motd
      Mappings:
      Namespace Name Mixin selector
      official j Lzx;j: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 k Lzx;k: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 l Lzx;l:Z
      intermediary field_16805 Lnet/minecraft/class_3806;field_16805:Z
      named enforceWhitelist Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enforceWhitelist:Z
    • difficulty

      public final Difficulty difficulty
      Mappings:
      Namespace Name Mixin selector
      official m Lzx;m:Lapn;
      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

      public final GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official n Lzx;n:Lbts;
      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

      public final String levelName
      Mappings:
      Namespace Name Mixin selector
      official o Lzx;o: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 p Lzx;p:I
      intermediary field_16837 Lnet/minecraft/class_3806;field_16837:I
      named serverPort Lnet/minecraft/server/dedicated/ServerPropertiesHandler;serverPort:I
    • announcePlayerAchievements

      public final Boolean announcePlayerAchievements
      Mappings:
      Namespace Name Mixin selector
      official q Lzx;q: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 r Lzx;r: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 s Lzx;s: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 t Lzx;t: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 u Lzx;u:I
      intermediary field_16828 Lnet/minecraft/class_3806;field_16828:I
      named rconPort Lnet/minecraft/server/dedicated/ServerPropertiesHandler;rconPort:I
    • rconPassword

      public final String rconPassword
      Mappings:
      Namespace Name Mixin selector
      official v Lzx;v: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

      public final String resourcePackHash
      Mappings:
      Namespace Name Mixin selector
      official w Lzx;w: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

      public final String resourcePackSha1
      Mappings:
      Namespace Name Mixin selector
      official x Lzx;x: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 y Lzx;y: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 z Lzx;z: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 A Lzx;A:Z
      intermediary field_16835 Lnet/minecraft/class_3806;field_16835:Z
      named spawnMonsters Lnet/minecraft/server/dedicated/ServerPropertiesHandler;spawnMonsters:Z
    • snooperEnabled

      public final boolean snooperEnabled
      Mappings:
      Namespace Name Mixin selector
      official B Lzx;B:Z
      intermediary field_16808 Lnet/minecraft/class_3806;field_16808:Z
      named snooperEnabled Lnet/minecraft/server/dedicated/ServerPropertiesHandler;snooperEnabled:Z
    • useNativeTransport

      public final boolean useNativeTransport
      Mappings:
      Namespace Name Mixin selector
      official C Lzx;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 Lzx;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 Lzx;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 Lzx;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 Lzx;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 Lzx;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 Lzx;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 Lzx;J:I
      intermediary field_16844 Lnet/minecraft/class_3806;field_16844:I
      named viewDistance Lnet/minecraft/server/dedicated/ServerPropertiesHandler;viewDistance:I
    • maxPlayers

      public final int maxPlayers
      Mappings:
      Namespace Name Mixin selector
      official K Lzx;K: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 L Lzx;L: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 M Lzx;M: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 N Lzx;N: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 O Lzx;O: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 P Lzx;P: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 Q Lzx;Q: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 R Lzx;R:Z
      intermediary field_24453 Lnet/minecraft/class_3806;field_24453:Z
      named enableStatus Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enableStatus:Z
    • entityBroadcastRangePercentage

      public final int entityBroadcastRangePercentage
      Mappings:
      Namespace Name Mixin selector
      official S Lzx;S:I
      intermediary field_24454 Lnet/minecraft/class_3806;field_24454:I
      named entityBroadcastRangePercentage Lnet/minecraft/server/dedicated/ServerPropertiesHandler;entityBroadcastRangePercentage:I
    • textFilteringConfig

      public final String textFilteringConfig
      Mappings:
      Namespace Name Mixin selector
      official T Lzx;T: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.PropertyAccessor<Integer> playerIdleTimeout
      Mappings:
      Namespace Name Mixin selector
      official U Lzx;U:Laaa$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 Lzx;V:Laaa$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

      public final GeneratorOptions generatorOptions
      Mappings:
      Namespace Name Mixin selector
      official W Lzx;W:Lcmy;
      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

      public ServerPropertiesHandler​(Properties properties, DynamicRegistryManager registryManager)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzx;<init>(Ljava/util/Properties;Lgo;)V
      intermediary <init> Lnet/minecraft/class_3806;<init>(Ljava/util/Properties;Lnet/minecraft/class_5455;)V
      named <init> Lnet/minecraft/server/dedicated/ServerPropertiesHandler;<init>(Ljava/util/Properties;Lnet/minecraft/util/registry/DynamicRegistryManager;)V
  • Method Details

    • load

      public static ServerPropertiesHandler load​(DynamicRegistryManager dynamicRegistryManager, Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Lzx;a(Lgo;Ljava/nio/file/Path;)Lzx;
      intermediary method_16714 Lnet/minecraft/class_3806;method_16714(Lnet/minecraft/class_5455;Ljava/nio/file/Path;)Lnet/minecraft/class_3806;
      named load Lnet/minecraft/server/dedicated/ServerPropertiesHandler;load(Lnet/minecraft/util/registry/DynamicRegistryManager;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 class AbstractPropertiesHandler<ServerPropertiesHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lzx;a(Lgo;Ljava/util/Properties;)Lzx;
      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;