mirror of https://github.com/FabricMC/yarn.git
Map item methods (#2167)
This commit is contained in:
parent
1a503e5e50
commit
a8f9c00fa0
|
@ -1,5 +1,7 @@
|
||||||
CLASS net/minecraft/class_5537 net/minecraft/item/BundleItem
|
CLASS net/minecraft/class_5537 net/minecraft/item/BundleItem
|
||||||
FIELD field_27016 ITEM_BAR_COLOR I
|
FIELD field_27016 ITEM_BAR_COLOR I
|
||||||
|
METHOD method_31558 (Lnet/minecraft/class_1799;Lnet/minecraft/class_2487;)Z
|
||||||
|
ARG 1 item
|
||||||
METHOD method_31560 addToBundle (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)I
|
METHOD method_31560 addToBundle (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)I
|
||||||
ARG 0 bundle
|
ARG 0 bundle
|
||||||
ARG 1 stack
|
ARG 1 stack
|
||||||
|
@ -9,10 +11,15 @@ CLASS net/minecraft/class_5537 net/minecraft/item/BundleItem
|
||||||
ARG 0 stack
|
ARG 0 stack
|
||||||
METHOD method_31563 getBundleOccupancy (Lnet/minecraft/class_1799;)I
|
METHOD method_31563 getBundleOccupancy (Lnet/minecraft/class_1799;)I
|
||||||
ARG 0 stack
|
ARG 0 stack
|
||||||
|
METHOD method_32344 canMergeStack (Lnet/minecraft/class_1799;Lnet/minecraft/class_2499;)Ljava/util/Optional;
|
||||||
|
ARG 0 stack
|
||||||
|
ARG 1 items
|
||||||
METHOD method_32345 getBundledStacks (Lnet/minecraft/class_1799;)Ljava/util/stream/Stream;
|
METHOD method_32345 getBundledStacks (Lnet/minecraft/class_1799;)Ljava/util/stream/Stream;
|
||||||
ARG 0 stack
|
ARG 0 stack
|
||||||
METHOD method_32757 dropAllBundledItems (Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;)Z
|
METHOD method_32757 dropAllBundledItems (Lnet/minecraft/class_1799;Lnet/minecraft/class_1657;)Z
|
||||||
ARG 0 stack
|
ARG 0 stack
|
||||||
ARG 1 player
|
ARG 1 player
|
||||||
|
METHOD method_32758 (Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;Lnet/minecraft/class_1799;)V
|
||||||
|
ARG 2 removedStack
|
||||||
METHOD method_32759 removeFirstStack (Lnet/minecraft/class_1799;)Ljava/util/Optional;
|
METHOD method_32759 removeFirstStack (Lnet/minecraft/class_1799;)Ljava/util/Optional;
|
||||||
ARG 0 stack
|
ARG 0 stack
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
CLASS net/minecraft/class_5633 net/minecraft/item/FluidModificationItem
|
CLASS net/minecraft/class_5633 net/minecraft/item/FluidModificationItem
|
||||||
METHOD method_7728 onEmptied (Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;)V
|
METHOD method_7728 onEmptied (Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;Lnet/minecraft/class_2338;)V
|
||||||
|
ARG 1 player
|
||||||
|
ARG 2 world
|
||||||
|
ARG 3 stack
|
||||||
|
ARG 4 pos
|
||||||
METHOD method_7731 placeFluid (Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3965;)Z
|
METHOD method_7731 placeFluid (Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_3965;)Z
|
||||||
ARG 1 player
|
ARG 1 player
|
||||||
ARG 2 world
|
ARG 2 world
|
||||||
|
|
|
@ -33,9 +33,17 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
||||||
METHOD method_19267 isFood ()Z
|
METHOD method_19267 isFood ()Z
|
||||||
METHOD method_21832 getDrinkSound ()Lnet/minecraft/class_3414;
|
METHOD method_21832 getDrinkSound ()Lnet/minecraft/class_3414;
|
||||||
METHOD method_21833 getEatSound ()Lnet/minecraft/class_3414;
|
METHOD method_21833 getEatSound ()Lnet/minecraft/class_3414;
|
||||||
|
METHOD method_26963 (Ljava/text/DecimalFormat;)V
|
||||||
|
ARG 0 decimalFormat
|
||||||
METHOD method_27319 getHolder ()Lnet/minecraft/class_1297;
|
METHOD method_27319 getHolder ()Lnet/minecraft/class_1297;
|
||||||
METHOD method_27320 setHolder (Lnet/minecraft/class_1297;)V
|
METHOD method_27320 setHolder (Lnet/minecraft/class_1297;)V
|
||||||
ARG 1 holder
|
ARG 1 holder
|
||||||
|
METHOD method_28377 (Lnet/minecraft/class_1799;)Ljava/util/Optional;
|
||||||
|
ARG 0 stack
|
||||||
|
METHOD method_28378 (Lnet/minecraft/class_1799;)Ljava/lang/Integer;
|
||||||
|
ARG 0 stack
|
||||||
|
METHOD method_28379 (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1792;
|
||||||
|
ARG 0 stack
|
||||||
METHOD method_30266 getHideFlags ()I
|
METHOD method_30266 getHideFlags ()I
|
||||||
METHOD method_30267 isSectionVisible (ILnet/minecraft/class_1799$class_5422;)Z
|
METHOD method_30267 isSectionVisible (ILnet/minecraft/class_1799$class_5422;)Z
|
||||||
COMMENT Determines whether the given tooltip section will be visible according to the given flags.
|
COMMENT Determines whether the given tooltip section will be visible according to the given flags.
|
||||||
|
|
|
@ -6,3 +6,5 @@ CLASS net/minecraft/class_1810 net/minecraft/item/PickaxeItem
|
||||||
ARG 2 attackDamage
|
ARG 2 attackDamage
|
||||||
ARG 3 attackSpeed
|
ARG 3 attackSpeed
|
||||||
ARG 4 settings
|
ARG 4 settings
|
||||||
|
METHOD method_31581 (Lit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;)V
|
||||||
|
ARG 0 miningLevels
|
||||||
|
|
Loading…
Reference in New Issue