Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete nearly everything in item #623

Merged
merged 4 commits into from
Aug 4, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mappings/net/minecraft/item/BlockItem.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ CLASS net/minecraft/unmapped/C_xildsmsj net/minecraft/item/BlockItem
ARG 1 context
ARG 2 state
METHOD m_pfrexuhf getBlock ()Lnet/minecraft/unmapped/C_mmxmpdoq;
METHOD m_qdsiagsk copyComponentsToBlockEntity (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_hynzadkk;Lnet/minecraft/unmapped/C_sddaxwyk;)V
METHOD m_rmqtckdr appendBlocks (Ljava/util/Map;Lnet/minecraft/unmapped/C_vorddnax;)V
ARG 1 map
ARG 2 item
Expand Down
21 changes: 21 additions & 0 deletions mappings/net/minecraft/item/CrossbowItem.mapping
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
CLASS net/minecraft/unmapped/C_fatxcdqp net/minecraft/item/CrossbowItem
FIELD f_afejkznv LOADING_SOUNDS Lnet/minecraft/unmapped/C_fatxcdqp$C_ldycibmo;
FIELD f_cbjxbbpk loaded Z
FIELD f_dshfujib RANGE I
FIELD f_gmdsjqiu CHARGE_PERCENT_START_CHARGING_SOUND F
FIELD f_hpqusjno FIREWORK_POWER F
FIELD f_jdxaczjr ARROW_POWER F
FIELD f_segrmdbr CHARGE_PERCENT_MID_CHARGE_SOUND F
FIELD f_tlhpgdvo MAX_LOAD_TIME F
FIELD f_xcgsrusg charged Z
METHOD m_bpqnhzpy getProjectileVelocity (Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_vgpupfxx;F)Lorg/joml/Vector3f;
ARG 0 shooter
ARG 1 direction
ARG 2 yaw
METHOD m_btbqnuxf shootAll (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_laxmzoqs;Lnet/minecraft/unmapped/C_sddaxwyk;FFLnet/minecraft/unmapped/C_usxaxydn;)V
ARG 1 world
ARG 2 entity
Expand All @@ -14,13 +20,28 @@ CLASS net/minecraft/unmapped/C_fatxcdqp net/minecraft/item/CrossbowItem
ARG 5 speed
ARG 6 divergence
ARG 7 target
METHOD m_ekggjwco (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_cjzoxshv;)V
ARG 2 soundEvent
METHOD m_hrqmkzir (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_cjzoxshv;)V
ARG 2 soundEvent
METHOD m_jwwdtsib getLoadingTime (Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_usxaxydn;)I
METHOD m_ngfgtwfo (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_cjzoxshv;)V
ARG 2 soundEvent
METHOD m_pfmniexj getSpeed (Lnet/minecraft/unmapped/C_lukqwasx;)F
ARG 0 component
METHOD m_rdfsfcdp getLoadingSounds (Lnet/minecraft/unmapped/C_sddaxwyk;)Lnet/minecraft/unmapped/C_fatxcdqp$C_ldycibmo;
METHOD m_tgjukcva loadProjectiles (Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_sddaxwyk;)Z
ARG 0 shooter
ARG 1 projectile
METHOD m_tmspkiwg getSoundPitch (ZLnet/minecraft/unmapped/C_rlomrsco;)F
ARG 0 flag
ARG 1 random
METHOD m_uhdfuuhv getSoundPitch (Lnet/minecraft/unmapped/C_rlomrsco;I)F
ARG 1 index
METHOD m_wiqutonr isCharged (Lnet/minecraft/unmapped/C_sddaxwyk;)Z
ARG 0 stack
METHOD m_xefbydko getLoadingProgress (ILnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_usxaxydn;)F
ARG 0 usedTime
CLASS C_ldycibmo LoadingSounds
METHOD m_dvaiaquf (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 loadingSounds
diacritics-owo marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 4 additions & 0 deletions mappings/net/minecraft/item/Item.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ CLASS net/minecraft/unmapped/C_vorddnax net/minecraft/item/Item
METHOD <init> (Lnet/minecraft/unmapped/C_vorddnax$C_bfrytpdl;)V
ARG 1 settings
METHOD m_bdsymcbv getName ()Lnet/minecraft/unmapped/C_rdaqiwdt;
METHOD m_bhfktmca getDamage (Lnet/minecraft/unmapped/C_astfners;FLnet/minecraft/unmapped/C_sbxfkpyv;)F
diacritics-owo marked this conversation as resolved.
Show resolved Hide resolved
ARG 1 target
ARG 2 damage
ARG 3 damageSource
METHOD m_ckolblsl onCraft (Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_cdctfzbn;)V
COMMENT Called when the item is made by crafting, smelting, smithing, etc.
METHOD m_cnsoybmp postMine (Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_txtbiemp;Lnet/minecraft/unmapped/C_hynzadkk;Lnet/minecraft/unmapped/C_usxaxydn;)Z
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/item/ItemGroup.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CLASS net/minecraft/unmapped/C_lnokcayd net/minecraft/item/ItemGroup
METHOD m_tpgpleic getLocation ()Lnet/minecraft/unmapped/C_lnokcayd$C_qwchbyug;
METHOD m_uprbbsoi getIcon ()Lnet/minecraft/unmapped/C_sddaxwyk;
METHOD m_ymtjsafh getInventoryTexture (Ljava/lang/String;)Lnet/minecraft/unmapped/C_ncpywfca;
ARG 0 id
CLASS C_ggmpmosl Builder
FIELD f_bnicdaud name Lnet/minecraft/unmapped/C_rdaqiwdt;
FIELD f_dawilwid special Z
Expand Down
10 changes: 10 additions & 0 deletions mappings/net/minecraft/item/ItemStack.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ CLASS net/minecraft/unmapped/C_sddaxwyk net/minecraft/item/ItemStack
ARG 1 state
METHOD m_mwcbjbmu getTooltipData ()Ljava/util/Optional;
METHOD m_mwztqdza getEatSound ()Lnet/minecraft/unmapped/C_avavozay;
METHOD m_mylhxlkj (Ljava/lang/String;)V
ARG 0 error
METHOD m_nisvbeaw applyEnchantment (Lnet/minecraft/unmapped/C_cjzoxshv;I)V
ARG 1 enchantment
ARG 2 level
Expand All @@ -224,6 +226,7 @@ CLASS net/minecraft/unmapped/C_sddaxwyk net/minecraft/item/ItemStack
COMMENT {@return the length of the filled section of the durability bar in pixels (out of 13)}
METHOD m_pocwrlzm (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
METHOD m_poxxatoa postHit (Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_jzrpycqo;)Z
METHOD m_pqebapbo getHolder ()Lnet/minecraft/unmapped/C_cjzoxshv;
METHOD m_puozqtwx (Lnet/minecraft/unmapped/C_cjzoxshv;)Lcom/mojang/serialization/DataResult;
ARG 0 holder
Expand All @@ -232,6 +235,8 @@ CLASS net/minecraft/unmapped/C_sddaxwyk net/minecraft/item/ItemStack
METHOD m_qjandoiq (Lnet/minecraft/unmapped/C_cjzoxshv;Lnet/minecraft/unmapped/C_jqyoylib;)Lnet/minecraft/unmapped/C_sddaxwyk;
ARG 0 item
ARG 1 patch
METHOD m_qseikpue (Lnet/minecraft/unmapped/C_cjzoxshv;ILnet/minecraft/unmapped/C_qlclfxvn$C_vbojeisc;)V
ARG 2 builder
METHOD m_qxfxfsuy getItem ()Lnet/minecraft/unmapped/C_vorddnax;
METHOD m_qxooancw applyPatch (Lnet/minecraft/unmapped/C_jqyoylib;)V
METHOD m_rcukuoag damageEquipment (ILnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_yuycoehb;)V
Expand All @@ -240,6 +245,8 @@ CLASS net/minecraft/unmapped/C_sddaxwyk net/minecraft/item/ItemStack
ARG 3 slot
METHOD m_rghjmiwl setDamage (I)V
ARG 1 damage
METHOD m_rlupbxer (Lnet/minecraft/unmapped/C_cpwnhism;)Lnet/minecraft/unmapped/C_cpwnhism;
ARG 1 style
METHOD m_rmdiknvo getMaxCount ()I
METHOD m_rvfytoek isItemBarVisible ()Z
METHOD m_sfmosozi getItemBarColor ()I
Expand All @@ -261,6 +268,9 @@ CLASS net/minecraft/unmapped/C_sddaxwyk net/minecraft/item/ItemStack
COMMENT @see #itemsAndComponentsMatch(ItemStack, ItemStack)
ARG 0 stack
ARG 1 otherStack
METHOD m_tobuehwl copyAndConsume (ILnet/minecraft/unmapped/C_usxaxydn;)Lnet/minecraft/unmapped/C_sddaxwyk;
ARG 1 amount
ARG 2 entity
METHOD m_tqkhmqrq hashCode (Lnet/minecraft/unmapped/C_sddaxwyk;)I
METHOD m_tyuugrfg consume (ILnet/minecraft/unmapped/C_usxaxydn;)V
ARG 1 amount
Expand Down
6 changes: 5 additions & 1 deletion mappings/net/minecraft/item/LeadItem.mapping
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
CLASS net/minecraft/unmapped/C_hbivwobf net/minecraft/item/LeadItem
METHOD m_eacknbwf (Lnet/minecraft/unmapped/C_jzrpycqo;Lnet/minecraft/unmapped/C_gbavazgo;)Z
ARG 1 leashed
METHOD m_miolfjtv attachHeldMobsToBlock (Lnet/minecraft/unmapped/C_jzrpycqo;Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_hynzadkk;)Lnet/minecraft/unmapped/C_ozuepbyj;
ARG 0 player
ARG 1 world
ARG 2 pos
METHOD m_utnycrat (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_hynzadkk;Ljava/util/function/Predicate;)Ljava/util/List;
METHOD m_rdkrezev (Ljava/util/function/Predicate;Lnet/minecraft/unmapped/C_astfners;)Z
ARG 1 entity
METHOD m_utnycrat isLeashable (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_hynzadkk;Ljava/util/function/Predicate;)Ljava/util/List;
ARG 2 predicate
1 change: 1 addition & 0 deletions mappings/net/minecraft/item/UnsizedItemStackSet.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CLASS net/minecraft/unmapped/C_voakmxnc net/minecraft/item/UnsizedItemStackSet
FIELD f_vjorabmg HASH_STRATEGY Lit/unimi/dsi/fastutil/Hash$Strategy;
METHOD m_rxlvxktx createSet ()Ljava/util/Set;
CLASS C_sansacgo
METHOD equals (Ljava/lang/Object;Ljava/lang/Object;)Z
ARG 1 stack1
Expand Down
36 changes: 36 additions & 0 deletions mappings/net/minecraft/item/map/MapDecorationTypes.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
CLASS net/minecraft/unmapped/C_ooncxucg net/minecraft/item/map/MapDecorationTypes
FIELD f_agocvrdm BANNER_PINK Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_ahjayeku PLAYER_OFF_MAP Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_aoczwenv BANNER_YELLOW Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_bgsuciza TRIAL_CHAMBERS_MAP_COLOR I
FIELD f_cfezxqnu TRIAL_CHAMBERS Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_dsvrzdfh BANNER_BLACK Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_emrpjygv BANNER_MAGENTA Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_etowmjwq BANNER_WHITE Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_eyaczeed BANNER_PURPLE Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_fpomhccn VILLAGE_SNOWY Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_jbcfxzsi TARGET_POINT Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_jwnlykmt MANSION Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_klczrjdn BANNER_GREEN Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_lfcyoule VILLAGE_TAIGA Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_louextps SWAMP_HUT Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_mlrzlmuq BLUE_MARKER Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_naihfixv BANNER_CYAN Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_nmkmuwdq RED_X Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_nvpcxjmq BANNER_BLUE Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_oxfhclmv BANNER_BROWN Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_pimjjfkz FRAME Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_plwxrtgt JUNGLE_TEMPLE Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_qtgxxvqe BANNER_GRAY Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_spsgeggv BANNER_RED Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_twjvynfn VILLAGE_DESERT Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_uoiuvokf PLAYER Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_vafdzryw VILLAGE_PLAINS Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_vlffbetr BANNER_LIGHT_GRAY Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_vtcnutmo VILLAGE_SAVANNA Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_vujmgguv BANNER_LIME Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_wjlbztlt BANNER_LIGHT_BLUE Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_wlqwrkqb TARGET_X Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_xcsmugby RED_MARKER Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_yjijkbwb PLAYER_OFF_LIMITS Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_yjqqouvt BANNER_ORANGE Lnet/minecraft/unmapped/C_cjzoxshv;
FIELD f_zsqpiowh MONUMENT Lnet/minecraft/unmapped/C_cjzoxshv;
METHOD m_jhabtlvd getHolder (Lnet/minecraft/unmapped/C_tqxyjqsk;)Lnet/minecraft/unmapped/C_cjzoxshv;
METHOD m_lfomrjte register (Ljava/lang/String;Ljava/lang/String;ZZ)Lnet/minecraft/unmapped/C_cjzoxshv;
ARG 0 registryId
ARG 1 decorationId
Expand Down
14 changes: 14 additions & 0 deletions mappings/net/minecraft/item/map/MapState.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CLASS net/minecraft/unmapped/C_nvpllgmg net/minecraft/item/map/MapState
FIELD f_fcobggon centerZ I
FIELD f_glnqmijg scale B
FIELD f_jhhmhpdb updateTrackers Ljava/util/List;
FIELD f_jzdyvmbp PREFIX Ljava/lang/String;
FIELD f_lljtbqgk colors [B
FIELD f_lmuqttwe frames Ljava/util/Map;
FIELD f_lzfvsfpy locked Z
Expand All @@ -29,6 +30,10 @@ CLASS net/minecraft/unmapped/C_nvpllgmg net/minecraft/item/map/MapState
ARG 5 unlimitedTracking
ARG 6 locked
ARG 7 dimension
METHOD m_bvqcrwpk (Lnet/minecraft/unmapped/C_hhlwcnih;Lnet/minecraft/unmapped/C_oivssbvb;)V
ARG 1 nbtElement
METHOD m_doggufpw (Ljava/lang/String;Lnet/minecraft/unmapped/C_vsugtzlx$C_rwliitkv;Lnet/minecraft/unmapped/C_vsugtzlx;)Lnet/minecraft/unmapped/C_vsugtzlx;
ARG 2 decoration
METHOD m_dzadvtca addDecorationsNbt (Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_hynzadkk;Ljava/lang/String;Lnet/minecraft/unmapped/C_cjzoxshv;)V
ARG 0 stack
ARG 1 pos
Expand All @@ -50,12 +55,18 @@ CLASS net/minecraft/unmapped/C_nvpllgmg net/minecraft/item/map/MapState
ARG 2 player
METHOD m_kpdzsvus getPlayerSyncData (Lnet/minecraft/unmapped/C_jzrpycqo;)Lnet/minecraft/unmapped/C_nvpllgmg$C_xlzqccwa;
ARG 1 player
METHOD m_ktifbqoz getKey (I)Ljava/lang/String;
ARG 0 id
METHOD m_kwgphzej fromNbt (Lnet/minecraft/unmapped/C_hhlwcnih;Lnet/minecraft/unmapped/C_vtbxyypo$C_etmlgbig;)Lnet/minecraft/unmapped/C_nvpllgmg;
ARG 0 nbt
ARG 1 provider
METHOD m_laaivkum getMatchingMapPredicate (Lnet/minecraft/unmapped/C_sddaxwyk;)Ljava/util/function/Predicate;
ARG 0 map
METHOD m_lropqhen markIconsDirty ()V
METHOD m_marneovo (Ljava/lang/String;)V
ARG 0 error
METHOD m_midfbdzy (Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_qqxyyzzm;Lnet/minecraft/unmapped/C_sddaxwyk;)Z
ARG 2 itemStack
METHOD m_mimzmslt removeIcon (Ljava/lang/String;)V
ARG 1 id
METHOD m_mwggkzwl removeFrame (Lnet/minecraft/unmapped/C_hynzadkk;I)V
Expand Down Expand Up @@ -84,6 +95,9 @@ CLASS net/minecraft/unmapped/C_nvpllgmg net/minecraft/item/map/MapState
ARG 5 showIcons
ARG 6 unlimitedTracking
ARG 7 dimension
METHOD m_ufdkqnks (Lnet/minecraft/unmapped/C_jzrpycqo;Ljava/lang/String;Lnet/minecraft/unmapped/C_vsugtzlx$C_rwliitkv;)V
ARG 2 key
ARG 3 decoration
METHOD m_vzmkvyyc putColor (IIB)Z
COMMENT Sets the color at the specified coordinates if the current color is different.
COMMENT
Expand Down
Loading