mirror of https://github.com/FabricMC/yarn.git
Expand World/Save mappings (#35)
* Mapped some world stuff. Partially related to saving. * Named some dimension stuff. * Mapped out some more save stuff. Should be enough to get stuff rolling. * Implement feedback
This commit is contained in:
parent
f61add8bf0
commit
697bcf0377
|
@ -0,0 +1,3 @@
|
|||
CLASS none/aiv net/minecraft/util/MinecraftException
|
||||
METHOD <init> (Ljava/lang/String;)V
|
||||
ARG 0 message
|
|
@ -0,0 +1,19 @@
|
|||
CLASS none/aud net/minecraft/world/DimensionType
|
||||
FIELD a OVERWORLD Lnone/aud;
|
||||
FIELD b NETHER Lnone/aud;
|
||||
FIELD c END Lnone/aud;
|
||||
FIELD d id I
|
||||
FIELD e name Ljava/lang/String;
|
||||
FIELD f worldName Ljava/lang/String;
|
||||
FIELD g providerClass Ljava/lang/Class;
|
||||
METHOD <init> (Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
|
||||
ARG 0 id
|
||||
ARG 1 name
|
||||
ARG 2 worldName
|
||||
ARG 3 providerClass
|
||||
METHOD a getID ()I
|
||||
METHOD a getDimensionByID (I)Lnone/aud;
|
||||
ARG 0 id
|
||||
METHOD b getName ()Ljava/lang/String;
|
||||
METHOD c getWorldName ()Ljava/lang/String;
|
||||
METHOD d constructDimension ()Lnone/auc;
|
|
@ -0,0 +1,11 @@
|
|||
CLASS none/bas net/minecraft/world/ISaveHandler
|
||||
METHOD a (Lnone/auc;)Lnone/atu;
|
||||
ARG 0 dimensionProvider
|
||||
METHOD a saveWorld (Lnone/bar;)V
|
||||
ARG 0 worldProperties
|
||||
METHOD a saveWorld (Lnone/bar;Lnone/dt;)V
|
||||
ARG 0 worldProperties
|
||||
ARG 1 playerTag
|
||||
METHOD b getWorldFolder ()Ljava/io/File;
|
||||
METHOD c checkSessionLock ()V
|
||||
METHOD d readWorldProperties ()Lnone/bar;
|
|
@ -1,14 +1,26 @@
|
|||
CLASS none/aiu net/minecraft/world/World
|
||||
FIELD B lootTableHandler Lnone/bbj;
|
||||
FIELD C profiler Lnone/os;
|
||||
FIELD E isRemote Z
|
||||
FIELD L calendar Ljava/util/Calendar;
|
||||
FIELD N border Lnone/atd;
|
||||
FIELD a seaLevel I
|
||||
FIELD i playerList Ljava/util/List;
|
||||
FIELD r rand Ljava/util/Random;
|
||||
FIELD s dimensionProvider Lnone/auc;
|
||||
FIELD u listeners Ljava/util/List;
|
||||
FIELD v chunkProvider Lnone/ath;
|
||||
FIELD x info Lnone/bar;
|
||||
FIELD x properties Lnone/bar;
|
||||
METHOD <init> (Lnone/bas;Lnone/bar;Lnone/auc;Lnone/os;Z)V
|
||||
ARG 0 saveHandler
|
||||
ARG 1 properties
|
||||
ARG 2 dimensionProvider
|
||||
ARG 3 profiler
|
||||
ARG 4 isClient
|
||||
METHOD E isValidHeight (Lnone/cn;)Z
|
||||
ARG 0 pos
|
||||
METHOD R getSpawnPos ()Lnone/cn;
|
||||
METHOD T getWorldProperties ()Lnone/bar;
|
||||
METHOD U getGameRules ()Lnone/air;
|
||||
METHOD a getEntityById (I)Lnone/se;
|
||||
ARG 0 id
|
||||
|
@ -46,7 +58,12 @@ CLASS none/aiu net/minecraft/world/World
|
|||
ARG 0 entity
|
||||
METHOD ae getDifficulty ()Lnone/qx;
|
||||
METHOD aj getWorldBorder ()Lnone/atd;
|
||||
METHOD ak getLootTableHandler ()Lnone/bbj;
|
||||
METHOD b getWorld ()Lnone/aiu;
|
||||
METHOD b getBiome (Lnone/cn;)Lnone/ajh;
|
||||
METHOD d isSpawnChunk (II)Z
|
||||
ARG 0 chunkX
|
||||
ARG 1 chunkY
|
||||
METHOD d isAir (Lnone/cn;)Z
|
||||
METHOD f (Lnone/cn;)Lnone/atm;
|
||||
ARG 0 pos
|
||||
|
|
|
@ -0,0 +1,156 @@
|
|||
CLASS none/bar net/minecraft/world/WorldProperties
|
||||
FIELD A allowCommands Z
|
||||
FIELD B initialized Z
|
||||
FIELD C difficulty Lnone/qx;
|
||||
FIELD D difficultyLocked Z
|
||||
FIELD E borderCenterX D
|
||||
FIELD F borderCenterZ D
|
||||
FIELD G borderSize D
|
||||
FIELD H borderSizeLerpTime J
|
||||
FIELD I borderSizeLerpTarget D
|
||||
FIELD J borderSafeZone D
|
||||
FIELD K borderDamagePerBlock D
|
||||
FIELD L borderWarningBlocks I
|
||||
FIELD M borderWarningTime I
|
||||
FIELD N dimensionData Ljava/util/Map;
|
||||
FIELD O gameRules Lnone/air;
|
||||
FIELD a dificulty Lnone/qx;
|
||||
FIELD b name Ljava/lang/String;
|
||||
FIELD c id I
|
||||
FIELD d snapshot Z
|
||||
FIELD e randomSeed J
|
||||
FIELD f worldGenerator Lnone/aiz;
|
||||
FIELD g generatorOptions Ljava/lang/String;
|
||||
FIELD h spawnX I
|
||||
FIELD i spawnY I
|
||||
FIELD j spawnZ I
|
||||
FIELD k time J
|
||||
FIELD l dayTime J
|
||||
FIELD m lastPlayed J
|
||||
FIELD n worldSize J
|
||||
FIELD o playerData Lnone/dt;
|
||||
FIELD p dimension I
|
||||
FIELD q worldName Ljava/lang/String;
|
||||
FIELD r version I
|
||||
FIELD s clearWeatherTime I
|
||||
FIELD t raining Z
|
||||
FIELD u rainTime I
|
||||
FIELD v thundering Z
|
||||
FIELD w thunderTime I
|
||||
FIELD x gameMode Lnone/ais;
|
||||
FIELD y mapFeatures Z
|
||||
FIELD z hardcore Z
|
||||
METHOD <init> (Lnone/bar;)V
|
||||
ARG 0 properties
|
||||
METHOD <init> (Lnone/dt;)V
|
||||
ARG 0 nbt
|
||||
METHOD A getGeneratorOptions ()Ljava/lang/String;
|
||||
METHOD B getBorderCenterX ()D
|
||||
METHOD C getBorderCenterZ ()D
|
||||
METHOD D getBorderSize ()D
|
||||
METHOD E getBorderSizeLerpTime ()J
|
||||
METHOD F getBorderSizeLerpTarget ()D
|
||||
METHOD G getBorderSafeZone ()D
|
||||
METHOD H getBorderDamagePerBlock ()D
|
||||
METHOD I getBorderWarningBlocks ()I
|
||||
METHOD J getBorderWarningTime ()I
|
||||
METHOD K getId ()I
|
||||
METHOD L getSnapshot ()Z
|
||||
METHOD M getName ()Ljava/lang/String;
|
||||
METHOD a getSeed ()J
|
||||
METHOD a setBorderSize (D)V
|
||||
ARG 0 borderSize
|
||||
METHOD a setSpawnX (I)V
|
||||
ARG 0 spawnY
|
||||
METHOD a setWorldName (Ljava/lang/String;)V
|
||||
ARG 0 worldName
|
||||
METHOD a setGameMode (Lnone/ais;)V
|
||||
ARG 0 gamemode
|
||||
METHOD a setWorldGenerator (Lnone/aiz;)V
|
||||
ARG 0 worldGenerator
|
||||
METHOD a getDimensionTag (Lnone/aud;)Lnone/dt;
|
||||
ARG 0 dimension
|
||||
METHOD a setDimensionTag (Lnone/aud;Lnone/dt;)V
|
||||
ARG 0 dimension
|
||||
ARG 1 tag
|
||||
METHOD a addToReport (Lnone/c;)V
|
||||
ARG 0 report
|
||||
METHOD a setSpawnPos (Lnone/cn;)V
|
||||
ARG 0 spawnPos
|
||||
METHOD a cloneWorldTag (Lnone/dt;)Lnone/dt;
|
||||
ARG 0 playerTag
|
||||
METHOD a updateProperties (Lnone/dt;Lnone/dt;)V
|
||||
ARG 0 worldTag
|
||||
ARG 1 playerTag
|
||||
METHOD a setDifficulty (Lnone/qx;)V
|
||||
ARG 0 difficulty
|
||||
METHOD a setThundering (Z)V
|
||||
ARG 0 thundering
|
||||
METHOD b getSpawnX ()I
|
||||
METHOD b setBorderSizeLerpTarget (D)V
|
||||
ARG 0 borderSizeLerpTarget
|
||||
METHOD b setSpawnY (I)V
|
||||
ARG 0 spawnY
|
||||
METHOD b setTime (J)V
|
||||
ARG 0 time
|
||||
METHOD b setRaining (Z)V
|
||||
ARG 0 raining
|
||||
METHOD c getSpawnY ()I
|
||||
METHOD c borderCenterZ (D)V
|
||||
ARG 0 borderCenterZ
|
||||
METHOD c setSpawnZ (I)V
|
||||
ARG 0 spawnZ
|
||||
METHOD c setDayTime (J)V
|
||||
ARG 0 dayTime
|
||||
METHOD c setAllowCommands (Z)V
|
||||
ARG 0 allowCommands
|
||||
METHOD d getSpawnZ ()I
|
||||
METHOD d setBorderCenterX (D)V
|
||||
ARG 0 borderCenterX
|
||||
METHOD d setInitialized (Z)V
|
||||
ARG 0 initialized
|
||||
METHOD e getTime ()J
|
||||
METHOD e setBorderSafeZone (D)V
|
||||
ARG 0 borderSafeZone
|
||||
METHOD e setVersion (I)V
|
||||
ARG 0 version
|
||||
METHOD e setBorderSizeLerpTime (J)V
|
||||
ARG 0 borderSizeLerpTime
|
||||
METHOD e setDifficultyLocked (Z)V
|
||||
ARG 0 difficultyLocked
|
||||
METHOD f getDayTime ()J
|
||||
METHOD f setBorderDamagePerBlock (D)V
|
||||
ARG 0 damage
|
||||
METHOD f setThunderTime (I)V
|
||||
ARG 0 thunderTime
|
||||
METHOD f setMapFeatures (Z)V
|
||||
ARG 0 mapFeatures
|
||||
METHOD g getWorldSize ()J
|
||||
METHOD g setRainTime (I)V
|
||||
ARG 0 rainTime
|
||||
METHOD g setHardcore (Z)V
|
||||
ARG 0 hardcore
|
||||
METHOD h getPlayerData ()Lnone/dt;
|
||||
METHOD i setClearWeatherTime (I)V
|
||||
ARG 0 clearWeatherTime
|
||||
METHOD j getWorldName ()Ljava/lang/String;
|
||||
METHOD j setBorderWarningBlocks (I)V
|
||||
ARG 0 borderWarningBlocks
|
||||
METHOD k getVersion ()I
|
||||
METHOD k setBorderWarningTime (I)V
|
||||
ARG 0 borderWarningTime
|
||||
METHOD l getLastPlayed ()J
|
||||
METHOD m isThundering ()Z
|
||||
METHOD n getThunderTime ()I
|
||||
METHOD o isRaining ()Z
|
||||
METHOD p getRainTime ()I
|
||||
METHOD q getGameMode ()Lnone/ais;
|
||||
METHOD r getMapFeatures ()Z
|
||||
METHOD s isHardcore ()Z
|
||||
METHOD t getWorldGenerator ()Lnone/aiz;
|
||||
METHOD u areCommandsAllowed ()Z
|
||||
METHOD v isInitialized ()Z
|
||||
METHOD w getGameRules ()Lnone/air;
|
||||
METHOD x getDifficulty ()Lnone/qx;
|
||||
METHOD y isDifficultyLocked ()Z
|
||||
METHOD z getClearWetherTime ()I
|
|
@ -6,6 +6,7 @@ CLASS none/lu net/minecraft/world/WorldServer
|
|||
METHOD a createEntity (Lnone/se;)Z
|
||||
ARG 0 entity
|
||||
METHOD aE isMainThread ()Z
|
||||
METHOD b getWorld ()Lnone/aiu;
|
||||
METHOD k updateEntities ()V
|
||||
METHOD n createChunkProvider ()Lnone/ath;
|
||||
METHOD r getServerChunkProvider ()Lnone/lt;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
CLASS none/bbj net/minecraft/world/loot/LootTableHandler
|
|
@ -0,0 +1 @@
|
|||
CLASS none/auc net/minecraft/world/provider/DimensionProvider
|
|
@ -0,0 +1 @@
|
|||
CLASS none/aui net/minecraft/world/provider/impl/DimensionProviderEnd
|
|
@ -0,0 +1,4 @@
|
|||
CLASS none/aue net/minecraft/world/provider/impl/DimensionProviderNether
|
||||
CLASS none/aue$1
|
||||
METHOD f getCenterX ()D
|
||||
METHOD g getCenterZ ()D
|
|
@ -0,0 +1 @@
|
|||
CLASS none/auf net/minecraft/world/provider/impl/DimensionProviderOverworld
|
|
@ -0,0 +1,11 @@
|
|||
CLASS none/bax net/minecraft/world/save/impl/ClientSaveHandler
|
||||
METHOD a (Lnone/auc;)Lnone/atu;
|
||||
ARG 0 dimensionProvider
|
||||
METHOD a saveWorld (Lnone/bar;)V
|
||||
ARG 0 worldProperties
|
||||
METHOD a saveWorld (Lnone/bar;Lnone/dt;)V
|
||||
ARG 0 worldProperties
|
||||
ARG 1 playerTag
|
||||
METHOD b getWorldFolder ()Ljava/io/File;
|
||||
METHOD c checkSessionLock ()V
|
||||
METHOD d readWorldProperties ()Lnone/bar;
|
|
@ -0,0 +1,11 @@
|
|||
CLASS none/bap net/minecraft/world/save/impl/SaveHandler
|
||||
METHOD a (Lnone/auc;)Lnone/atu;
|
||||
ARG 0 dimensionProvider
|
||||
METHOD a saveWorld (Lnone/bar;)V
|
||||
ARG 0 worldProperties
|
||||
METHOD a saveWorld (Lnone/bar;Lnone/dt;)V
|
||||
ARG 0 worldProperties
|
||||
ARG 1 playerTag
|
||||
METHOD b getWorldFolder ()Ljava/io/File;
|
||||
METHOD c checkSessionLock ()V
|
||||
METHOD d readWorldProperties ()Lnone/bar;
|
|
@ -1,4 +0,0 @@
|
|||
CLASS none/aue
|
||||
CLASS none/aue$1
|
||||
METHOD f getCenterX ()D
|
||||
METHOD g getCenterZ ()D
|
|
@ -0,0 +1,6 @@
|
|||
CLASS none/bam
|
||||
METHOD a (Lnone/auc;)Lnone/atu;
|
||||
ARG 0 dimensionProvider
|
||||
METHOD a saveWorld (Lnone/bar;Lnone/dt;)V
|
||||
ARG 0 worldProperties
|
||||
ARG 1 playerTag
|
|
@ -1,3 +1,66 @@
|
|||
CLASS none/bao
|
||||
METHOD a getSeed ()J
|
||||
METHOD a setSpawnX (I)V
|
||||
ARG 0 spawnY
|
||||
METHOD a setWorldName (Ljava/lang/String;)V
|
||||
ARG 0 worldName
|
||||
METHOD a setWorldGenerator (Lnone/aiz;)V
|
||||
ARG 0 worldGenerator
|
||||
METHOD a getDimensionTag (Lnone/aud;)Lnone/dt;
|
||||
ARG 0 dimension
|
||||
METHOD a setDimensionTag (Lnone/aud;Lnone/dt;)V
|
||||
ARG 0 dimension
|
||||
ARG 1 tag
|
||||
METHOD a setSpawnPos (Lnone/cn;)V
|
||||
ARG 0 spawnPos
|
||||
METHOD a cloneWorldTag (Lnone/dt;)Lnone/dt;
|
||||
ARG 0 playerTag
|
||||
METHOD a setDifficulty (Lnone/qx;)V
|
||||
ARG 0 difficulty
|
||||
METHOD a setThundering (Z)V
|
||||
ARG 0 thundering
|
||||
METHOD b getSpawnX ()I
|
||||
METHOD b setSpawnY (I)V
|
||||
ARG 0 spawnY
|
||||
METHOD b setTime (J)V
|
||||
ARG 0 time
|
||||
METHOD b setRaining (Z)V
|
||||
ARG 0 raining
|
||||
METHOD c getSpawnY ()I
|
||||
METHOD c setSpawnZ (I)V
|
||||
ARG 0 spawnZ
|
||||
METHOD c setDayTime (J)V
|
||||
ARG 0 dayTime
|
||||
METHOD c setAllowCommands (Z)V
|
||||
ARG 0 allowCommands
|
||||
METHOD d getSpawnZ ()I
|
||||
METHOD d setInitialized (Z)V
|
||||
ARG 0 initialized
|
||||
METHOD e getTime ()J
|
||||
METHOD e setVersion (I)V
|
||||
ARG 0 version
|
||||
METHOD e setDifficultyLocked (Z)V
|
||||
ARG 0 difficultyLocked
|
||||
METHOD f getDayTime ()J
|
||||
METHOD f setThunderTime (I)V
|
||||
ARG 0 thunderTime
|
||||
METHOD g getWorldSize ()J
|
||||
METHOD g setRainTime (I)V
|
||||
ARG 0 rainTime
|
||||
METHOD h getPlayerData ()Lnone/dt;
|
||||
METHOD j getWorldName ()Ljava/lang/String;
|
||||
METHOD k getVersion ()I
|
||||
METHOD l getLastPlayed ()J
|
||||
METHOD m isThundering ()Z
|
||||
METHOD n getThunderTime ()I
|
||||
METHOD o isRaining ()Z
|
||||
METHOD p getRainTime ()I
|
||||
METHOD q getGameMode ()Lnone/ais;
|
||||
METHOD r getMapFeatures ()Z
|
||||
METHOD s isHardcore ()Z
|
||||
METHOD t getWorldGenerator ()Lnone/aiz;
|
||||
METHOD u areCommandsAllowed ()Z
|
||||
METHOD v isInitialized ()Z
|
||||
METHOD w getGameRules ()Lnone/air;
|
||||
METHOD x getDifficulty ()Lnone/qx;
|
||||
METHOD y isDifficultyLocked ()Z
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
CLASS none/bar
|
||||
FIELD O gameRules Lnone/air;
|
||||
METHOD w getGameRules ()Lnone/air;
|
||||
METHOD x getDifficulty ()Lnone/qx;
|
|
@ -15,3 +15,4 @@ CLASS none/lq
|
|||
METHOD b onSetWarningTime (Lnone/atd;I)V
|
||||
ARG 0 border
|
||||
ARG 1 warningTime
|
||||
METHOD b getWorld ()Lnone/aiu;
|
||||
|
|
Loading…
Reference in New Issue