mirror of https://github.com/FabricMC/yarn.git
[WIP] World related mappings. (#52)
* Nothing overly interesting. * Map workers and fix the thread factory variable name. * Map WorldInfo and some other things I found along the way. * Fix some mappings, map Enchantments class.
This commit is contained in:
parent
1bb8508275
commit
2727af5a03
|
@ -1,4 +1,12 @@
|
|||
CLASS none/bit net/minecraft/client/gui/menu/GuiNewWorld
|
||||
FIELD A buttonGameModeSwitch Lnone/bei;
|
||||
FIELD B buttonMoreWorldOptions Lnone/bei;
|
||||
FIELD C buttonGenerateStructures Lnone/bei;
|
||||
FIELD D buttonGenerateBonusItems Lnone/bei;
|
||||
FIELD E buttonMapTypeSwitch Lnone/bei;
|
||||
FIELD F buttonAllowCommands Lnone/bei;
|
||||
FIELD G buttonCustomizeWorldType Lnone/bei;
|
||||
FIELD a worldName Ljava/lang/String;
|
||||
FIELD f parent Lnone/bgk;
|
||||
METHOD <init> (Lnone/bgk;)V
|
||||
ARG 0 parent
|
||||
|
|
|
@ -6,8 +6,8 @@ CLASS none/bei net/minecraft/client/gui/widget/WidgetButton
|
|||
FIELD i y I
|
||||
FIELD j text Ljava/lang/String;
|
||||
FIELD k id I
|
||||
FIELD l enabled Z
|
||||
FIELD m visible Z
|
||||
FIELD l enabled Z
|
||||
METHOD <init> (IIIIILjava/lang/String;)V
|
||||
ARG 0 id
|
||||
ARG 1 x
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
CLASS none/ahq net/minecraft/enchantment/Enchantments
|
||||
FIELD A MENDING Lnone/ahm;
|
||||
FIELD a PROTECTION Lnone/ahm;
|
||||
FIELD b FIRE_PROTECTION Lnone/ahm;
|
||||
FIELD c FEATHER_FALLING Lnone/ahm;
|
||||
FIELD d BLAST_PROTECTION Lnone/ahm;
|
||||
FIELD e PROJECTILE_PROTECTION Lnone/ahm;
|
||||
FIELD f RESPIRATION Lnone/ahm;
|
||||
FIELD g AQUA_AFFINITY Lnone/ahm;
|
||||
FIELD h THORNS Lnone/ahm;
|
||||
FIELD i DEPTH_STRIDER Lnone/ahm;
|
||||
FIELD j FROST_WALKER Lnone/ahm;
|
||||
FIELD k SHARPNESS Lnone/ahm;
|
||||
FIELD l SMITE Lnone/ahm;
|
||||
FIELD m BANE_OF_ARTHROPODS Lnone/ahm;
|
||||
FIELD n KNOCKBACK Lnone/ahm;
|
||||
FIELD o FIRE_ASPECT Lnone/ahm;
|
||||
FIELD p LOOTING Lnone/ahm;
|
||||
FIELD q EFFICIENCY Lnone/ahm;
|
||||
FIELD r SILK_TOUCH Lnone/ahm;
|
||||
FIELD s UNBREAKING Lnone/ahm;
|
||||
FIELD t FORTUNE Lnone/ahm;
|
||||
FIELD u POWER Lnone/ahm;
|
||||
FIELD v PUNCH Lnone/ahm;
|
||||
FIELD w FLAME Lnone/ahm;
|
||||
FIELD x INFINITY Lnone/ahm;
|
||||
FIELD y LUCK_OF_THE_SEA Lnone/ahm;
|
||||
FIELD z LURE Lnone/ahm;
|
||||
METHOD a getEnchantment (Ljava/lang/String;)Lnone/ahm;
|
||||
ARG 0 name
|
|
@ -79,6 +79,8 @@ CLASS none/aiu net/minecraft/world/World
|
|||
ARG 3 category
|
||||
ARG 4 volume
|
||||
ARG 5 pitch
|
||||
METHOD a init (Lnone/aix;)V
|
||||
ARG 0 info
|
||||
METHOD a registerWorldListener (Lnone/aiw;)V
|
||||
ARG 0 listener
|
||||
METHOD a (Lnone/arb;)Z
|
||||
|
@ -167,4 +169,4 @@ CLASS none/aiu net/minecraft/world/World
|
|||
METHOD y isReceivingRedstonePower (Lnone/cn;)Z
|
||||
ARG 0 pos
|
||||
METHOD z getReceivedRedstonePower (Lnone/cn;)I
|
||||
ARG 0 pos
|
||||
ARG 0 pos
|
|
@ -0,0 +1,31 @@
|
|||
CLASS none/aix net/minecraft/world/WorldInfo
|
||||
FIELD a seed J
|
||||
FIELD b gameMode Lnone/ais;
|
||||
FIELD c structures Z
|
||||
FIELD d hardcore Z
|
||||
FIELD e worldGenerator Lnone/aiz;
|
||||
FIELD f commands Z
|
||||
FIELD g bonusChest Z
|
||||
FIELD h worldName Ljava/lang/String;
|
||||
METHOD <init> (JLnone/ais;ZZLnone/aiz;)V
|
||||
ARG 0 seed
|
||||
ARG 1 gameMode
|
||||
ARG 2 structures
|
||||
ARG 3 hardcore
|
||||
ARG 4 worldGenerator
|
||||
METHOD <init> (Lnone/bar;)V
|
||||
ARG 0 worldProperties
|
||||
METHOD a setBonusChest ()Lnone/aix;
|
||||
METHOD a getGameModeById (I)Lnone/ais;
|
||||
ARG 0 id
|
||||
METHOD a setWorldName (Ljava/lang/String;)Lnone/aix;
|
||||
ARG 0 newName
|
||||
METHOD b enableCommands ()Lnone/aix;
|
||||
METHOD c hasBonusChest ()Z
|
||||
METHOD d getSeed ()J
|
||||
METHOD e getGameMode ()Lnone/ais;
|
||||
METHOD f isHardcore ()Z
|
||||
METHOD g hasStructures ()Z
|
||||
METHOD h getWorldGenerator ()Lnone/aiz;
|
||||
METHOD i allowCommands ()Z
|
||||
METHOD j getWorldName ()Ljava/lang/String;
|
|
@ -38,7 +38,7 @@ CLASS none/bar net/minecraft/world/WorldProperties
|
|||
FIELD v thundering Z
|
||||
FIELD w thunderTime I
|
||||
FIELD x gameMode Lnone/ais;
|
||||
FIELD y mapFeatures Z
|
||||
FIELD y structures Z
|
||||
FIELD z hardcore Z
|
||||
METHOD <init> (Lnone/bar;)V
|
||||
ARG 0 properties
|
||||
|
@ -123,8 +123,8 @@ CLASS none/bar net/minecraft/world/WorldProperties
|
|||
ARG 0 damage
|
||||
METHOD f setThunderTime (I)V
|
||||
ARG 0 thunderTime
|
||||
METHOD f setMapFeatures (Z)V
|
||||
ARG 0 mapFeatures
|
||||
METHOD f setStructures (Z)V
|
||||
ARG 0 structures
|
||||
METHOD g getWorldSize ()J
|
||||
METHOD g setRainTime (I)V
|
||||
ARG 0 rainTime
|
||||
|
@ -145,7 +145,7 @@ CLASS none/bar net/minecraft/world/WorldProperties
|
|||
METHOD o isRaining ()Z
|
||||
METHOD p getRainTime ()I
|
||||
METHOD q getGameMode ()Lnone/ais;
|
||||
METHOD r getMapFeatures ()Z
|
||||
METHOD r hasStructures ()Z
|
||||
METHOD s isHardcore ()Z
|
||||
METHOD t getWorldGenerator ()Lnone/aiz;
|
||||
METHOD u areCommandsAllowed ()Z
|
||||
|
|
|
@ -9,6 +9,8 @@ CLASS none/lu net/minecraft/world/WorldServer
|
|||
METHOD a scheduleOnMainThread (Ljava/lang/Runnable;)Lcom/google/common/util/concurrent/ListenableFuture;
|
||||
ARG 0 runnable
|
||||
METHOD a getEntityByUuid (Ljava/util/UUID;)Lnone/se;
|
||||
METHOD a init (Lnone/aix;)V
|
||||
ARG 0 info
|
||||
METHOD a spawnEntity (Lnone/se;)Z
|
||||
ARG 0 entity
|
||||
METHOD aE isMainThread ()Z
|
||||
|
|
|
@ -6,6 +6,9 @@ CLASS none/aut net/minecraft/world/chunk/generator/impl/ChunkGeneratorNether
|
|||
FIELD e GRAVEL Lnone/asj;
|
||||
FIELD f SOUL_SAND Lnone/asj;
|
||||
FIELD n world Lnone/aiu;
|
||||
FIELD o generateStructures Z
|
||||
METHOD <init> (Lnone/aiu;ZJ)V
|
||||
ARG 1 mapFeatures
|
||||
METHOD a generateChunk (II)Lnone/atm;
|
||||
ARG 0 x
|
||||
ARG 1 y
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
CLASS none/aix
|
||||
METHOD a setBonusChest ()Lnone/aix;
|
|
@ -56,7 +56,7 @@ CLASS none/bao
|
|||
METHOD o isRaining ()Z
|
||||
METHOD p getRainTime ()I
|
||||
METHOD q getGameMode ()Lnone/ais;
|
||||
METHOD r getMapFeatures ()Z
|
||||
METHOD r hasStructures ()Z
|
||||
METHOD s isHardcore ()Z
|
||||
METHOD t getWorldGenerator ()Lnone/aiz;
|
||||
METHOD u areCommandsAllowed ()Z
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
CLASS none/brk
|
||||
FIELD a LOGGER Lorg/apache/logging/log4j/Logger;
|
||||
FIELD b THREAD_FACTORY Ljava/util/concurrent/ThreadFactory;
|
||||
FIELD d workers Ljava/util/List;
|
|
@ -1,4 +1,6 @@
|
|||
CLASS none/lv
|
||||
FIELD a server Lnet/minecraft/server/MinecraftServer;
|
||||
FIELD b world Lnone/lu;
|
||||
METHOD a onSpawnParticle (IZDDDDDD[I)V
|
||||
METHOD a onPlaySound (Lnone/aak;Lnone/nk;Lnone/nm;DDDFF)V
|
||||
ARG 0 player
|
||||
|
@ -10,4 +12,4 @@ CLASS none/lv
|
|||
ARG 6 volume
|
||||
ARG 7 pitch
|
||||
METHOD a onEntitySpawn (Lnone/se;)V
|
||||
ARG 0 entity
|
||||
ARG 0 entity
|
Loading…
Reference in New Issue