Class ServerPropertiesHandler


public class ServerPropertiesHandler extends AbstractPropertiesHandler<ServerPropertiesHandler>
Mappings:
Namespace Name
official aat
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 Laat;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 Laat;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 Laat;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 Laat;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 Laat;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 Laat;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 Laat;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 Laat;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 Laat;i:Z
      intermediary field_27845 Lnet/minecraft/class_3806;field_27845:Z
      named requireResourcePack Lnet/minecraft/server/dedicated/ServerPropertiesHandler;requireResourcePack:Z
    • resourcePackPrompt

      public final String resourcePackPrompt
      Mappings:
      Namespace Name Mixin selector
      official j Laat;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

      public final String motd
      Mappings:
      Namespace Name Mixin selector
      official k Laat;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 Laat;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 Laat;m: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 n Laat;n:Larx;
      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 o Laat;o:Lbwm;
      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 p Laat;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 Laat;q: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 r Laat;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 Laat;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 Laat;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 Laat;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 Laat;v: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 w Laat;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

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

      public final String resourcePackSha1
      Mappings:
      Namespace Name Mixin selector
      official y Laat;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 Laat;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 Laat;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 Laat;B: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 C Laat;C: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 D Laat;D: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 E Laat;E: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 F Laat;F: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 G Laat;G: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 H Laat;H: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 I Laat;I: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 J Laat;J: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 K Laat;K: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 L Laat;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 Laat;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 Laat;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 Laat;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 Laat;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 Laat;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 Laat;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 Laat;S: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 T Laat;T: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 U Laat;U: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 V Laat;V:Laaw$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 W Laat;W:Laaw$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 X Laat;X:Lcqk;
      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> Laat;<init>(Ljava/util/Properties;Lgx;)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 registryManager, Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Laat;a(Lgx;Ljava/nio/file/Path;)Laat;
      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 Laat;a(Lgx;Ljava/util/Properties;)Laat;
      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;