Skip to content

Commit

Permalink
tooltip config
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Apr 17, 2024
1 parent 71a9f37 commit 617d830
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/unmapped/C_taebrtdw net/minecraft/client/item/TooltipType
CLASS net/minecraft/unmapped/C_taebrtdw net/minecraft/client/item/TooltipConfig
FIELD f_yceowjjc HIDE_ADVANCED_DETAILS Lnet/minecraft/unmapped/C_taebrtdw$C_vsiqutyg;
FIELD f_zuchejxz SHOW_ADVANCED_DETAILS Lnet/minecraft/unmapped/C_taebrtdw$C_vsiqutyg;
METHOD m_ecuysqaa shouldShowAdvancedDetails ()Z
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/component/DataComponentType.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ CLASS net/minecraft/unmapped/C_pscqxfcs net/minecraft/component/DataComponentTyp
METHOD m_dxcqrmbb getPacketCodec ()Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_lmuzailu isTransient ()Z
METHOD m_nuhzpkbr builder ()Lnet/minecraft/unmapped/C_pscqxfcs$C_pevyyrle;
METHOD m_phmolumw (Lnet/minecraft/unmapped/C_pscqxfcs;)Lcom/mojang/serialization/DataResult;
ARG 0 type
METHOD m_vuiayjln getCodecOrThrow ()Lcom/mojang/serialization/Codec;
METHOD m_xbswjdjj getCodec ()Lcom/mojang/serialization/Codec;
CLASS C_pevyyrle Builder
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/item/Item.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ CLASS net/minecraft/unmapped/C_vorddnax net/minecraft/item/Item
ARG 1 stack
ARG 2 context
ARG 3 tooltip
ARG 4 type
ARG 4 config
METHOD m_vptgdmsr getDrinkSound ()Lnet/minecraft/unmapped/C_avavozay;
METHOD m_wanuqhiu isUsedOnRelease (Lnet/minecraft/unmapped/C_sddaxwyk;)Z
ARG 1 stack
Expand Down
4 changes: 2 additions & 2 deletions mappings/net/minecraft/item/ItemStack.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ CLASS net/minecraft/unmapped/C_sddaxwyk net/minecraft/item/ItemStack
ARG 1 state
METHOD m_hdopgosb appendTooltip (Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_vorddnax$C_rdhfmrgz;Ljava/util/function/Consumer;Lnet/minecraft/unmapped/C_taebrtdw;)V
ARG 1 componentType
ARG 4 type
ARG 4 config
METHOD m_hmrpegvi onClickedOnOther (Lnet/minecraft/unmapped/C_nhvqfffd;Lnet/minecraft/unmapped/C_qcuteihm;Lnet/minecraft/unmapped/C_jzrpycqo;)Z
COMMENT Called when the stack is placed on another {@link ItemStack} in a slot.
COMMENT
Expand Down Expand Up @@ -296,7 +296,7 @@ CLASS net/minecraft/unmapped/C_sddaxwyk net/minecraft/item/ItemStack
METHOD m_ywdqmcbk getTooltip (Lnet/minecraft/unmapped/C_vorddnax$C_rdhfmrgz;Lnet/minecraft/unmapped/C_jzrpycqo;Lnet/minecraft/unmapped/C_taebrtdw;)Ljava/util/List;
ARG 1 context
ARG 2 player
ARG 3 type
ARG 3 config
METHOD m_zakagwqa set (Lnet/minecraft/unmapped/C_pscqxfcs;Ljava/lang/Object;)Ljava/lang/Object;
METHOD m_zpjrlkav onCraftByPlayer (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_jzrpycqo;I)V
ARG 1 world
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/item/TooltipAppender.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ CLASS net/minecraft/unmapped/C_lcgmmrzz net/minecraft/item/TooltipAppender
METHOD m_eqoeoqpg appendToTooltip (Lnet/minecraft/unmapped/C_vorddnax$C_rdhfmrgz;Ljava/util/function/Consumer;Lnet/minecraft/unmapped/C_taebrtdw;)V
ARG 1 context
ARG 2 tooltipConsumer
ARG 3 type
ARG 3 config

0 comments on commit 617d830

Please sign in to comment.