Class ServerPropertiesHandler


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

    • field_37276

      static final org.slf4j.Logger field_37276
      Mappings:
      Namespace Name Mixin selector
      official Y Laeq;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

      private static final Pattern SHA1_PATTERN
      Mappings:
      Namespace Name Mixin selector
      official Z Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;g:Z
      intermediary field_16807 Lnet/minecraft/class_3806;field_16807:Z
      named allowFlight Lnet/minecraft/server/dedicated/ServerPropertiesHandler;allowFlight:Z
    • motd

      public final String motd
      Mappings:
      Namespace Name Mixin selector
      official h Laeq;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 Laeq;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 Laeq;j: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 k Laeq;k:Lazj;
      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 l Laeq;l:Lcfx;
      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 m Laeq;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 Laeq;n:I
      intermediary field_16837 Lnet/minecraft/class_3806;field_16837:I
      named serverPort Lnet/minecraft/server/dedicated/ServerPropertiesHandler;serverPort:I
    • announcePlayerAchievements

      @Nullable public final @Nullable Boolean announcePlayerAchievements
      Mappings:
      Namespace Name Mixin selector
      official o Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;s: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 t Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;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 Laeq;Q: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 R Laeq;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

      public Optional<MinecraftServer.ServerResourcePackProperties> serverResourcePackProperties
      Mappings:
      Namespace Name Mixin selector
      official S Laeq;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 Laeq;T:Z
      intermediary field_39259 Lnet/minecraft/class_3806;field_39259:Z
      named previewsChat Lnet/minecraft/server/dedicated/ServerPropertiesHandler;previewsChat:Z
    • playerIdleTimeout

      Mappings:
      Namespace Name Mixin selector
      official U Laeq;U:Laet$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 Laeq;V:Laet$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 Laeq;W:Z
      intermediary field_39018 Lnet/minecraft/class_3806;field_39018:Z
      named enforceSecureProfile Lnet/minecraft/server/dedicated/ServerPropertiesHandler;enforceSecureProfile:Z
    • worldGenProperties

      private final ServerPropertiesHandler.WorldGenProperties worldGenProperties
      Mappings:
      Namespace Name Mixin selector
      official aa Laeq;aa:Laeq$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

      @Nullable private @Nullable GeneratorOptions generatorOptions
      Mappings:
      Namespace Name Mixin selector
      official ab Laeq;ab:Ldao;
      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)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laet;<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

      public static ServerPropertiesHandler load(Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Laeq;a(Ljava/nio/file/Path;)Laeq;
      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 class AbstractPropertiesHandler<ServerPropertiesHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Laeq;a(Lhn;Ljava/util/Properties;)Laeq;
      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

      @Nullable private static @Nullable Text parseResourcePackPrompt(String prompt)
      Mappings:
      Namespace Name Mixin selector
      official c Laeq;c(Ljava/lang/String;)Lrm;
      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 Laeq;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

      public GeneratorOptions getGeneratorOptions(DynamicRegistryManager dynamicRegistryManager)
      Mappings:
      Namespace Name Mixin selector
      official a Laeq;a(Lhn;)Ldao;
      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;