Mapping for potions and trades factories (#599)

* Mapping for potions and trades

* Remove extra r
This commit is contained in:
Uriel Salischiker 2019-04-07 09:13:16 +02:00 committed by Gegy
parent 5048461b98
commit 94d5e5ddf9
3 changed files with 63 additions and 0 deletions

View File

@ -3,6 +3,9 @@ CLASS bdg net/minecraft/potion/Potion
FIELD b effectList Lcom/google/common/collect/ImmutableList;
METHOD <init> (Ljava/lang/String;[Lahu;)V
ARG 1 name
ARG 2 effects
METHOD <init> ([Lahu;)V
ARG 1 effects
METHOD a getEffects ()Ljava/util/List;
METHOD a byId (Ljava/lang/String;)Lbdg;
ARG 0 id

View File

@ -1,2 +1,3 @@
CLASS bdj net/minecraft/potion/Potions
METHOD a register (Ljava/lang/String;Lbdg;)Lbdg;
ARG 0 name

View File

@ -4,6 +4,12 @@ CLASS avf net/minecraft/village/Trades
FIELD b price I
FIELD c maxUses I
FIELD d experience I
METHOD <init> (Lbbm;I)V
ARG 2 price
METHOD <init> (Lbbm;III)V
ARG 2 price
ARG 3 maxUses
ARG 4 experience
METHOD a getDye (Ljava/util/Random;)Lbap;
CLASS avf$b BuyForOneEmeraldFactory
FIELD a buy Lbbm;
@ -11,19 +17,36 @@ CLASS avf net/minecraft/village/Trades
FIELD c maxUses I
FIELD d experience I
FIELD e multiplier F
METHOD <init> (Lbgw;III)V
ARG 2 price
ARG 3 maxUses
ARG 4 experience
CLASS avf$c TypeAwareBuyForOneEmeraldFactory
FIELD a map Ljava/util/Map;
FIELD b count I
FIELD c maxUses I
FIELD d experience I
METHOD <init> (IIILjava/util/Map;)V
ARG 3 experience
CLASS avf$d EnchantBookFactory
FIELD a experience I
METHOD <init> (I)V
ARG 1 experience
CLASS avf$e SellEnchantedToolFactory
FIELD a tool Lbbr;
FIELD b basePrice I
FIELD c maxUses I
FIELD d experience I
FIELD e multiplier F
METHOD <init> (Lbbm;III)V
ARG 2 basePrice
ARG 3 maxUses
ARG 4 experience
METHOD <init> (Lbbm;IIIF)V
ARG 2 basePrice
ARG 3 maxUses
ARG 4 experience
ARG 5 multiplier
CLASS avf$f Factory
METHOD a create (Laia;Ljava/util/Random;)Lbgb;
CLASS avf$g ProcessItemFactory
@ -35,6 +58,19 @@ CLASS avf net/minecraft/village/Trades
FIELD f maxUses I
FIELD g experience I
FIELD h multiplier F
METHOD <init> (Lbgw;IILbbm;III)V
ARG 2 secondCount
ARG 3 price
ARG 4 sellItem
ARG 5 sellCount
ARG 6 maxUses
ARG 7 experience
METHOD <init> (Lbgw;ILbbm;III)V
ARG 2 secondCount
ARG 3 sellItem
ARG 4 sellCount
ARG 5 maxUses
ARG 6 experience
CLASS avf$h SellItemFactory
FIELD a sell Lbbr;
FIELD b price I
@ -42,11 +78,20 @@ CLASS avf net/minecraft/village/Trades
FIELD d maxUses I
FIELD e experience I
FIELD f multiplier F
METHOD <init> (Lbbr;IIIIF)V
ARG 2 price
ARG 3 count
ARG 4 maxUses
ARG 5 experience
ARG 6 multiplier
CLASS avf$i SellSuspiciousStewFactory
FIELD a effect Lahs;
FIELD b duration I
FIELD c experience I
FIELD d multiplier F
METHOD <init> (Lahs;II)V
ARG 2 duration
ARG 3 experience
CLASS avf$j SellPotionHoldingItemFactory
FIELD a sell Lbbr;
FIELD b sellCount I
@ -56,12 +101,26 @@ CLASS avf net/minecraft/village/Trades
FIELD f secondBuy Lbbm;
FIELD g secondCount I
FIELD h priceMultiplier F
METHOD <init> (Lbbm;ILbbm;IIII)V
ARG 1 arrow
ARG 2 secondCount
ARG 3 tippedArrow
ARG 4 sellCount
ARG 5 price
ARG 6 maxUses
ARG 7 experience
CLASS avf$k SellMapFactory
FIELD a price I
FIELD b structure Ljava/lang/String;
FIELD c iconType Lcni$a;
FIELD d maxUses I
FIELD e experience I
METHOD <init> (ILjava/lang/String;Lcni$a;II)V
ARG 1 price
ARG 2 structure
ARG 3 iconType
ARG 4 maxUses
ARG 5 experience
FIELD a PROFESSION_TO_LEVELED_TRADE Ljava/util/Map;
FIELD b WANDERING_TRADER_TRADES Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
METHOD a copyToFastUtilMap (Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;