(Nearly) complete MainMenuScreen and Container mappings (#513)

This commit is contained in:
HoLLy 2019-03-05 14:54:45 +01:00 committed by Adrian Siekierka
parent ed84e8d284
commit a4ec05171d
7 changed files with 69 additions and 3 deletions

View File

@ -1,4 +1,17 @@
CLASS cwe net/minecraft/client/gui/ContainerScreen
FIELD A touchDragStack Laxx;
FIELD B touchDropX I
FIELD C touchDropY I
FIELD D touchDropOriginSlot Lavi;
FIELD E touchDropTime J
FIELD F touchDropReturningStack Laxx;
FIELD G touchHoveredSlot Lavi;
FIELD H touchDropTimer J
FIELD I heldButtonType I
FIELD J heldButtonCode I
FIELD M lastButtonClickTime J
FIELD N lastClickedSlot Lavi;
FIELD O lastClickedButton I
FIELD a BACKGROUND_TEXTURE Lqi;
FIELD b width I
FIELD g height I
@ -9,27 +22,34 @@ CLASS cwe net/minecraft/client/gui/ContainerScreen
FIELD u top I
FIELD v focusedSlot Lavi;
FIELD w slots Ljava/util/Set;
FIELD y touchDragSlotStart Lavi;
FIELD z touchIsRightClickDrag Z
METHOD <init> (Latu;Lary;Lji;)V
ARG 3 name
METHOD a getSlotAt (DD)Lavi;
ARG 1 xPosition
ARG 3 yPosition
METHOD a isClickOutsideBounds (DDIII)Z
ARG 1 mouseX
ARG 3 mouseY
ARG 5 left
ARG 6 top
METHOD a drawBackground (FII)V
ARG 1 mouseX
ARG 2 mouseY
ARG 3 delta
ARG 1 delta
ARG 2 mouseX
ARG 3 mouseY
METHOD a isPointWithinBounds (IIIIDD)Z
ARG 1 xPosition
ARG 2 yPosition
ARG 3 width
ARG 4 height
ARG 5 pointX
ARG 7 pointY
METHOD a drawSlot (Lavi;)V
METHOD a isPointOverSlot (Lavi;DD)Z
ARG 1 slot
ARG 2 pointX
ARG 4 pointY
METHOD a onMouseClick (Lavi;IILauc;)V
ARG 1 slot
ARG 2 invSlot
@ -38,11 +58,14 @@ CLASS cwe net/minecraft/client/gui/ContainerScreen
ARG 1 stack
ARG 2 xPosition
ARG 3 yPosition
ARG 4 amountText
METHOD b drawMouseoverTooltip (II)V
ARG 1 mouseX
ARG 2 mouseY
METHOD c drawForeground (II)V
ARG 1 mouseX
ARG 2 mouseY
METHOD d handleHotbarKeyPressed (II)Z
ARG 1 keyCode
ARG 2 scanCode
METHOD j calculateOffset ()V

View File

@ -0,0 +1,8 @@
CLASS dgb net/minecraft/client/gui/CubeMapRenderer
FIELD a faces [Lqi;
METHOD <init> (Lqi;)V
ARG 1 faces
METHOD a draw (Lcqx;FFF)V
ARG 2 x
ARG 3 y
ARG 4 alpha

View File

@ -2,3 +2,4 @@ CLASS cst net/minecraft/client/gui/Drawable
METHOD a draw (IIF)V
ARG 1 mouseX
ARG 2 mouseY
ARG 3 delta

View File

@ -11,7 +11,15 @@ CLASS crr net/minecraft/client/gui/DrawableHelper
ARG 5 width
ARG 6 height
METHOD a drawTexturedRect (IIFFIIFF)V
ARG 0 x
ARG 1 y
ARG 4 width
ARG 5 height
METHOD a drawTexturedRect (IIFFIIIIFF)V
ARG 0 x
ARG 1 y
ARG 6 width
ARG 7 height
METHOD a drawHorizontalLine (IIII)V
ARG 1 left
ARG 2 right

View File

@ -5,9 +5,18 @@ CLASS cvo net/minecraft/client/gui/MainMenuScreen
FIELD D warningLink Ljava/lang/String;
FIELD E MINECRAFT_TITLE_TEXTURE Lqi;
FIELD F EDITION_TITLE_TEXTURE Lqi;
FIELD G realmsNotificationsInitialized Z
FIELD H realmsNotificationGui Lcvj;
FIELD I copyrightTextWidth I
FIELD J copyrightTextX I
FIELD K backgroundRenderer Ldgo;
FIELD L doBackgroundFade Z
FIELD M backgroundFadeStart J
FIELD a panoramaCubeMap Ldgb;
FIELD b OUTDATED_GL_TEXT Ljava/lang/String;
FIELD g panoramaOverlay Lqi;
FIELD i splashText Ljava/lang/String;
FIELD s buttonOptions Lcsa;
FIELD t buttonResetDemo Lcsa;
FIELD u mutex Ljava/lang/Object;
FIELD v warningTextWidth I
@ -15,7 +24,13 @@ CLASS cvo net/minecraft/client/gui/MainMenuScreen
FIELD x warningAlignLeft I
FIELD y warningAlignTop I
FIELD z warningAlignRight I
METHOD <init> (Z)V
ARG 1 doBackgroundFade
METHOD b initWidgetsNormal (II)V
ARG 1 y
ARG 2 spacingY
METHOD c initWidgetsDemo (II)V
ARG 1 y
ARG 2 spacingY
METHOD i areRealmsNotificationsEnabled ()Z
METHOD j switchToRealms ()V

View File

@ -0,0 +1,9 @@
CLASS dgo net/minecraft/client/gui/RotatingCubeMapRenderer
FIELD a client Lcqx;
FIELD b cubeMap Ldgb;
FIELD c time F
METHOD <init> (Ldgb;)V
ARG 1 cubeMap
METHOD a render (FF)V
ARG 1 delta
ARG 2 alpha

View File

@ -56,11 +56,13 @@ CLASS dlw net/minecraft/client/render/item/ItemRenderer
ARG 1 fontRenderer
ARG 2 stack
ARG 3 x
ARG 4 y
METHOD a renderGuiItemOverlay (Lcrp;Laxx;IILjava/lang/String;)V
ARG 1 fontRenderer
ARG 2 stack
ARG 3 x
ARG 4 y
ARG 5 amountText
METHOD a areFacesFlippedBy (Ldhp;)Z
METHOD a renderGlint (Ldqd;Ljava/lang/Runnable;I)V
ARG 1 renderer