diff --git a/mappings/net/minecraft/enchantment/Enchantment.mapping b/mappings/net/minecraft/enchantment/Enchantment.mapping index 20312fc686..bf2afae2fc 100644 --- a/mappings/net/minecraft/enchantment/Enchantment.mapping +++ b/mappings/net/minecraft/enchantment/Enchantment.mapping @@ -4,20 +4,51 @@ CLASS net/minecraft/unmapped/C_jxtrubuh net/minecraft/enchantment/Enchantment FIELD f_scwbgtxq MAX_LEVEL I FIELD f_yozrarfo CODEC Lcom/mojang/serialization/Codec; METHOD m_ajxstdmb createProperties (Lnet/minecraft/unmapped/C_odfnijdo;Lnet/minecraft/unmapped/C_odfnijdo;IILnet/minecraft/unmapped/C_jxtrubuh$C_jkttgiwc;Lnet/minecraft/unmapped/C_jxtrubuh$C_jkttgiwc;I[Lnet/minecraft/unmapped/C_qfoqahef;)Lnet/minecraft/unmapped/C_jxtrubuh$C_ryljcnwe; + METHOD m_bhhtcbyx modifyCrossbowChargeTime (Lnet/minecraft/unmapped/C_rlomrsco;ILorg/apache/commons/lang3/mutable/MutableFloat;)V + METHOD m_chvflatp createItemContext (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_sddaxwyk;)Lnet/minecraft/unmapped/C_iakykpgh; + ARG 1 level + METHOD m_ciojbccw createEntityContext (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_vgpupfxx;)Lnet/minecraft/unmapped/C_iakykpgh; + ARG 1 level + ARG 2 entity + ARG 3 pos + METHOD m_dgttciah onProjectileSpawned (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_pjrjvgrp;Lnet/minecraft/unmapped/C_astfners;)V + ARG 3 context METHOD m_glfcpyqa getMaxLevel ()I COMMENT Sets the maximum number of levels, such as Sharpness which has a maximum 5 levels, the enchantment has. Default: 1. METHOD m_iarnlloo isSupportedItem (Lnet/minecraft/unmapped/C_sddaxwyk;)Z METHOD m_igxrorrr getMinLevel ()I COMMENT Sets the minimum number of levels, such as Sharpness which has a minimum of 1 level, the enchantment has. Default: 1. + METHOD m_ilvfmxkk modifyDamageFilteredValue (Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;Lorg/apache/commons/lang3/mutable/MutableFloat;)V METHOD m_jhglsmkm matchesSlot (Lnet/minecraft/unmapped/C_yuycoehb;)Z ARG 1 slot + METHOD m_kevrabge modifyProjectileCount (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;Lorg/apache/commons/lang3/mutable/MutableFloat;)V METHOD m_khmhdqpw isAcceptableItem (Lnet/minecraft/unmapped/C_sddaxwyk;)Z COMMENT {@return the type of item ({@code stack}) that can have this applied to it} ARG 1 stack + METHOD m_laluoqcj tick (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_pjrjvgrp;Lnet/minecraft/unmapped/C_astfners;)V + ARG 3 context METHOD m_lcxutjum getWeight ()I + METHOD m_leklsjht createBlockHitContext (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_vgpupfxx;Lnet/minecraft/unmapped/C_txtbiemp;)Lnet/minecraft/unmapped/C_iakykpgh; + ARG 1 level + ARG 2 entity + ARG 3 pos + METHOD m_lypftmbv modifyUnfilteredValue (Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_rlomrsco;ILorg/apache/commons/lang3/mutable/MutableFloat;)V + ARG 4 value + METHOD m_mfxiclqq reapplyLocationBasedEffects (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_pjrjvgrp;Lnet/minecraft/unmapped/C_usxaxydn;)V + ARG 2 level + ARG 3 context + ARG 4 entity + METHOD m_nfuegjdm builder (Lnet/minecraft/unmapped/C_jxtrubuh$C_ryljcnwe;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; + ARG 0 properties METHOD m_npijgbpy getSupportedItems ()Lnet/minecraft/unmapped/C_odfnijdo; METHOD m_orywsswy (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance + METHOD m_ovgqiywz onHitBlock (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_pjrjvgrp;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_vgpupfxx;Lnet/minecraft/unmapped/C_txtbiemp;)V + ARG 3 context + METHOD m_qirqbtfb applyEffects (Ljava/util/List;Lnet/minecraft/unmapped/C_iakykpgh;Ljava/util/function/Consumer;)V + ARG 0 effects + ARG 1 lootContext + ARG 2 effectConsumer METHOD m_rftiggzk createProperties (Lnet/minecraft/unmapped/C_odfnijdo;IILnet/minecraft/unmapped/C_jxtrubuh$C_jkttgiwc;Lnet/minecraft/unmapped/C_jxtrubuh$C_jkttgiwc;I[Lnet/minecraft/unmapped/C_qfoqahef;)Lnet/minecraft/unmapped/C_jxtrubuh$C_ryljcnwe; METHOD m_rtwmhoyh getMinPower (I)I COMMENT {@return the minimum level required to by the player for the enchantment to be shown in the enchantment table.} @@ -26,21 +57,63 @@ CLASS net/minecraft/unmapped/C_jxtrubuh net/minecraft/enchantment/Enchantment METHOD m_tiaspbpv getEquipment (Lnet/minecraft/unmapped/C_usxaxydn;)Ljava/util/Map; ARG 1 entity METHOD m_tujulygf getEffect (Lnet/minecraft/unmapped/C_pscqxfcs;)Ljava/util/List; + METHOD m_ujjglmjb isImmuneToDamageFrom (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;)Z METHOD m_vjzmieep cost (I)Lnet/minecraft/unmapped/C_jxtrubuh$C_jkttgiwc; + METHOD m_webwhtnd modifyEntityFilteredValue (Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;Lorg/apache/commons/lang3/mutable/MutableFloat;)V + ARG 6 value + METHOD m_wqtybzdx modifyItemFilteredCount (Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_sddaxwyk;Lorg/apache/commons/lang3/mutable/MutableFloat;)V + ARG 5 value METHOD m_xaezlmue getAnvilCost ()I METHOD m_ycasfcso areCompatible (Lnet/minecraft/unmapped/C_cjzoxshv;Lnet/minecraft/unmapped/C_cjzoxshv;)Z ARG 0 enchantment1 ARG 1 enchantment2 METHOD m_ygnxsicw cost (II)Lnet/minecraft/unmapped/C_jxtrubuh$C_jkttgiwc; + METHOD m_yyvgkyyg createDamageContext (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;)Lnet/minecraft/unmapped/C_iakykpgh; + ARG 1 level + ARG 2 entity + ARG 3 source METHOD m_zfqdifee getFullName (Lnet/minecraft/unmapped/C_cjzoxshv;I)Lnet/minecraft/unmapped/C_rdaqiwdt; ARG 0 enchantment ARG 1 level + METHOD m_zjsipvve createLocationContext (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_astfners;Z)Lnet/minecraft/unmapped/C_iakykpgh; + ARG 1 level + ARG 2 entity + ARG 3 enchantmentActive + METHOD m_zlpziyyk modifyProjectileSpread (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;Lorg/apache/commons/lang3/mutable/MutableFloat;)V METHOD m_znzmqxec isPrimaryItem (Lnet/minecraft/unmapped/C_sddaxwyk;)Z METHOD m_ztycenho getMaxPower (I)I COMMENT {@return the maximum level a Player is allowed before the enchant is not shown in the enchantment table} COMMENT The default return is the minimum power level + 5. ARG 1 level + CLASS C_epmoqirc Builder + FIELD f_fmooecif effectMapBuilder Lnet/minecraft/unmapped/C_kouhnfig$C_vfzyoahz; + FIELD f_radrlqvu properties Lnet/minecraft/unmapped/C_jxtrubuh$C_ryljcnwe; + FIELD f_wqwudsbq effectLists Ljava/util/Map; + FIELD f_ykzrjano exclusiveSet Lnet/minecraft/unmapped/C_odfnijdo; + METHOD m_bfbkshbc addEffect (Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_zjvjrddv;Lnet/minecraft/unmapped/C_zjvjrddv;Ljava/lang/Object;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; + ARG 1 type + METHOD m_eirhbvlq addEffect (Lnet/minecraft/unmapped/C_pscqxfcs;Ljava/lang/Object;Lnet/minecraft/unmapped/C_vqkczpuv$C_cjvmpogn;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; + ARG 1 type + ARG 3 conditions + METHOD m_fcblttrk build (Lnet/minecraft/unmapped/C_ncpywfca;)Lnet/minecraft/unmapped/C_jxtrubuh; + METHOD m_fywpvdlv withExclusiveSet (Lnet/minecraft/unmapped/C_odfnijdo;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; + ARG 1 exclusiveSet + METHOD m_ijzbgmuo getEffectsList (Lnet/minecraft/unmapped/C_pscqxfcs;)Ljava/util/List; + METHOD m_ilkklraq addEffect (Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_kyhkwlnd;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; + ARG 1 type + ARG 2 effect + METHOD m_qoopatrn addEffect (Lnet/minecraft/unmapped/C_pscqxfcs;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; + METHOD m_uhlhfpbp addEffect (Lnet/minecraft/unmapped/C_pscqxfcs;Ljava/lang/Object;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; + ARG 1 type + METHOD m_vkishvxp addEffect (Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_zjvjrddv;Lnet/minecraft/unmapped/C_zjvjrddv;Ljava/lang/Object;Lnet/minecraft/unmapped/C_vqkczpuv$C_cjvmpogn;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; + ARG 1 type + ARG 5 conditions + METHOD m_vmwohqmn addSpecialEffect (Lnet/minecraft/unmapped/C_pscqxfcs;Ljava/lang/Object;)Lnet/minecraft/unmapped/C_jxtrubuh$C_epmoqirc; CLASS C_jkttgiwc Cost + METHOD m_lpzheldf forLevel (I)I + ARG 1 level + METHOD m_zfvugdzh (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance CLASS C_ryljcnwe Properties METHOD m_vxpftpoe (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance diff --git a/mappings/net/minecraft/enchantment/EnchantmentEffectContext.mapping b/mappings/net/minecraft/enchantment/EnchantmentEffectContext.mapping new file mode 100644 index 0000000000..780e77e863 --- /dev/null +++ b/mappings/net/minecraft/enchantment/EnchantmentEffectContext.mapping @@ -0,0 +1 @@ +CLASS net/minecraft/unmapped/C_pjrjvgrp net/minecraft/enchantment/EnchantmentEffectContext diff --git a/mappings/net/minecraft/enchantment/effect/EnchantmentEffectTarget.mapping b/mappings/net/minecraft/enchantment/effect/EnchantmentEffectTarget.mapping new file mode 100644 index 0000000000..5644cf7154 --- /dev/null +++ b/mappings/net/minecraft/enchantment/effect/EnchantmentEffectTarget.mapping @@ -0,0 +1,2 @@ +CLASS net/minecraft/unmapped/C_zjvjrddv net/minecraft/enchantment/effect/EnchantmentEffectTarget + FIELD f_bfojlfoa id Ljava/lang/String; diff --git a/mappings/net/minecraft/enchantment/effect/EnchantmentLocationBasedEffect.mapping b/mappings/net/minecraft/enchantment/effect/EnchantmentLocationBasedEffect.mapping new file mode 100644 index 0000000000..bbd4f5b0c5 --- /dev/null +++ b/mappings/net/minecraft/enchantment/effect/EnchantmentLocationBasedEffect.mapping @@ -0,0 +1,14 @@ +CLASS net/minecraft/unmapped/C_ecwtrfca net/minecraft/enchantment/effect/EnchantmentLocationBasedEffect + METHOD m_fmcmkyea bootstrap (Lnet/minecraft/unmapped/C_tqxyjqsk;)Lcom/mojang/serialization/MapCodec; + METHOD m_ginukglu onDeactivated (Lnet/minecraft/unmapped/C_pjrjvgrp;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_vgpupfxx;I)V + ARG 1 context + ARG 2 entity + ARG 3 pos + ARG 4 level + METHOD m_kqdonpeg getCodec ()Lcom/mojang/serialization/MapCodec; + METHOD m_lgpocvjg onChangedBlock (Lnet/minecraft/unmapped/C_bdwnwhiu;ILnet/minecraft/unmapped/C_pjrjvgrp;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_vgpupfxx;Z)V + ARG 2 level + ARG 3 context + ARG 4 entity + ARG 5 pos + ARG 6 newlyApplied diff --git a/mappings/net/minecraft/enchantment/effect/TargetConditionalEnchantmentEffect.mapping b/mappings/net/minecraft/enchantment/effect/TargetConditionalEnchantmentEffect.mapping new file mode 100644 index 0000000000..86a5f0a065 --- /dev/null +++ b/mappings/net/minecraft/enchantment/effect/TargetConditionalEnchantmentEffect.mapping @@ -0,0 +1,11 @@ +CLASS net/minecraft/unmapped/C_idcxfrny net/minecraft/enchantment/effect/TargetConditionalEnchantmentEffect + METHOD m_alatdzrm (Lcom/mojang/serialization/Codec;Lnet/minecraft/unmapped/C_vczsvjil;Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 2 instance + METHOD m_fxhflgcy createEquipmentDropsCodec (Lcom/mojang/serialization/Codec;Lnet/minecraft/unmapped/C_vczsvjil;)Lcom/mojang/serialization/Codec; + ARG 1 type + METHOD m_lobkvims createCodec (Lcom/mojang/serialization/Codec;Lnet/minecraft/unmapped/C_vczsvjil;)Lcom/mojang/serialization/Codec; + ARG 1 type + METHOD m_pkmvnbvx (Lcom/mojang/serialization/Codec;Lnet/minecraft/unmapped/C_vczsvjil;Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 2 instance + METHOD m_sbmzbkam matches (Lnet/minecraft/unmapped/C_iakykpgh;)Z + ARG 1 context diff --git a/mappings/net/minecraft/entity/LivingEntity.mapping b/mappings/net/minecraft/entity/LivingEntity.mapping index c80b88a681..5fb4890b48 100644 --- a/mappings/net/minecraft/entity/LivingEntity.mapping +++ b/mappings/net/minecraft/entity/LivingEntity.mapping @@ -164,6 +164,8 @@ CLASS net/minecraft/unmapped/C_usxaxydn net/minecraft/entity/LivingEntity METHOD m_dbmgxkyo canWalkOnFluid (Lnet/minecraft/unmapped/C_xqketiuf;)Z METHOD m_ddtvzuuf getStackInHand (Lnet/minecraft/unmapped/C_laxmzoqs;)Lnet/minecraft/unmapped/C_sddaxwyk; ARG 1 hand + METHOD m_dgbunafc onEquippedItemBroken (Lnet/minecraft/unmapped/C_vorddnax;Lnet/minecraft/unmapped/C_yuycoehb;)V + ARG 1 item METHOD m_dickaawl getPrimeAdversary ()Lnet/minecraft/unmapped/C_usxaxydn; METHOD m_dmapfayh processEquippedStack (Lnet/minecraft/unmapped/C_sddaxwyk;)V ARG 1 stack diff --git a/mappings/net/minecraft/item/FoodComponent.mapping b/mappings/net/minecraft/item/FoodComponent.mapping index 281881a3a5..1ae40d0abd 100644 --- a/mappings/net/minecraft/item/FoodComponent.mapping +++ b/mappings/net/minecraft/item/FoodComponent.mapping @@ -2,7 +2,11 @@ CLASS net/minecraft/unmapped/C_cgikuact net/minecraft/item/FoodComponent COMMENT Represents the components that make up the properties of a food item. FIELD f_jxddsfxy alwaysEdible Z FIELD f_sfnvysjq statusEffects Ljava/util/List; + FIELD f_xqccrssq DEFAULT_EAT_SECONDS F FIELD f_zdhpbxsl hunger I + METHOD m_pwebzwha (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD m_rtewkjll getEatTicks ()I METHOD m_tvsoxmcg isAlwaysEdible ()Z COMMENT Checks if a food item can be eaten when the current hunger bar is full. CLASS C_gqnloczo Builder @@ -10,6 +14,8 @@ CLASS net/minecraft/unmapped/C_cgikuact net/minecraft/item/FoodComponent FIELD f_ladnpgbj statusEffects Lcom/google/common/collect/ImmutableList$Builder; FIELD f_nouyflrp hunger I FIELD f_svmtqlch saturationModifier F + FIELD f_yatwrwbg eatSeconds F + FIELD f_ymfuqryn usingConvertsTo Ljava/util/Optional; METHOD m_crnsndln snack ()Lnet/minecraft/unmapped/C_cgikuact$C_gqnloczo; COMMENT Specifies that a food item is snack-like and is eaten quickly. METHOD m_fcwymctf alwaysEdible ()Lnet/minecraft/unmapped/C_cgikuact$C_gqnloczo; @@ -22,6 +28,7 @@ CLASS net/minecraft/unmapped/C_cgikuact net/minecraft/item/FoodComponent COMMENT
One hunger is equivalent to half of a hunger bar icon. ARG 1 hunger COMMENT the amount of hunger + METHOD m_sokfsvgk usingConvertsTo (Lnet/minecraft/unmapped/C_gmbqjnle;)Lnet/minecraft/unmapped/C_cgikuact$C_gqnloczo; METHOD m_vlrajmqs statusEffect (Lnet/minecraft/unmapped/C_wpfizwve;F)Lnet/minecraft/unmapped/C_cgikuact$C_gqnloczo; COMMENT Specifies a status effect to apply to an entity when a food item is consumed. COMMENT This method may be called multiple times to apply several status effects when food is consumed. @@ -29,3 +36,6 @@ CLASS net/minecraft/unmapped/C_cgikuact net/minecraft/item/FoodComponent COMMENT the effect instance to apply ARG 2 chance COMMENT the chance the status effect is applied, on a scale of {@code 0.0F} to {@code 1.0F} + CLASS C_uxpigugz StatusEffectEntry + METHOD m_tkmomdjq (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance