A few server mappings (#642)

This commit is contained in:
Runemoro 2019-04-20 17:17:07 -04:00 committed by Adrian Siekierka
parent 50205d62f9
commit 1ba9489576
13 changed files with 102 additions and 7 deletions

View File

@ -17,15 +17,20 @@ CLASS net/minecraft/server/MinecraftServer
FIELD N bonusChest Z FIELD N bonusChest Z
FIELD O resourcePackUrl Ljava/lang/String; FIELD O resourcePackUrl Ljava/lang/String;
FIELD P resourcePackHash Ljava/lang/String; FIELD P resourcePackHash Ljava/lang/String;
FIELD Q loading Z
FIELD S loadingStage Ljm;
FIELD T profilerStartQueued Z
FIELD U forceGameMode Z FIELD U forceGameMode Z
FIELD V authService Lcom/mojang/authlib/yggdrasil/YggdrasilAuthenticationService; FIELD V authService Lcom/mojang/authlib/yggdrasil/YggdrasilAuthenticationService;
FIELD W sessionService Lcom/mojang/authlib/minecraft/MinecraftSessionService; FIELD W sessionService Lcom/mojang/authlib/minecraft/MinecraftSessionService;
FIELD X gameProfileRepo Lcom/mojang/authlib/GameProfileRepository; FIELD X gameProfileRepo Lcom/mojang/authlib/GameProfileRepository;
FIELD Y userCache Lxm; FIELD Y userCache Lxm;
FIELD Z lastPlayerSampleUpdate J
FIELD aa timeReference J FIELD aa timeReference J
FIELD ad iconFilePresent Z FIELD ad iconFilePresent Z
FIELD ae dataManager Lxc; FIELD ae dataManager Lxc;
FIELD af resourcePackContainerManager Lwt; FIELD af resourcePackContainerManager Lwt;
FIELD ag dataPackCreator Lwr;
FIELD ah commandManager Lce; FIELD ah commandManager Lce;
FIELD ai recipeManager Lbej; FIELD ai recipeManager Lbej;
FIELD aj tagManager Lzd; FIELD aj tagManager Lzd;
@ -35,9 +40,12 @@ CLASS net/minecraft/server/MinecraftServer
FIELD an advancementManager Lrd; FIELD an advancementManager Lrd;
FIELD ao commandFunctionManager Lre; FIELD ao commandFunctionManager Lre;
FIELD ap metricsData Lzl; FIELD ap metricsData Lzl;
FIELD aq whitelistEnabled Z
FIELD ar forceWorldUpgrade Z FIELD ar forceWorldUpgrade Z
FIELD as eraseCache Z
FIELD at tickTime F FIELD at tickTime F
FIELD au workerExecutor Ljava/util/concurrent/Executor; FIELD au workerExecutor Ljava/util/concurrent/Executor;
FIELD av serverId Ljava/lang/String;
FIELD b USER_CACHE_FILE Ljava/io/File; FIELD b USER_CACHE_FILE Ljava/io/File;
FIELD c WORLD_INFO Lbhl; FIELD c WORLD_INFO Lbhl;
FIELD d worldGenerationProgressListenerFactory Lvq; FIELD d worldGenerationProgressListenerFactory Lvq;
@ -47,7 +55,7 @@ CLASS net/minecraft/server/MinecraftServer
FIELD j levelStorage Lcod; FIELD j levelStorage Lcod;
FIELD k snooper Lahh; FIELD k snooper Lahh;
FIELD l gameDir Ljava/io/File; FIELD l gameDir Ljava/io/File;
FIELD m tickables Ljava/util/List; FIELD m serverGuiTickables Ljava/util/List;
FIELD n profiler Laga; FIELD n profiler Laga;
FIELD o networkIo Lvx; FIELD o networkIo Lvx;
FIELD p metadata Lqc; FIELD p metadata Lqc;
@ -92,17 +100,38 @@ CLASS net/minecraft/server/MinecraftServer
ARG 3 port ARG 3 port
METHOD a isSpawnProtected (Lbhh;Lev;Lavx;)Z METHOD a isSpawnProtected (Lbhh;Lev;Lavx;)Z
METHOD a getWorld (Lbyd;)Lvg; METHOD a getWorld (Lbyd;)Lvg;
METHOD a kickNonWhitelistedPlayers (Lcd;)V
ARG 1 source
METHOD a initScoreboard (Lcnz;)V
ARG 1 persistentStateManager
METHOD a setToDebugWorldProperties (Lcoa;)V
ARG 1 properties
METHOD a createWorlds (Lcob;Lcoa;Lbhl;Lvp;)V METHOD a createWorlds (Lcob;Lcoa;Lbhl;Lvp;)V
ARG 2 properties
METHOD a getPermissionLevel (Lcom/mojang/authlib/GameProfile;)I METHOD a getPermissionLevel (Lcom/mojang/authlib/GameProfile;)I
ARG 1 profile ARG 1 profile
METHOD a setCrashReport (Ld;)V METHOD a setCrashReport (Ld;)V
METHOD a loadWorldDataPacks (Ljava/io/File;Lcoa;)V
ARG 1 worldDir
METHOD a upgradeWorld (Ljava/lang/String;)V METHOD a upgradeWorld (Ljava/lang/String;)V
METHOD a loadWorldResourcePack (Ljava/lang/String;Lcob;)V
ARG 1 worldName
ARG 2 worldSaveHandler
METHOD a setResourcePack (Ljava/lang/String;Ljava/lang/String;)V METHOD a setResourcePack (Ljava/lang/String;Ljava/lang/String;)V
ARG 1 url ARG 1 url
METHOD a loadWorld (Ljava/lang/String;Ljava/lang/String;JLbho;Lcom/google/gson/JsonElement;)V
ARG 1 name
ARG 2 serverName
ARG 3 seed
ARG 5 generatorType
ARG 6 generatorSettings
METHOD a setKeyPair (Ljava/security/KeyPair;)V METHOD a setKeyPair (Ljava/security/KeyPair;)V
METHOD a tick (Ljava/util/function/BooleanSupplier;)V
METHOD a setFavicon (Lqc;)V METHOD a setFavicon (Lqc;)V
ARG 1 metadata ARG 1 metadata
METHOD a getSpawnRadius (Lvg;)I METHOD a getSpawnRadius (Lvg;)I
METHOD a sendDifficulty (Lvh;)V
ARG 1 player
METHOD a prepareStartRegion (Lvp;)V METHOD a prepareStartRegion (Lvp;)V
METHOD a setPlayerManager (Lxq;)V METHOD a setPlayerManager (Lxq;)V
METHOD a stop (Z)V METHOD a stop (Z)V
@ -121,6 +150,7 @@ CLASS net/minecraft/server/MinecraftServer
METHOD aM getLootManager ()Lcor; METHOD aM getLootManager ()Lcor;
METHOD aN getGameRules ()Lbhd; METHOD aN getGameRules ()Lbhd;
METHOD aO getBossBarManager ()Lrj; METHOD aO getBossBarManager ()Lrj;
METHOD aP isWhitelistEnabled ()Z
METHOD aQ getTickTime ()F METHOD aQ getTickTime ()F
METHOD aR getMetricsData ()Lzl; METHOD aR getMetricsData ()Lzl;
METHOD aS getProfiler ()Laga; METHOD aS getProfiler ()Laga;
@ -132,8 +162,10 @@ CLASS net/minecraft/server/MinecraftServer
METHOD ad getPlayerManager ()Lxq; METHOD ad getPlayerManager ()Lxq;
METHOD ae isRemote ()Z METHOD ae isRemote ()Z
METHOD af getNetworkIo ()Lvx; METHOD af getNetworkIo ()Lvx;
METHOD ag isLoading ()Z
METHOD ah hasGui ()Z METHOD ah hasGui ()Z
METHOD ai getTicks ()I METHOD ai getTicks ()I
METHOD aj enableProfiler ()V
METHOD ak getSnooper ()Lahh; METHOD ak getSnooper ()Lahh;
METHOD am getSpawnProtectionRadius ()I METHOD am getSpawnProtectionRadius ()I
METHOD an shouldForceGameMode ()Z METHOD an shouldForceGameMode ()Z
@ -142,6 +174,7 @@ CLASS net/minecraft/server/MinecraftServer
METHOD ar getGameProfileRepo ()Lcom/mojang/authlib/GameProfileRepository; METHOD ar getGameProfileRepo ()Lcom/mojang/authlib/GameProfileRepository;
METHOD as getUserCache ()Lxm; METHOD as getUserCache ()Lxm;
METHOD at getServerMetadata ()Lqc; METHOD at getServerMetadata ()Lqc;
METHOD au forcePlayerSampleUpdate ()V
METHOD av getMaxWorldBorderRadius ()I METHOD av getMaxWorldBorderRadius ()I
METHOD ay getNetworkCompressionThreshold ()I METHOD ay getNetworkCompressionThreshold ()I
METHOD az getServerStartTime ()J METHOD az getServerStartTime ()J
@ -150,14 +183,23 @@ CLASS net/minecraft/server/MinecraftServer
METHOD b isOwner (Lcom/mojang/authlib/GameProfile;)Z METHOD b isOwner (Lcom/mojang/authlib/GameProfile;)Z
ARG 1 profile ARG 1 profile
METHOD b populateCrashReport (Ld;)Ld; METHOD b populateCrashReport (Ld;)Ld;
METHOD b registerTickable (Ljava/lang/Runnable;)V METHOD b addServerGuiTickable (Ljava/lang/Runnable;)V
ARG 1 tickable
METHOD b setServerIp (Ljava/lang/String;)V METHOD b setServerIp (Ljava/lang/String;)V
METHOD b tick (Ljava/util/function/BooleanSupplier;)V METHOD b tickWorlds (Ljava/util/function/BooleanSupplier;)V
METHOD b setLoadingStage (Ljm;)V
ARG 1 loadingStage
METHOD b setForceWorldUpgrade (Z)V METHOD b setForceWorldUpgrade (Z)V
METHOD ba isMainThread ()Z METHOD ba isMainThread ()Z
METHOD c setPlayerIdleTimeout (I)V METHOD c setPlayerIdleTimeout (I)V
METHOD c setServerId (Ljava/lang/String;)V
ARG 1 serverId
METHOD c setEraseCache (Z)V
ARG 1 eraseCache
METHOD d setupServer ()Z METHOD d setupServer ()Z
METHOD d getFile (Ljava/lang/String;)Ljava/io/File; METHOD d getFile (Ljava/lang/String;)Ljava/io/File;
METHOD d setDifficultyLocked (Z)V
ARG 1 locked
METHOD e info (Ljava/lang/String;)V METHOD e info (Ljava/lang/String;)V
METHOD e setDemo (Z)V METHOD e setDemo (Z)V
METHOD f shouldGenerateStructures ()Z METHOD f shouldGenerateStructures ()Z
@ -185,6 +227,8 @@ CLASS net/minecraft/server/MinecraftServer
METHOD m setForceGameMode (Z)V METHOD m setForceGameMode (Z)V
METHOD main ([Ljava/lang/String;)V METHOD main ([Ljava/lang/String;)V
ARG 0 args ARG 0 args
METHOD n setWhitelistEnabled (Z)V
ARG 1 whitelistEnabled
METHOD q hasIconFile ()Z METHOD q hasIconFile ()Z
METHOD r getIconFile ()Ljava/io/File; METHOD r getIconFile ()Ljava/io/File;
METHOD s getRunDirectory ()Ljava/io/File; METHOD s getRunDirectory ()Ljava/io/File;

View File

@ -2,6 +2,6 @@ CLASS cc net/minecraft/server/command/CommandOutput
FIELD a_ DUMMY Lcc; FIELD a_ DUMMY Lcc;
METHOD H_ shouldBroadcastConsoleToOps ()Z METHOD H_ shouldBroadcastConsoleToOps ()Z
METHOD a sendCommandFeedback ()Z METHOD a sendCommandFeedback ()Z
METHOD a appendCommandFeedback (Ljm;)V METHOD a sendMessage (Ljm;)V
ARG 1 message ARG 1 message
METHOD b shouldTrackOutput ()Z METHOD b shouldTrackOutput ()Z

View File

@ -1,4 +1,11 @@
CLASS tr net/minecraft/server/command/TeleportCommand CLASS tr net/minecraft/server/command/TeleportCommand
CLASS tr$a LookTarget
FIELD a targetPos Lcrv;
FIELD b targetEntity Laif;
FIELD c targetEntityAnchor Lck$a;
METHOD a look (Lcd;Laif;)V
ARG 1 source
ARG 2 entity
METHOD a teleport (Lcd;Laif;Lvg;DDDLjava/util/Set;FFLtr$a;)V METHOD a teleport (Lcd;Laif;Lvg;DDDLjava/util/Set;FFLtr$a;)V
ARG 0 source ARG 0 source
ARG 1 target ARG 1 target

View File

@ -1,2 +1,5 @@
CLASS rn net/minecraft/server/dedicated/command/BanListCommand CLASS rn net/minecraft/server/dedicated/command/BanListCommand
METHOD a execute (Lcd;Ljava/util/Collection;)I
ARG 0 source
ARG 1 targets
METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V

View File

@ -1,2 +1,5 @@
CLASS th net/minecraft/server/dedicated/command/SetIdleTimeoutCommand CLASS th net/minecraft/server/dedicated/command/SetIdleTimeoutCommand
METHOD a execute (Lcd;I)I
ARG 0 source
ARG 1 minutes
METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V

View File

@ -3,4 +3,18 @@ CLASS tx net/minecraft/server/dedicated/command/WhitelistCommand
FIELD b ALREADY_OFF_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType; FIELD b ALREADY_OFF_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD c ADD_FAILED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType; FIELD c ADD_FAILED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD d REMOVE_FAILED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType; FIELD d REMOVE_FAILED_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
METHOD a executeReload (Lcd;)I
ARG 0 source
METHOD a executeAdd (Lcd;Ljava/util/Collection;)I
ARG 0 source
ARG 1 targets
METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V METHOD a register (Lcom/mojang/brigadier/CommandDispatcher;)V
METHOD b executeOn (Lcd;)I
ARG 0 source
METHOD b executeRemove (Lcd;Ljava/util/Collection;)I
ARG 0 source
ARG 1 targets
METHOD c executeOff (Lcd;)I
ARG 0 source
METHOD d executeList (Lcd;)I
ARG 0 source

View File

@ -1 +1,3 @@
CLASS ux net/minecraft/server/network/DemoServerPlayerInteractionManager CLASS ux net/minecraft/server/network/DemoServerPlayerInteractionManager
FIELD d demoEnded Z
METHOD f sendDemoReminder ()V

View File

@ -12,5 +12,6 @@ CLASS wa net/minecraft/server/network/ServerLoginNetworkHandler
FIELD k secretKey Ljavax/crypto/SecretKey; FIELD k secretKey Ljavax/crypto/SecretKey;
FIELD l clientEntity Lvh; FIELD l clientEntity Lvh;
METHOD a toOfflineProfile (Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile; METHOD a toOfflineProfile (Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
METHOD b tick ()V
METHOD b disconnect (Ljm;)V METHOD b disconnect (Ljm;)V
ARG 1 reason ARG 1 reason

View File

@ -47,6 +47,7 @@ CLASS vy net/minecraft/server/network/ServerPlayNetworkHandler
ARG 8 pitch ARG 8 pitch
METHOD a sendPacket (Lka;)V METHOD a sendPacket (Lka;)V
METHOD a sendPacket (Lka;Lio/netty/util/concurrent/GenericFutureListener;)V METHOD a sendPacket (Lka;Lio/netty/util/concurrent/GenericFutureListener;)V
METHOD b tick ()V
METHOD b disconnect (Ljm;)V METHOD b disconnect (Ljm;)V
METHOD b validatePlayerMove (Loj;)Z METHOD b validatePlayerMove (Loj;)Z
METHOD b validateVehicleMove (Lok;)Z METHOD b validateVehicleMove (Lok;)Z

View File

@ -1,5 +1,11 @@
CLASS oe net/minecraft/server/network/packet/BookUpdateC2SPacket CLASS oe net/minecraft/server/network/packet/BookUpdateC2SPacket
FIELD a stack Lbca; FIELD a book Lbca;
FIELD b signed Z
FIELD c hand Lagz; FIELD c hand Lagz;
METHOD b stack ()Lbca; METHOD <init> (Lbca;ZLagz;)V
METHOD d hand ()Lagz; ARG 1 book
ARG 2 signed
ARG 3 hand
METHOD b getBook ()Lbca;
METHOD c wasSigned ()Z
METHOD d getHand ()Lagz;

View File

@ -3,3 +3,5 @@ CLASS pw net/minecraft/server/network/packet/LoginKeyC2SPacket
FIELD b encryptedNonce [B FIELD b encryptedNonce [B
METHOD a decryptSecretKey (Ljava/security/PrivateKey;)Ljavax/crypto/SecretKey; METHOD a decryptSecretKey (Ljava/security/PrivateKey;)Ljavax/crypto/SecretKey;
ARG 1 privateKey ARG 1 privateKey
METHOD b decryptNonce (Ljava/security/PrivateKey;)[B
ARG 1 privateKey

View File

@ -17,6 +17,9 @@ CLASS cod net/minecraft/world/level/storage/LevelStorage
METHOD a renameLevel (Ljava/lang/String;Ljava/lang/String;)V METHOD a renameLevel (Ljava/lang/String;Ljava/lang/String;)V
ARG 1 name ARG 1 name
ARG 2 newName ARG 2 newName
METHOD a createSaveHandler (Ljava/lang/String;Lnet/minecraft/server/MinecraftServer;)Lcob;
ARG 1 name
ARG 2 server
METHOD a convertLevel (Ljava/lang/String;Lzt;)Z METHOD a convertLevel (Ljava/lang/String;Lzt;)Z
ARG 1 name ARG 1 name
ARG 2 progressListener ARG 2 progressListener
@ -24,11 +27,17 @@ CLASS cod net/minecraft/world/level/storage/LevelStorage
ARG 0 savesDirectory ARG 0 savesDirectory
ARG 1 dataFixer ARG 1 dataFixer
ARG 2 name ARG 2 name
METHOD a createSaveHandler (Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;Ljava/lang/String;Lnet/minecraft/server/MinecraftServer;)Lcob;
ARG 0 savesDirectory
ARG 1 dataFixer
ARG 2 name
ARG 3 server
METHOD a deleteFilesRecursively ([Ljava/io/File;)Z METHOD a deleteFilesRecursively ([Ljava/io/File;)Z
ARG 0 files ARG 0 files
METHOD b getLevelList ()Ljava/util/List; METHOD b getLevelList ()Ljava/util/List;
METHOD b getLevelProperties (Ljava/lang/String;)Lcoa; METHOD b getLevelProperties (Ljava/lang/String;)Lcoa;
METHOD b resolveFile (Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; METHOD b resolveFile (Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;
METHOD c getSavesDirectory ()Ljava/nio/file/Path;
METHOD c isLevelNameValid (Ljava/lang/String;)Z METHOD c isLevelNameValid (Ljava/lang/String;)Z
METHOD d getBackupsDirectory ()Ljava/nio/file/Path; METHOD d getBackupsDirectory ()Ljava/nio/file/Path;
METHOD d deleteLevel (Ljava/lang/String;)Z METHOD d deleteLevel (Ljava/lang/String;)Z

View File

@ -2,6 +2,7 @@ CLASS ago net/minecraft/world/updater/WorldUpdater
FIELD a LOGGER Lorg/apache/logging/log4j/Logger; FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
FIELD b UPDATE_THREAD_FACTORY Ljava/util/concurrent/ThreadFactory; FIELD b UPDATE_THREAD_FACTORY Ljava/util/concurrent/ThreadFactory;
FIELD c levelName Ljava/lang/String; FIELD c levelName Ljava/lang/String;
FIELD d eraseCache Z
FIELD e worldSaveHandler Lcob; FIELD e worldSaveHandler Lcob;
FIELD f updateThread Ljava/lang/Thread; FIELD f updateThread Ljava/lang/Thread;
FIELD g worldDirectory Ljava/io/File; FIELD g worldDirectory Ljava/io/File;
@ -15,6 +16,8 @@ CLASS ago net/minecraft/world/updater/WorldUpdater
FIELD o status Ljm; FIELD o status Ljm;
FIELD p REGION_FILE_PATTERN Ljava/util/regex/Pattern; FIELD p REGION_FILE_PATTERN Ljava/util/regex/Pattern;
FIELD q persistentStateManager Lcnz; FIELD q persistentStateManager Lcnz;
METHOD <init> (Ljava/lang/String;Lcod;Lcoa;Z)V
ARG 4 eraseCache
METHOD a cancel ()V METHOD a cancel ()V
METHOD a getProgress (Lbyd;)F METHOD a getProgress (Lbyd;)F
METHOD b isDone ()Z METHOD b isDone ()Z