Inventory and Gui Mappings (#59)

* Inventory and Gui Mappings

* Inventory and Gui Mappings

* Revert Sounds.mapping change that I didnt do

* Add back sounds, not sure what is up with this

* Fixed some issues with mappings

* Enigma is annoying sometimes

* Fix field name issue

* Fix sound mappings again..

* Fix a few issues
This commit is contained in:
Modmuss50 2016-08-30 22:10:38 +01:00 committed by Adrian Siekierka
parent 0c9cde4c96
commit af745071cf
9 changed files with 69 additions and 5 deletions

View File

@ -15,6 +15,11 @@ CLASS none/bhc net/minecraft/client/gui/GuiContainer
ARG 2 mouseY
METHOD a draw (IIF)V
METHOD a handleMouseClick (III)V
METHOD a onMouseClick (Lnone/act;IILnone/abz;)V
ARG 0 slot
ARG 1 invSlot
ARG 2 button
ARG 3 type
METHOD b init ()V
METHOD b drawForeground (II)V
ARG 0 mouseX

View File

@ -1,12 +1,18 @@
CLASS none/bhl
CLASS none/bhl$a
CLASS none/bhl net/minecraft/client/gui/ingame/GuiCreativeInventory
CLASS none/bhl$a ContainerCreative
FIELD a itemList Lnone/dc;
METHOD <init> (Lnone/aak;)V
ARG 0 player
METHOD a canUse (Lnone/aak;)Z
ARG 0 player
METHOD b getStack (Lnone/aak;I)Lnone/aeq;
ARG 0 player
ARG 1 slot
CLASS none/bhl$b
CLASS none/bhl$b CreativeSlot
FIELD b slot Lnone/act;
METHOD a getMaxStackSize ()I
METHOD a (Lnone/aak;)Z
ARG 0 player
METHOD a (Lnone/aeq;)Z
ARG 0 stack
METHOD a matches (Lnone/qt;I)Z
@ -19,16 +25,30 @@ CLASS none/bhl
METHOD d setStack (Lnone/aeq;)V
METHOD e hasStack ()Z
METHOD f markDirty ()V
FIELD A searchBox Lnone/bem;
FIELD D clearText Z
FIELD u BG_TEX Lnone/kp;
FIELD v inventory Lnone/ri;
FIELD w selectedTab I
METHOD <init> (Lnone/aak;)V
ARG 0 player
METHOD a handleKeyPress (CI)V
METHOD a drawBackground (FII)V
METHOD a draw (IIF)V
METHOD a handleMouseClick (III)V
METHOD a onMouseClick (Lnone/act;IILnone/abz;)V
ARG 0 slot
ARG 1 invSlot
ARG 2 button
ARG 3 type
METHOD a drawStackTooltip (Lnone/aeq;II)V
METHOD a handleButtonPressed (Lnone/bei;)V
METHOD b init ()V
METHOD b drawForeground (II)V
ARG 0 mouseX
ARG 1 mouseY
METHOD b setSelectedTab (Lnone/adq;)V
ARG 0 tab
METHOD e update ()V
METHOD k handleMouseEvent ()V
METHOD m onClosed ()V

View File

@ -1,6 +1,10 @@
CLASS none/bht
CLASS none/bht net/minecraft/client/gui/ingame/GuiInventory
METHOD <init> (Lnone/aak;)V
ARG 0 player
METHOD a drawBackground (FII)V
METHOD a draw (IIF)V
METHOD a drawEntity (IIIFFLnone/sn;)V
ARG 5 entity
METHOD a handleButtonPressed (Lnone/bei;)V
METHOD b init ()V
METHOD b drawForeground (II)V

View File

@ -0,0 +1,17 @@
CLASS none/bem net/minecraft/client/gui/widget/WidgetTextField
FIELD a x I
FIELD f y I
FIELD g id I
FIELD h fontRenderer Lnone/bec;
FIELD i width I
FIELD j height I
FIELD k text Ljava/lang/String;
METHOD <init> (ILnone/bec;IIII)V
ARG 0 id
ARG 1 fontRenderer
ARG 2 x
ARG 3 y
ARG 4 width
ARG 5 height
METHOD a setText (Ljava/lang/String;)V
ARG 0 text

View File

@ -2,6 +2,8 @@ CLASS none/abw net/minecraft/container/impl/ContainerAnvil
CLASS none/abw$1
METHOD u_ markDirty ()V
CLASS none/abw$2
METHOD a (Lnone/aak;)Z
ARG 0 player
METHOD a (Lnone/aeq;)Z
ARG 0 stack
FIELD f LOGGER Lorg/apache/logging/log4j/Logger;

View File

@ -6,6 +6,8 @@ CLASS none/act net/minecraft/container/slot/Slot
ARG 0 inventory
ARG 1 invSlot
METHOD a getMaxStackSize ()I
METHOD a (Lnone/aak;)Z
ARG 0 player
METHOD a (Lnone/aeq;)Z
ARG 0 stack
METHOD a matches (Lnone/qt;I)Z

View File

@ -46,6 +46,8 @@ CLASS none/adq net/minecraft/gui/CreativeTab
METHOD a getId ()I
METHOD a setTexture (Ljava/lang/String;)Lnone/adq;
ARG 0 texture
METHOD a getStacksForDisplay (Lnone/dc;)V
ARG 0 stackList
METHOD b getUntranslatedName ()Ljava/lang/String;
METHOD c getTranslationKey ()Ljava/lang/String;
METHOD d getIconItemStack ()Lnone/aeq;

View File

@ -1,4 +1,12 @@
CLASS none/ri
CLASS none/ri net/minecraft/inventory/Inventory
FIELD a name Ljava/lang/String;
FIELD b size I
FIELD c stackList Lnone/dc;
FIELD e customNamed Z
METHOD <init> (Ljava/lang/String;ZI)V
ARG 0 name
ARG 1 customNamed
ARG 2 size
METHOD a getInvStack (I)Lnone/aeq;
ARG 0 slot
METHOD a takeInvStack (II)Lnone/aeq;
@ -7,6 +15,8 @@ CLASS none/ri
METHOD a setInvStack (ILnone/aeq;)V
ARG 0 slot
ARG 1 stack
METHOD a setName (Ljava/lang/String;)V
ARG 0 name
METHOD a canPlayerUseInv (Lnone/aak;)Z
ARG 0 player
METHOD b removeInvStack (I)Lnone/aeq;

View File

@ -0,0 +1,2 @@
CLASS none/bmd
METHOD h isCreativeMode ()Z