Item mappings (#310)

* Add ArmorMaterial.getEnchantability()

* Add the firework type enum

* FireworkChargeItem's static methods

* BucketItem and FishBucketItem

* Add crop mapping to SeedsItem
This commit is contained in:
Juuxel 2018-12-16 00:14:11 +02:00 committed by Adrian Siekierka
parent 9931775d94
commit 67865937a5
7 changed files with 47 additions and 0 deletions

View File

@ -1,4 +1,5 @@
CLASS auj net/minecraft/item/ArmorMaterial
METHOD a getEnchantability ()I
METHOD a getDurability (Laha;)I
METHOD b getEquipSound ()Lxm;
METHOD b getProtectionAmount (Laha;)I

View File

@ -3,9 +3,11 @@ CLASS auk net/minecraft/item/ArmorMaterials
FIELD h name Ljava/lang/String;
FIELD i durability I
FIELD j protectionAmounts [I
FIELD k enchantability I
FIELD l equipSound Lxm;
FIELD m toughness F
FIELD n repairIngredientSupplier Lyt;
METHOD a getEnchantability ()I
METHOD a getDurability (Laha;)I
METHOD b getEquipSound ()Lxm;
METHOD b getProtectionAmount (Laha;)I

View File

@ -1,4 +1,13 @@
CLASS ava net/minecraft/item/BucketItem
METHOD a playEmptyingSound (Larb;Lbbq;Let;)V
ARG 1 player
ARG 2 world
ARG 3 pos
METHOD a getStackAfterUse (Lawo;Larb;)Lawo;
METHOD a use (Lbbp;Larb;Lafo;)Lafr;
ARG 1 world
ARG 2 player
METHOD a onEmptied (Lbbp;Lawo;Let;)V
ARG 1 world
ARG 2 stack
ARG 3 pos

View File

@ -5,3 +5,6 @@ CLASS avz net/minecraft/item/FireworkChargeItem
ARG 1 stack
ARG 2 world
ARG 3 tooltip
METHOD a buildTooltip (Lhs;Ljava/util/List;)V
METHOD a appendColorNames (Ljd;[I)Ljd;
ARG 1 colors

View File

@ -1,4 +1,18 @@
CLASS avy net/minecraft/item/FireworksItem
CLASS avy$a Type
FIELD f TYPES [Lavy$a;
FIELD g id I
FIELD h name Ljava/lang/String;
METHOD <clinit> ()V
ARG 0 type
METHOD <init> (Ljava/lang/String;IILjava/lang/String;)V
ARG 3 id
ARG 4 name
METHOD a getId ()I
METHOD a fromId (I)Lavy$a;
ARG 0 id
METHOD b getName ()Ljava/lang/String;
METHOD values ()[Lavy$a;
METHOD a buildTooltip (Lawo;Lbbp;Ljava/util/List;Laxy;)V
ARG 1 stack
ARG 2 world

View File

@ -1,5 +1,22 @@
CLASS awa net/minecraft/item/FishBucketItem
FIELD a fishType Lagz;
METHOD <init> (Lagz;Lcfc;Lawj$a;)V
ARG 1 fishType
ARG 2 fluid
ARG 3 settings
METHOD a playEmptyingSound (Larb;Lbbq;Let;)V
ARG 1 player
ARG 2 world
ARG 3 pos
METHOD a buildTooltip (Lawo;Lbbp;Ljava/util/List;Laxy;)V
ARG 1 stack
ARG 2 world
ARG 3 tooltip
METHOD a onEmptied (Lbbp;Lawo;Let;)V
ARG 1 world
ARG 2 stack
ARG 3 pos
METHOD b spawnFish (Lbbp;Lawo;Let;)V
ARG 1 world
ARG 2 stack
ARG 3 pos

View File

@ -1,2 +1,3 @@
CLASS axg net/minecraft/item/SeedsItem
FIELD a crop Lbpm;
METHOD a useOnBlock (Layb;)Lafq;