Data pack screen (#1419)

* Data pack screen

* Update DataPackScreen.mapping
This commit is contained in:
Yanis48 2020-06-07 16:21:23 +02:00 committed by GitHub
parent 0ebbc7b3a1
commit bcdd72dcbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 4 deletions

View File

@ -0,0 +1,11 @@
CLASS net/minecraft/class_5375 net/minecraft/client/gui/screen/pack/AbstractPackScreen
FIELD field_25464 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_25465 DROP_INFO Lnet/minecraft/class_2561;
FIELD field_25466 FOLDER_INFO Lnet/minecraft/class_2561;
FIELD field_25469 parent Lnet/minecraft/class_437;
FIELD field_25472 availablePackList Lnet/minecraft/class_521;
FIELD field_25473 selectedPackList Lnet/minecraft/class_521;
FIELD field_25475 doneButton Lnet/minecraft/class_4185;
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_2588;Ljava/util/function/Function;Ljava/util/function/Function;)V
ARG 1 parent
ARG 2 title

View File

@ -0,0 +1,4 @@
CLASS net/minecraft/class_5368 net/minecraft/client/gui/screen/pack/DataPackScreen
FIELD field_25446 UNKNOWN_PACK_TEXTURE Lnet/minecraft/class_2960;
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_5359;Ljava/util/function/BiConsumer;Ljava/io/File;)V
ARG 1 parent

View File

@ -1,6 +1,6 @@
CLASS net/minecraft/class_521 net/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget
CLASS net/minecraft/class_521 net/minecraft/client/gui/screen/pack/PackListWidget
FIELD field_18978 title Lnet/minecraft/class_2561;
FIELD field_19125 RESOURCE_PACKS_LOCATION Lnet/minecraft/class_2960;
FIELD field_19125 RESOURCE_PACKS_TEXTURE Lnet/minecraft/class_2960;
FIELD field_19126 INCOMPATIBLE Lnet/minecraft/class_2561;
FIELD field_19127 INCOMPATIBLE_CONFIRM Lnet/minecraft/class_2561;
METHOD <init> (Lnet/minecraft/class_310;IILnet/minecraft/class_2561;)V

View File

@ -1,4 +1,5 @@
CLASS net/minecraft/class_519 net/minecraft/client/gui/screen/resourcepack/ResourcePackOptionsScreen
CLASS net/minecraft/class_519 net/minecraft/client/gui/screen/pack/ResourcePackScreen
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_3283;Ljava/lang/Runnable;)V
ARG 1 parent
ARG 2 gameOptions
ARG 3 packManager

View File

@ -34,7 +34,9 @@ CLASS net/minecraft/class_350 net/minecraft/client/gui/widget/EntryListWidget
ARG 2 y
METHOD method_25311 renderList (Lnet/minecraft/class_4587;IIIIF)V
METHOD method_25312 renderHeader (Lnet/minecraft/class_4587;IILnet/minecraft/class_289;)V
ARG 2 y
ARG 1 matrices
ARG 2 x
ARG 3 y
METHOD method_25313 setSelected (Lnet/minecraft/class_350$class_351;)V
ARG 1 entry
METHOD method_25314 replaceEntries (Ljava/util/Collection;)V