Skip to content

Commit

Permalink
entity work
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Jul 6, 2024
1 parent 8cf4fe8 commit 7dc26fd
Show file tree
Hide file tree
Showing 14 changed files with 136 additions and 1 deletion.
7 changes: 7 additions & 0 deletions mappings/net/minecraft/block/Portal.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CLASS net/minecraft/unmapped/C_teerivzm net/minecraft/block/Portal
METHOD m_kzlfoqae getEffect ()Lnet/minecraft/unmapped/C_teerivzm$C_budwrmur;
METHOD m_ssylpsbj createTransition (Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_hynzadkk;)Lnet/minecraft/unmapped/C_zbvyjshu;
ARG 2 entity
METHOD m_ynslrhia getTransitionTime (Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;)I
ARG 2 entity
CLASS C_budwrmur Effect
25 changes: 24 additions & 1 deletion mappings/net/minecraft/entity/Entity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_bqujtsnz isSubmergedInWater ()Z
COMMENT {@return whether this entity's hitbox is fully submerged in water}
METHOD m_btnnyttp canBeHitByProjectile ()Z
METHOD m_btpwuyzu findCollisions (Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_cdctfzbn;Ljava/util/List;Lnet/minecraft/unmapped/C_hbcjzgoe;)Ljava/util/List;
ARG 0 entity
ARG 2 expectedCollisions
ARG 3 entityBoundingBox
METHOD m_bzrtaquy getVehicle ()Lnet/minecraft/unmapped/C_astfners;
METHOD m_bzveerey collides ()Z
METHOD m_cckfyxyf fall (DZLnet/minecraft/unmapped/C_txtbiemp;Lnet/minecraft/unmapped/C_hynzadkk;)V
Expand Down Expand Up @@ -329,7 +333,7 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_fzshfvfl isSprinting ()Z
METHOD m_gakqenyv getLerpTargetPitch ()F
METHOD m_gavkvalj hasWings ()Z
METHOD m_ggpcigyk addVelocity (Lnet/minecraft/unmapped/C_vgpupfxx;)V
METHOD m_ggpcigyk addVelocityInternal (Lnet/minecraft/unmapped/C_vgpupfxx;)V
ARG 1 velocity
METHOD m_ghqcprlw onPlayerCollision (Lnet/minecraft/unmapped/C_jzrpycqo;)V
ARG 1 player
Expand Down Expand Up @@ -361,6 +365,7 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_gxfczhkq getLeashOffset ()Lnet/minecraft/unmapped/C_vgpupfxx;
METHOD m_gxhbysyl isInFluid ()Z
METHOD m_gxhwoqaa getTeamColorValue ()I
METHOD m_gykcjypz placePortalChunkTicket (Lnet/minecraft/unmapped/C_hynzadkk;)V
METHOD m_hehkhdfc isFrozen ()Z
METHOD m_hhmmivsh tryTickInVoid ()V
METHOD m_hhwoykag calculateNextStepSoundDistance ()F
Expand Down Expand Up @@ -445,6 +450,8 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
ARG 1 yaw
METHOD m_jlyguhnu setInvulnerable (Z)V
ARG 1 invulnerable
METHOD m_jntxmsea refreshPositionAndAngles (Lnet/minecraft/unmapped/C_vgpupfxx;FF)V
ARG 1 pos
METHOD m_jnzyorkg getLerpTargetYaw ()F
METHOD m_jofogjft getRegistryManager ()Lnet/minecraft/unmapped/C_wqxmvzdq;
METHOD m_jplnglbd distanceTo (Lnet/minecraft/unmapped/C_astfners;)F
Expand Down Expand Up @@ -533,6 +540,8 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_mvydwrgl isCollidable ()Z
METHOD m_mwcgtbei getRotationClient ()Lnet/minecraft/unmapped/C_krlwdsom;
METHOD m_mwmobbqo getVisibilityBoundingBox ()Lnet/minecraft/unmapped/C_hbcjzgoe;
METHOD m_navgylsf addVelocity (Lnet/minecraft/unmapped/C_vgpupfxx;)V
ARG 1 delta
METHOD m_naxzebqy getBlockZ ()I
METHOD m_nbygubbe offsetX (D)D
ARG 1 widthScale
Expand Down Expand Up @@ -739,6 +748,7 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_ttjwufim getY ()D
METHOD m_ttlohclp isGlowing ()Z
METHOD m_tugxrexj createSpawnPacket (Lnet/minecraft/unmapped/C_yagtbmmk;)Lnet/minecraft/unmapped/C_zyjtrjrl;
ARG 1 trackerEntry
METHOD m_tuuhnzwi setHeadYaw (F)V
ARG 1 headYaw
METHOD m_txdckygw isFreezing ()Z
Expand Down Expand Up @@ -793,6 +803,7 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
COMMENT Note all entities except server player entities are completely recreated at the destination.
COMMENT
COMMENT @return the entity in the other world
ARG 1 transition
METHOD m_vbxcqznf adjustSingleAxisMovementForCollisions (Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_vgpupfxx;Lnet/minecraft/unmapped/C_hbcjzgoe;Lnet/minecraft/unmapped/C_cdctfzbn;Ljava/util/List;)Lnet/minecraft/unmapped/C_vgpupfxx;
ARG 0 entity
ARG 1 movement
Expand All @@ -808,6 +819,7 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_vddvkdnu saveNbt (Lnet/minecraft/unmapped/C_hhlwcnih;)Z
ARG 1 nbt
METHOD m_vewkkvlv isFireImmune ()Z
METHOD m_vfbpgxfo getAdjustedSpawnLocation (Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_hynzadkk;)Lnet/minecraft/unmapped/C_hynzadkk;
METHOD m_vfobpjve getParticleX (D)D
ARG 1 widthScale
METHOD m_vhqflgrn refreshPositionAndAngles (DDDFF)V
Expand Down Expand Up @@ -839,6 +851,11 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
ARG 1 entity
COMMENT the other entity
METHOD m_vxtgbqxt getVelocityMultiplier ()F
METHOD m_wbxjpylm collectStepHeights (Lnet/minecraft/unmapped/C_hbcjzgoe;Ljava/util/List;FF)[F
ARG 0 boundingBox
ARG 1 collisions
ARG 2 stepHeight
ARG 3 collisionAdjustedYMovement
METHOD m_wcktnyqi setPos (DDD)V
ARG 1 x
ARG 3 y
Expand Down Expand Up @@ -876,6 +893,8 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_wwyehasy updatePoseAndDimensions ()V
METHOD m_wzcmdoil isTeamPlayer (Lnet/minecraft/unmapped/C_qgtzypup;)Z
ARG 1 team
METHOD m_xbkkrydd setOnFireForSeconds (F)V
ARG 1 seconds
METHOD m_xelmhfxy onBubbleColumnCollision (Z)V
ARG 1 drag
METHOD m_xfogfxdp isInsideWall ()Z
Expand Down Expand Up @@ -941,6 +960,7 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
METHOD m_yuckcotc squaredDistanceTo (Lnet/minecraft/unmapped/C_astfners;)D
ARG 1 entity
METHOD m_yufxwphq canUsePortals (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_cdctfzbn;)Z
METHOD m_ywnmbdjz getWeaponStack ()Lnet/minecraft/unmapped/C_sddaxwyk;
METHOD m_yxossras getMaxAir ()I
METHOD m_yzuahesn getPrimaryStepSoundPos (Lnet/minecraft/unmapped/C_hynzadkk;)Lnet/minecraft/unmapped/C_hynzadkk;
METHOD m_zbffjahn refreshPosition ()V
Expand All @@ -952,6 +972,9 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
ARG 1 sprinting
METHOD m_zhfwaekn getBlockX ()I
METHOD m_zhtbdonc isGlowingLocal ()Z
METHOD m_zhuydvfo setAngles (FF)V
ARG 1 yaw
ARG 2 pitch
METHOD m_zjgainuo updateTrackedHeadRotation (FI)V
ARG 1 yaw
ARG 2 interpolationSteps
Expand Down
3 changes: 3 additions & 0 deletions mappings/net/minecraft/entity/EquipmentSlot.mapping
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
CLASS net/minecraft/unmapped/C_yuycoehb net/minecraft/entity/EquipmentSlot
FIELD f_navctjmp NO_MAX_COUNT I
FIELD f_rwczokzq entityId I
FIELD f_rzrpxhoz armorStandId I
FIELD f_sxrtmuub type Lnet/minecraft/unmapped/C_yuycoehb$C_vkdieima;
FIELD f_utijifsu maxCount I
FIELD f_wotdkhkf CODEC Lnet/minecraft/unmapped/C_lgkqzafw$C_nxwenkbc;
FIELD f_xlhfthzn name Ljava/lang/String;
METHOD <init> (Ljava/lang/String;ILnet/minecraft/unmapped/C_yuycoehb$C_vkdieima;IILjava/lang/String;)V
ARG 3 type
ARG 4 entityId
ARG 5 armorStandId
ARG 6 name
METHOD m_cypegoms split (Lnet/minecraft/unmapped/C_sddaxwyk;)Lnet/minecraft/unmapped/C_sddaxwyk;
METHOD m_dmhyzohc getOffsetEntitySlotId (I)I
ARG 1 offset
METHOD m_ebzsngff getArmorStandSlotId ()I
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/ExperienceOrbEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ CLASS net/minecraft/unmapped/C_vcliofjo net/minecraft/entity/ExperienceOrbEntity
ARG 0 world
ARG 1 pos
ARG 2 amount
METHOD m_aqllcbet repairEquipment (Lnet/minecraft/unmapped/C_mxrobsgg;I)I
COMMENT @return the remaining experience after the repair
METHOD m_bdfuzmlr wasMergedIntoExistingOrb (Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_vgpupfxx;I)Z
ARG 0 world
ARG 1 pos
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/entity/FallingBlockEntity.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CLASS net/minecraft/unmapped/C_uvxlswjj net/minecraft/entity/FallingBlockEntity
FIELD f_cyhxihzh tickAfterTeleportToDuplicate Z
FIELD f_dymlrmmq fallHurtMax I
FIELD f_hdgqtnji destroyedOnLanding Z
FIELD f_ituaxtuz timeFalling I
Expand Down
53 changes: 53 additions & 0 deletions mappings/net/minecraft/entity/Leashable.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
CLASS net/minecraft/unmapped/C_gbavazgo net/minecraft/entity/Leashable
FIELD f_crwvitgo MAX_LEASH_LENGTH D
FIELD f_hwlweeax LEASH_NBT_KEY Ljava/lang/String;
FIELD f_iiewyzxn STRETCH_DISTANCE D
METHOD m_egrefywv isLeashed ()Z
METHOD m_eodbrgla canLeashAttachTo ()Z
METHOD m_epgfrqcc attachLeash (Lnet/minecraft/unmapped/C_astfners;Z)V
METHOD m_feakufat mayBeLeashed ()Z
METHOD m_fmujdyoh readLeashData (Lnet/minecraft/unmapped/C_hhlwcnih;)Lnet/minecraft/unmapped/C_gbavazgo$C_trsxpkpu;
METHOD m_frfgxbsb applyCloseRangeBehavior (Lnet/minecraft/unmapped/C_astfners;)V
ARG 1 entity
METHOD m_gnuhezcf getLeashHolder (Lnet/minecraft/unmapped/C_astfners;)Lnet/minecraft/unmapped/C_astfners;
ARG 0 leashed
METHOD m_hkieuyqm getLeashData ()Lnet/minecraft/unmapped/C_gbavazgo$C_trsxpkpu;
METHOD m_jywtllgu setDelayedLeashHolderId (I)V
ARG 1 delayedLeashHolderId
METHOD m_kkwyhrvj applyTooFarBehavior ()V
METHOD m_lccupwok setLeashData (Lnet/minecraft/unmapped/C_gbavazgo$C_trsxpkpu;)V
ARG 1 data
METHOD m_ovrpaqfw attachLeash (Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_astfners;Z)V
ARG 0 entity
ARG 1 leashHolder
ARG 2 sendPacket
METHOD m_ssfsnjwp applyLegacyElasticity (Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_astfners;F)V
ARG 0 entity
ARG 1 holder
ARG 2 distance
METHOD m_xkmzlwed getLeashHolder ()Lnet/minecraft/unmapped/C_astfners;
METHOD m_xvyvanvw canBeLeashed ()Z
METHOD m_ydkqpzwu tickLeash (Lnet/minecraft/unmapped/C_astfners;)V
ARG 0 entity
METHOD m_ydrqybvl writeLeashData (Lnet/minecraft/unmapped/C_hhlwcnih;Lnet/minecraft/unmapped/C_gbavazgo$C_trsxpkpu;)V
ARG 1 compound
ARG 2 data
METHOD m_yglfvmek detachLeash (ZZ)V
METHOD m_ygwjgcso applyElasticRangeBehavior (Lnet/minecraft/unmapped/C_astfners;F)V
ARG 1 holder
ARG 2 distance
METHOD m_yvbpzuud resolveLeashData (Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_gbavazgo$C_trsxpkpu;)V
ARG 1 data
METHOD m_zkhlcdom applyLongRangeBehavior (Lnet/minecraft/unmapped/C_astfners;F)Z
ARG 1 holder
ARG 2 distance
METHOD m_zuzsbkuh detachLeash (Lnet/minecraft/unmapped/C_astfners;ZZ)V
ARG 0 entity
ARG 1 sendPacket
ARG 2 dropItem
CLASS C_trsxpkpu LeashData
FIELD f_tsbjpbyd leashHolder Lnet/minecraft/unmapped/C_astfners;
FIELD f_yxdlhpfy delayedLeashHolderId I
FIELD f_znxcvkfw delayedLeashData Lcom/mojang/datafixers/util/Either;
METHOD m_kskpcsjf setLeashHolder (Lnet/minecraft/unmapped/C_astfners;)V
ARG 1 holder
1 change: 1 addition & 0 deletions mappings/net/minecraft/entity/PacketPositionCodec.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ CLASS net/minecraft/unmapped/C_kfofqpqr net/minecraft/entity/PacketPositionCodec
ARG 1 pos
METHOD m_ylrctget encodeZ (Lnet/minecraft/unmapped/C_vgpupfxx;)J
ARG 1 pos
METHOD m_yryxpryw getPos ()Lnet/minecraft/unmapped/C_vgpupfxx;
METHOD m_ytkocgmn subtract (Lnet/minecraft/unmapped/C_vgpupfxx;)Lnet/minecraft/unmapped/C_vgpupfxx;
ARG 1 pos
8 changes: 8 additions & 0 deletions mappings/net/minecraft/entity/ProjectileDeflector.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
CLASS net/minecraft/unmapped/C_jslwmoew net/minecraft/entity/ProjectileDeflector
FIELD f_jcluacrw REVERSE Lnet/minecraft/unmapped/C_jslwmoew;
FIELD f_jpxrdlxe NONE Lnet/minecraft/unmapped/C_jslwmoew;
FIELD f_jrdzljeb DEFLECT_MOMENTUM Lnet/minecraft/unmapped/C_jslwmoew;
FIELD f_rkrpgqth REDIRECT Lnet/minecraft/unmapped/C_jslwmoew;
METHOD deflect deflect (Lnet/minecraft/unmapped/C_ltpsyvhj;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_rlomrsco;)V
ARG 1 projectile
ARG 2 hitEntity
Expand All @@ -10,3 +12,9 @@ CLASS net/minecraft/unmapped/C_jslwmoew net/minecraft/entity/ProjectileDeflector
METHOD m_kofgyouf (Lnet/minecraft/unmapped/C_ltpsyvhj;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_rlomrsco;)V
ARG 0 projectile
ARG 1 hitEntity
METHOD m_rcqmeepm (Lnet/minecraft/unmapped/C_ltpsyvhj;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_rlomrsco;)V
ARG 0 projectile
ARG 1 hitEntity
METHOD m_yerjrxcr (Lnet/minecraft/unmapped/C_ltpsyvhj;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_rlomrsco;)V
ARG 0 projectile
ARG 1 hitEntity
1 change: 1 addition & 0 deletions mappings/net/minecraft/entity/TntEntity.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CLASS net/minecraft/unmapped/C_kkoxxpxd net/minecraft/entity/TntEntity
FIELD f_etznsvjx DEFAULT_FUSE I
FIELD f_fcxpxvau BEHAVIOR Lnet/minecraft/unmapped/C_dmexlawk;
FIELD f_hhactefe BLOCK_STATE Lnet/minecraft/unmapped/C_rinmcaxy;
FIELD f_htakvyyx FUSE Lnet/minecraft/unmapped/C_rinmcaxy;
FIELD f_kbwbaeda causingEntity Lnet/minecraft/unmapped/C_usxaxydn;
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/damage/DamageSource.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ CLASS net/minecraft/unmapped/C_sbxfkpyv net/minecraft/entity/damage/DamageSource
METHOD <init> (Lnet/minecraft/unmapped/C_cjzoxshv;Lnet/minecraft/unmapped/C_vgpupfxx;)V
ARG 1 type
ARG 2 pos
METHOD m_afzxcswo getWeaponStack ()Lnet/minecraft/unmapped/C_sddaxwyk;
METHOD m_ahzghinx getSource ()Lnet/minecraft/unmapped/C_astfners;
METHOD m_axjnyfbm isType (Lnet/minecraft/unmapped/C_xhhleach;)Z
METHOD m_ciovkfwb getDeathMessage (Lnet/minecraft/unmapped/C_usxaxydn;)Lnet/minecraft/unmapped/C_rdaqiwdt;
Expand All @@ -33,6 +34,7 @@ CLASS net/minecraft/unmapped/C_sbxfkpyv net/minecraft/entity/damage/DamageSource
COMMENT or the attacker position, or none.
COMMENT
COMMENT @return the position of this damage source if known, or {@code null} otherwise
METHOD m_mxlcbtxu isDirect ()Z
METHOD m_plzuatal getName ()Ljava/lang/String;
METHOD m_qlknncwi getAttacker ()Lnet/minecraft/unmapped/C_astfners;
METHOD m_rduaupag isTypeIn (Lnet/minecraft/unmapped/C_ednuhnnn;)Z
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/damage/DamageSources.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ CLASS net/minecraft/unmapped/C_lddxcbik net/minecraft/entity/damage/DamageSource
FIELD f_ivcmtquq outOfWorld Lnet/minecraft/unmapped/C_sbxfkpyv;
FIELD f_iwkwkquw sweetBerryBush Lnet/minecraft/unmapped/C_sbxfkpyv;
FIELD f_jtpldcqc dragonBreath Lnet/minecraft/unmapped/C_sbxfkpyv;
FIELD f_lkntcxaf campfire Lnet/minecraft/unmapped/C_sbxfkpyv;
FIELD f_lymlaaij generic Lnet/minecraft/unmapped/C_sbxfkpyv;
FIELD f_mtnhkntq cactus Lnet/minecraft/unmapped/C_sbxfkpyv;
FIELD f_oletfyhq magic Lnet/minecraft/unmapped/C_sbxfkpyv;
Expand Down Expand Up @@ -61,6 +62,7 @@ CLASS net/minecraft/unmapped/C_lddxcbik net/minecraft/entity/damage/DamageSource
METHOD m_kssiuuqu witherSkull (Lnet/minecraft/unmapped/C_vzureqzt;Lnet/minecraft/unmapped/C_astfners;)Lnet/minecraft/unmapped/C_sbxfkpyv;
ARG 1 source
ARG 2 attacker
METHOD m_lxrwzlzj campfire ()Lnet/minecraft/unmapped/C_sbxfkpyv;
METHOD m_matvmvst fallingStalactite (Lnet/minecraft/unmapped/C_astfners;)Lnet/minecraft/unmapped/C_sbxfkpyv;
ARG 1 source
METHOD m_mgpbqchd fallingAnvil (Lnet/minecraft/unmapped/C_astfners;)Lnet/minecraft/unmapped/C_sbxfkpyv;
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/entity/damage/DamageTypes.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CLASS net/minecraft/unmapped/C_wshykkvq net/minecraft/entity/damage/DamageTypes
FIELD f_aebymdih CAMPFIRE Lnet/minecraft/unmapped/C_xhhleach;
FIELD f_afdnpmsu STALAGMITE Lnet/minecraft/unmapped/C_xhhleach;
FIELD f_bnvzkhov STARVE Lnet/minecraft/unmapped/C_xhhleach;
FIELD f_bxbvvpsc FALLING_STALACTITE Lnet/minecraft/unmapped/C_xhhleach;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CLASS net/minecraft/unmapped/C_mfdvqmsw net/minecraft/entity/decoration/BlockAttachedEntity
FIELD f_atnmykql attachCheckCounter I
METHOD <init> (Lnet/minecraft/unmapped/C_ogavsvbr;Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_hynzadkk;)V
ARG 1 type
METHOD m_fodqxigf getAttachedBlockPos ()Lnet/minecraft/unmapped/C_hynzadkk;
METHOD m_kulkifdk dropItem (Lnet/minecraft/unmapped/C_astfners;)V
ARG 1 breaker
METHOD m_uzlyxllu canStayAttached ()Z
METHOD m_woivokxp updateBoundingBox ()V
22 changes: 22 additions & 0 deletions mappings/net/minecraft/world/DimensionTransition.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
CLASS net/minecraft/unmapped/C_zbvyjshu net/minecraft/world/DimensionTransition
FIELD f_fbtpbgjw PLACE_PORTAL_CHUNK_TICKET Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;
FIELD f_hmhvezqn newWorld Lnet/minecraft/unmapped/C_bdwnwhiu;
FIELD f_jgwyllbi NO_OP Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;
FIELD f_kidpbkzf PLAY_PORTAL_SOUND Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;
METHOD <init> (Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;)V
ARG 2 entity
METHOD m_ciosvisu playPortalSound (Lnet/minecraft/unmapped/C_astfners;)V
ARG 0 entity
METHOD m_kfblgmun missingRespawnBlock (Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;)Lnet/minecraft/unmapped/C_zbvyjshu;
METHOD m_tmiapkfg placePortalChunkTicket (Lnet/minecraft/unmapped/C_astfners;)V
ARG 0 entity
METHOD m_uahwixgh newWorld ()Lnet/minecraft/unmapped/C_bdwnwhiu;
METHOD m_vxzgepsf getSpawnPos (Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;)Lnet/minecraft/unmapped/C_vgpupfxx;
ARG 1 entity
CLASS C_pytyshdn PostDimensionTransition
METHOD m_dnvdmgtl (Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;Lnet/minecraft/unmapped/C_astfners;)V
ARG 2 entity
METHOD onTransition onTransition (Lnet/minecraft/unmapped/C_astfners;)V
ARG 1 entity
METHOD then then (Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;)Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;
ARG 1 next

3 comments on commit 7dc26fd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With commit 7dc26fd, 165 file(s) were updated with 1832 line(s) added and 1683 removed compared to the latest Quilt Mappings version.

View the diff here (1/3):
diff -bur namedTargetSrc/net/minecraft/block/AbstractFireBlock.java namedSrc/net/minecraft/block/AbstractFireBlock.java
--- namedTargetSrc/net/minecraft/block/AbstractFireBlock.java	2024-07-06 04:54:47.813163475 +0000
+++ namedSrc/net/minecraft/block/AbstractFireBlock.java	2024-07-06 04:53:38.848769687 +0000
@@ -173,7 +173,7 @@
       if (!entity.isFireImmune()) {
          entity.setFireTicks(entity.getFireTicks() + 1);
          if (entity.getFireTicks() == 0) {
-            entity.m_xbkkrydd(8.0F);
+            entity.setOnFireForSeconds(8.0F);
          }
       }
 
diff -bur namedTargetSrc/net/minecraft/block/BeehiveBlock.java namedSrc/net/minecraft/block/BeehiveBlock.java
--- namedTargetSrc/net/minecraft/block/BeehiveBlock.java	2024-07-06 04:54:47.965164325 +0000
+++ namedSrc/net/minecraft/block/BeehiveBlock.java	2024-07-06 04:53:39.036770708 +0000
@@ -126,7 +126,7 @@
    public void afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) {
       super.afterBreak(world, player, pos, state, blockEntity, stack);
       if (!world.isClient && blockEntity instanceof BeehiveBlockEntity lv) {
-         if (!EnchantmentHelper.m_ruiicrds(stack, EnchantmentTags.PREVENTS_BEE_SPAWNS_WHEN_MINING)) {
+         if (!EnchantmentHelper.hasTag(stack, EnchantmentTags.PREVENTS_BEE_SPAWNS_WHEN_MINING)) {
             lv.angerBees(player, state, BeehiveBlockEntity.BeeState.EMERGENCY);
             world.updateComparators(pos, this);
             this.angerNearbyBees(world, pos);
diff -bur namedTargetSrc/net/minecraft/block/Block.java namedSrc/net/minecraft/block/Block.java
--- namedTargetSrc/net/minecraft/block/Block.java	2024-07-06 04:54:48.049164794 +0000
+++ namedSrc/net/minecraft/block/Block.java	2024-07-06 04:53:39.128771207 +0000
@@ -902,7 +902,7 @@
     * @mapping {@literal named dropConditionalExperience Lnet/minecraft/block/Block;dropConditionalExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/int_provider/IntProvider;)V}
     */
    protected void dropConditionalExperience(ServerWorld world, BlockPos pos, ItemStack stack, IntProvider experienceProvider) {
-      int i = EnchantmentHelper.m_mcehpxsn(world, stack, experienceProvider.get(world.getRandom()));
+      int i = EnchantmentHelper.getBlockExperience(world, stack, experienceProvider.get(world.getRandom()));
       if (i > 0) {
          this.dropExperience(world, pos, i);
       }
diff -bur namedTargetSrc/net/minecraft/block/CampfireBlock.java namedSrc/net/minecraft/block/CampfireBlock.java
--- namedTargetSrc/net/minecraft/block/CampfireBlock.java	2024-07-06 04:54:47.977164392 +0000
+++ namedSrc/net/minecraft/block/CampfireBlock.java	2024-07-06 04:53:39.048770773 +0000
@@ -167,7 +167,7 @@
    @Override
    protected void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
       if ((Boolean)state.get(LIT) && entity instanceof LivingEntity) {
-         entity.damage(world.getDamageSources().m_lxrwzlzj(), (float)this.fireDamage);
+         entity.damage(world.getDamageSources().campfire(), (float)this.fireDamage);
       }
 
       super.onEntityCollision(state, world, pos, entity);
diff -bur namedTargetSrc/net/minecraft/block/DecoratedPotBlock.java namedSrc/net/minecraft/block/DecoratedPotBlock.java
--- namedTargetSrc/net/minecraft/block/DecoratedPotBlock.java	2024-07-06 04:54:47.821163520 +0000
+++ namedSrc/net/minecraft/block/DecoratedPotBlock.java	2024-07-06 04:53:38.856769730 +0000
@@ -261,7 +261,7 @@
    public BlockState onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player) {
       ItemStack lv = player.getMainHandStack();
       BlockState lv2 = state;
-      if (lv.isIn(ItemTags.BREAKS_DECORATED_POTS) && !EnchantmentHelper.m_ruiicrds(lv, EnchantmentTags.PREVENTS_DECORATED_POT_SHATTERING)) {
+      if (lv.isIn(ItemTags.BREAKS_DECORATED_POTS) && !EnchantmentHelper.hasTag(lv, EnchantmentTags.PREVENTS_DECORATED_POT_SHATTERING)) {
          lv2 = state.with(CRACKED, Boolean.valueOf(true));
          world.setBlockState(pos, lv2, Block.NO_REDRAW);
       }
diff -bur namedTargetSrc/net/minecraft/block/EndGatewayBlock.java namedSrc/net/minecraft/block/EndGatewayBlock.java
--- namedTargetSrc/net/minecraft/block/EndGatewayBlock.java	2024-07-06 04:54:47.785163318 +0000
+++ namedSrc/net/minecraft/block/EndGatewayBlock.java	2024-07-06 04:53:38.816769513 +0000
@@ -11,11 +11,10 @@
 import net.minecraft.item.ItemStack;
 import net.minecraft.particle.ParticleTypes;
 import net.minecraft.server.world.ServerWorld;
-import net.minecraft.unmapped.C_teerivzm;
-import net.minecraft.unmapped.C_zbvyjshu;
 import net.minecraft.util.math.BlockPos;
 import net.minecraft.util.math.Vec3d;
 import net.minecraft.util.random.RandomGenerator;
+import net.minecraft.world.DimensionTransition;
 import net.minecraft.world.World;
 import net.minecraft.world.WorldView;
 import org.jetbrains.annotations.Nullable;
@@ -24,7 +23,7 @@
  * @mapping {@literal hashed net/minecraft/unmapped/C_pwjzqojt}
  * @mapping {@literal named net/minecraft/block/EndGatewayBlock}
  */
-public class EndGatewayBlock extends BlockWithEntity implements C_teerivzm {
+public class EndGatewayBlock extends BlockWithEntity implements Portal {
    /**
     * @mapping {@literal hashed f_lllipcqu Lnet/minecraft/unmapped/C_pwjzqojt;f_lllipcqu:Lcom/mojang/serialization/MapCodec;}
     * @mapping {@literal named CODEC Lnet/minecraft/block/EndGatewayBlock;CODEC:Lcom/mojang/serialization/MapCodec;}
@@ -125,15 +124,16 @@
    }
 
    /**
-    * @mapping {@literal hashed m_ssylpsbj Lnet/minecraft/unmapped/C_pwjzqojt;m_ssylpsbj(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_hynzadkk;)Lnet/minecraft/unmapped/C_zbvyjshu;}
-    * @mapping {@literal named m_ssylpsbj Lnet/minecraft/block/EndGatewayBlock;m_ssylpsbj(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/unmapped/C_zbvyjshu;}
+    * Mapping not found
     */
    @Nullable
    @Override
-   public C_zbvyjshu m_ssylpsbj(ServerWorld world, Entity arg2, BlockPos pos) {
+   public DimensionTransition createTransition(ServerWorld world, Entity entity, BlockPos pos) {
       if (world.getBlockEntity(pos) instanceof EndGatewayBlockEntity lv2) {
          Vec3d lv4 = lv2.m_shfarbmg(world, pos);
-         return lv4 != null ? new C_zbvyjshu(world, lv4, m_jeehjmdl(arg2), arg2.getYaw(), arg2.getPitch(), C_zbvyjshu.f_fbtpbgjw) : null;
+         return lv4 != null
+            ? new DimensionTransition(world, lv4, m_jeehjmdl(entity), entity.getYaw(), entity.getPitch(), DimensionTransition.PLACE_PORTAL_CHUNK_TICKET)
+            : null;
       } else {
          return null;
       }
diff -bur namedTargetSrc/net/minecraft/block/EndPortalBlock.java namedSrc/net/minecraft/block/EndPortalBlock.java
--- namedTargetSrc/net/minecraft/block/EndPortalBlock.java	2024-07-06 04:54:47.945164213 +0000
+++ namedSrc/net/minecraft/block/EndPortalBlock.java	2024-07-06 04:53:39.012770577 +0000
@@ -11,8 +11,6 @@
 import net.minecraft.server.network.ServerPlayerEntity;
 import net.minecraft.server.world.ServerWorld;
 import net.minecraft.unmapped.C_idrtmfxf;
-import net.minecraft.unmapped.C_teerivzm;
-import net.minecraft.unmapped.C_zbvyjshu;
 import net.minecraft.util.function.BooleanBiFunction;
 import net.minecraft.util.math.BlockPos;
 import net.minecraft.util.math.Direction;
@@ -21,6 +19,7 @@
 import net.minecraft.util.shape.VoxelShape;
 import net.minecraft.util.shape.VoxelShapes;
 import net.minecraft.world.BlockView;
+import net.minecraft.world.DimensionTransition;
 import net.minecraft.world.World;
 import net.minecraft.world.WorldView;
 
@@ -28,7 +27,7 @@
  * @mapping {@literal hashed net/minecraft/unmapped/C_iqbzlnao}
  * @mapping {@literal named net/minecraft/block/EndPortalBlock}
  */
-public class EndPortalBlock extends BlockWithEntity implements C_teerivzm {
+public class EndPortalBlock extends BlockWithEntity implements Portal {
    /**
     * @mapping {@literal hashed f_woptqwkp Lnet/minecraft/unmapped/C_iqbzlnao;f_woptqwkp:Lcom/mojang/serialization/MapCodec;}
     * @mapping {@literal named CODEC Lnet/minecraft/block/EndPortalBlock;CODEC:Lcom/mojang/serialization/MapCodec;}
@@ -93,11 +92,10 @@
    }
 
    /**
-    * @mapping {@literal hashed m_ssylpsbj Lnet/minecraft/unmapped/C_iqbzlnao;m_ssylpsbj(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_hynzadkk;)Lnet/minecraft/unmapped/C_zbvyjshu;}
-    * @mapping {@literal named m_ssylpsbj Lnet/minecraft/block/EndPortalBlock;m_ssylpsbj(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/unmapped/C_zbvyjshu;}
+    * Mapping not found
     */
    @Override
-   public C_zbvyjshu m_ssylpsbj(ServerWorld world, Entity arg2, BlockPos pos) {
+   public DimensionTransition createTransition(ServerWorld world, Entity entity, BlockPos pos) {
       RegistryKey<World> lv = world.getRegistryKey() == World.END ? World.OVERWORLD : World.END;
       ServerWorld lv2 = world.getServer().getWorld(lv);
       if (lv2 == null) {
@@ -106,22 +104,24 @@
          boolean bl = lv == World.END;
          BlockPos lv3 = bl ? ServerWorld.END_SPAWN_POS : lv2.getSpawnPos();
          Vec3d lv4 = lv3.m_rtputfdg();
-         float f = arg2.getYaw();
+         float f = entity.getYaw();
          if (bl) {
             C_idrtmfxf.m_narefewt(lv2, BlockPos.fromPosition(lv4).down(), true);
             f = Direction.WEST.asRotation();
-            if (arg2 instanceof ServerPlayerEntity) {
+            if (entity instanceof ServerPlayerEntity) {
                lv4 = lv4.subtract(0.0, 1.0, 0.0);
             }
          } else {
-            if (arg2 instanceof ServerPlayerEntity lv5) {
-               return lv5.m_jpjsvuqt(false, C_zbvyjshu.f_jgwyllbi);
+            if (entity instanceof ServerPlayerEntity lv5) {
+               return lv5.m_jpjsvuqt(false, DimensionTransition.NO_OP);
             }
 
-            lv4 = arg2.m_vfbpgxfo(lv2, lv3).m_rtputfdg();
+            lv4 = entity.getAdjustedSpawnLocation(lv2, lv3).m_rtputfdg();
          }
 
-         return new C_zbvyjshu(lv2, lv4, arg2.getVelocity(), f, arg2.getPitch(), C_zbvyjshu.f_kidpbkzf.then(C_zbvyjshu.f_fbtpbgjw));
+         return new DimensionTransition(
+            lv2, lv4, entity.getVelocity(), f, entity.getPitch(), DimensionTransition.PLAY_PORTAL_SOUND.then(DimensionTransition.PLACE_PORTAL_CHUNK_TICKET)
+         );
       }
    }
 
diff -bur namedTargetSrc/net/minecraft/block/IceBlock.java namedSrc/net/minecraft/block/IceBlock.java
--- namedTargetSrc/net/minecraft/block/IceBlock.java	2024-07-06 04:54:48.053164817 +0000
+++ namedSrc/net/minecraft/block/IceBlock.java	2024-07-06 04:53:39.132771229 +0000
@@ -54,7 +54,7 @@
    @Override
    public void afterBreak(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack) {
       super.afterBreak(world, player, pos, state, blockEntity, stack);
-      if (!EnchantmentHelper.m_ruiicrds(stack, EnchantmentTags.PREVENTS_ICE_MELTING)) {
+      if (!EnchantmentHelper.hasTag(stack, EnchantmentTags.PREVENTS_ICE_MELTING)) {
          if (world.getDimension().ultraWarm()) {
             world.removeBlock(pos, false);
             return;
diff -bur namedTargetSrc/net/minecraft/block/InfestedBlock.java namedSrc/net/minecraft/block/InfestedBlock.java
--- namedTargetSrc/net/minecraft/block/InfestedBlock.java	2024-07-06 04:54:47.865163766 +0000
+++ namedSrc/net/minecraft/block/InfestedBlock.java	2024-07-06 04:53:38.904769991 +0000
@@ -108,7 +108,7 @@
    @Override
    protected void onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack, boolean dropExperience) {
       super.onStacksDropped(state, world, pos, stack, dropExperience);
-      if (world.getGameRules().getBooleanValue(GameRules.DO_TILE_DROPS) && !EnchantmentHelper.m_ruiicrds(stack, EnchantmentTags.PREVENTS_INFESTED_SPAWNS)) {
+      if (world.getGameRules().getBooleanValue(GameRules.DO_TILE_DROPS) && !EnchantmentHelper.hasTag(stack, EnchantmentTags.PREVENTS_INFESTED_SPAWNS)) {
          this.spawnSilverfish(world, pos);
       }
    }
diff -bur namedTargetSrc/net/minecraft/block/NetherPortalBlock.java namedSrc/net/minecraft/block/NetherPortalBlock.java
--- namedTargetSrc/net/minecraft/block/NetherPortalBlock.java	2024-07-06 04:54:47.993164481 +0000
+++ namedSrc/net/minecraft/block/NetherPortalBlock.java	2024-07-06 04:53:39.064770860 +0000
@@ -17,8 +17,6 @@
 import net.minecraft.state.StateManager;
 import net.minecraft.state.property.EnumProperty;
 import net.minecraft.state.property.Properties;
-import net.minecraft.unmapped.C_teerivzm;
-import net.minecraft.unmapped.C_zbvyjshu;
 import net.minecraft.util.BlockRotation;
 import net.minecraft.util.math.BlockPos;
 import net.minecraft.util.math.Direction;
@@ -27,6 +25,7 @@
 import net.minecraft.util.shape.VoxelShape;
 import net.minecraft.world.BlockLocating;
 import net.minecraft.world.BlockView;
+import net.minecraft.world.DimensionTransition;
 import net.minecraft.world.GameRules;
 import net.minecraft.world.World;
 import net.minecraft.world.WorldAccess;
@@ -41,7 +40,7 @@
  * @mapping {@literal hashed net/minecraft/unmapped/C_zpsdinym}
  * @mapping {@literal named net/minecraft/block/NetherPortalBlock}
  */
-public class NetherPortalBlock extends Block implements C_teerivzm {
+public class NetherPortalBlock extends Block implements Portal {
    /**
     * @mapping {@literal hashed f_murlvzvr Lnet/minecraft/unmapped/C_zpsdinym;f_murlvzvr:Lcom/mojang/serialization/MapCodec;}
     * @mapping {@literal named CODEC Lnet/minecraft/block/NetherPortalBlock;CODEC:Lcom/mojang/serialization/MapCodec;}
@@ -151,12 +150,11 @@
    }
 
    /**
-    * @mapping {@literal hashed m_ynslrhia Lnet/minecraft/unmapped/C_zpsdinym;m_ynslrhia(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;)I}
-    * @mapping {@literal named m_ynslrhia Lnet/minecraft/block/NetherPortalBlock;m_ynslrhia(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)I}
+    * Mapping not found
     */
    @Override
-   public int m_ynslrhia(ServerWorld world, Entity arg2) {
-      return arg2 instanceof PlayerEntity lv
+   public int getTransitionTime(ServerWorld world, Entity entity) {
+      return entity instanceof PlayerEntity lv
          ? Math.max(
             1,
             world.getGameRules()
@@ -166,12 +164,11 @@
    }
 
    /**
-    * @mapping {@literal hashed m_ssylpsbj Lnet/minecraft/unmapped/C_zpsdinym;m_ssylpsbj(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_hynzadkk;)Lnet/minecraft/unmapped/C_zbvyjshu;}
-    * @mapping {@literal named m_ssylpsbj Lnet/minecraft/block/NetherPortalBlock;m_ssylpsbj(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/unmapped/C_zbvyjshu;}
+    * Mapping not found
     */
    @Nullable
    @Override
-   public C_zbvyjshu m_ssylpsbj(ServerWorld world, Entity arg2, BlockPos pos) {
+   public DimensionTransition createTransition(ServerWorld world, Entity entity, BlockPos pos) {
       RegistryKey<World> lv = world.getRegistryKey() == World.NETHER ? World.OVERWORLD : World.NETHER;
       ServerWorld lv2 = world.getServer().getWorld(lv);
       if (lv2 == null) {
@@ -180,25 +177,25 @@
          boolean bl = lv2.getRegistryKey() == World.NETHER;
          WorldBorder lv3 = lv2.getWorldBorder();
          double d = DimensionType.getCoordinateScaleFactor(world.getDimension(), lv2.getDimension());
-         BlockPos lv4 = lv3.m_vnkyxdhv(arg2.getX() * d, arg2.getY(), arg2.getZ() * d);
-         return this.m_cuetenod(lv2, arg2, pos, lv4, bl, lv3);
+         BlockPos lv4 = lv3.m_vnkyxdhv(entity.getX() * d, entity.getY(), entity.getZ() * d);
+         return this.m_cuetenod(lv2, entity, pos, lv4, bl, lv3);
       }
    }
 
    /**
     * @mapping {@literal hashed m_cuetenod Lnet/minecraft/unmapped/C_zpsdinym;m_cuetenod(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_hynzadkk;Lnet/minecraft/unmapped/C_hynzadkk;ZLnet/minecraft/unmapped/C_pneibfez;)Lnet/minecraft/unmapped/C_zbvyjshu;}
-    * @mapping {@literal named m_cuetenod Lnet/minecraft/block/NetherPortalBlock;m_cuetenod(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/world/border/WorldBorder;)Lnet/minecraft/unmapped/C_zbvyjshu;}
+    * @mapping {@literal named m_cuetenod Lnet/minecraft/block/NetherPortalBlock;m_cuetenod(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/world/border/WorldBorder;)Lnet/minecraft/world/DimensionTransition;}
     */
    @Nullable
-   private C_zbvyjshu m_cuetenod(ServerWorld world, Entity arg2, BlockPos arg3, BlockPos arg4, boolean bl, WorldBorder arg5) {
+   private DimensionTransition m_cuetenod(ServerWorld world, Entity arg2, BlockPos arg3, BlockPos arg4, boolean bl, WorldBorder arg5) {
       Optional<BlockPos> optional = world.getPortalForcer().m_mpevuvcu(arg4, bl, arg5);
       BlockLocating.Rectangle lv3;
-      C_zbvyjshu.C_pytyshdn lv4;
+      DimensionTransition.PostDimensionTransition lv4;
       if (optional.isPresent()) {
          BlockPos lv = (BlockPos)optional.get();
          BlockState lv2 = world.getBlockState(lv);
          lv3 = BlockLocating.getLargestRectangle(lv, lv2.get(Properties.HORIZONTAL_AXIS), 21, Direction.Axis.Y, 21, pos -> world.getBlockState(pos) == lv2);
-         lv4 = C_zbvyjshu.f_kidpbkzf.then(arg2x -> arg2x.m_gykcjypz(lv));
+         lv4 = DimensionTransition.PLAY_PORTAL_SOUND.then(arg2x -> arg2x.placePortalChunkTicket(lv));
       } else {
          Direction.Axis lv5 = (Direction.Axis)arg2.getWorld().getBlockState(arg3).getOrEmpty(AXIS).orElse(Direction.Axis.X);
          Optional<BlockLocating.Rectangle> optional2 = world.getPortalForcer().createPortal(arg4, lv5);
@@ -208,7 +205,7 @@
          }
 
          lv3 = (BlockLocating.Rectangle)optional2.get();
-         lv4 = C_zbvyjshu.f_kidpbkzf.then(C_zbvyjshu.f_fbtpbgjw);
+         lv4 = DimensionTransition.PLAY_PORTAL_SOUND.then(DimensionTransition.PLACE_PORTAL_CHUNK_TICKET);
       }
 
       return m_kvaymgqu(arg2, arg3, lv3, world, lv4);
@@ -216,9 +213,11 @@
 
    /**
     * @mapping {@literal hashed m_kvaymgqu Lnet/minecraft/unmapped/C_zpsdinym;m_kvaymgqu(Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_hynzadkk;Lnet/minecraft/unmapped/C_wauhtoaq$C_tqypnjit;Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;)Lnet/minecraft/unmapped/C_zbvyjshu;}
-    * @mapping {@literal named m_kvaymgqu Lnet/minecraft/block/NetherPortalBlock;m_kvaymgqu(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockLocating$Rectangle;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;)Lnet/minecraft/unmapped/C_zbvyjshu;}
+    * @mapping {@literal named m_kvaymgqu Lnet/minecraft/block/NetherPortalBlock;m_kvaymgqu(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/BlockLocating$Rectangle;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/DimensionTransition$PostDimensionTransition;)Lnet/minecraft/world/DimensionTransition;}
     */
-   private static C_zbvyjshu m_kvaymgqu(Entity arg, BlockPos pos, BlockLocating.Rectangle arg3, ServerWorld world, C_zbvyjshu.C_pytyshdn arg5) {
+   private static DimensionTransition m_kvaymgqu(
+      Entity arg, BlockPos pos, BlockLocating.Rectangle arg3, ServerWorld world, DimensionTransition.PostDimensionTransition arg5
+   ) {
       BlockState lv = arg.getWorld().getBlockState(pos);
       Direction.Axis lv2;
       Vec3d lv4;
@@ -236,10 +235,18 @@
 
    /**
     * @mapping {@literal hashed m_fzuhemna Lnet/minecraft/unmapped/C_zpsdinym;m_fzuhemna(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_wauhtoaq$C_tqypnjit;Lnet/minecraft/unmapped/C_xpuuihxf$C_rmpfouoz;Lnet/minecraft/unmapped/C_vgpupfxx;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_vgpupfxx;FFLnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;)Lnet/minecraft/unmapped/C_zbvyjshu;}
-    * @mapping {@literal named m_fzuhemna Lnet/minecraft/block/NetherPortalBlock;m_fzuhemna(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/BlockLocating$Rectangle;Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;FFLnet/minecraft/unmapped/C_zbvyjshu$C_pytyshdn;)Lnet/minecraft/unmapped/C_zbvyjshu;}
+    * @mapping {@literal named m_fzuhemna Lnet/minecraft/block/NetherPortalBlock;m_fzuhemna(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/BlockLocating$Rectangle;Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;FFLnet/minecraft/world/DimensionTransition$PostDimensionTransition;)Lnet/minecraft/world/DimensionTransition;}
     */
-   private static C_zbvyjshu m_fzuhemna(
-      ServerWorld world, BlockLocating.Rectangle arg2, Direction.Axis arg3, Vec3d arg4, Entity arg5, Vec3d arg6, float f, float g, C_zbvyjshu.C_pytyshdn arg7
+   private static DimensionTransition m_fzuhemna(
+      ServerWorld world,
+      BlockLocating.Rectangle arg2,
+      Direction.Axis arg3,
+      Vec3d arg4,
+      Entity arg5,
+      Vec3d arg6,
+      float f,
+      float g,
+      DimensionTransition.PostDimensionTransition arg7
    ) {
       BlockPos lv = arg2.lowerLeft;
       BlockState lv2 = world.getBlockState(lv);
@@ -255,15 +262,15 @@
       boolean bl = lv3 == Direction.Axis.X;
       Vec3d lv6 = new Vec3d((double)lv.getX() + (bl ? h : k), (double)lv.getY() + j, (double)lv.getZ() + (bl ? k : h));
       Vec3d lv7 = AreaHelper.findOpenPosition(lv6, world, arg5, lv4);
-      return new C_zbvyjshu(world, lv7, lv5, f + (float)i, g, arg7);
+      return new DimensionTransition(world, lv7, lv5, f + (float)i, g, arg7);
    }
 
    /**
     * Mapping not found
     */
    @Override
-   public C_teerivzm.C_budwrmur m_kzlfoqae() {
-      return C_teerivzm.C_budwrmur.CONFUSION;
+   public Portal.Effect getEffect() {
+      return Portal.Effect.CONFUSION;
    }
 
    /**
Only in namedSrc/net/minecraft/block: Portal.java
diff -bur namedTargetSrc/net/minecraft/client/gui/ParentElement.java namedSrc/net/minecraft/client/gui/ParentElement.java
--- namedTargetSrc/net/minecraft/client/gui/ParentElement.java	2024-07-06 04:54:47.905163989 +0000
+++ namedSrc/net/minecraft/client/gui/ParentElement.java	2024-07-06 04:53:38.952770251 +0000
@@ -153,7 +153,7 @@
     * Mapping not found
     */
    @Override
-   default void setFocused(boolean focused) {
+   default void setFocused(boolean bl) {
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/client/gui/screen/ingame/EnchantmentScreen.java namedSrc/net/minecraft/client/gui/screen/ingame/EnchantmentScreen.java
--- namedTargetSrc/net/minecraft/client/gui/screen/ingame/EnchantmentScreen.java	2024-07-06 04:54:47.869163788 +0000
+++ namedSrc/net/minecraft/client/gui/screen/ingame/EnchantmentScreen.java	2024-07-06 04:53:38.908770013 +0000
@@ -277,7 +277,9 @@
             int o = l + 1;
             if (this.isPointWithinBounds(60, 14 + 19 * l, 108, 17, (double)mouseX, (double)mouseY) && m > 0 && n >= 0 && optional != null) {
                List<Text> list = Lists.<Text>newArrayList();
-               list.add(Text.translatable("container.enchant.clue", Enchantment.m_zfqdifee((Holder<Enchantment>)optional.get(), n)).formatted(Formatting.WHITE));
+               list.add(
+                  Text.translatable("container.enchant.clue", Enchantment.getFullName((Holder<Enchantment>)optional.get(), n)).formatted(Formatting.WHITE)
+               );
                if (!bl) {
                   list.add(CommonTexts.EMPTY);
                   if (this.client.player.experienceLevel < m) {
diff -bur namedTargetSrc/net/minecraft/client/gui/screen/realms/RealmsMainScreen.java namedSrc/net/minecraft/client/gui/screen/realms/RealmsMainScreen.java
--- namedTargetSrc/net/minecraft/client/gui/screen/realms/RealmsMainScreen.java	2024-07-06 04:54:47.993164481 +0000
+++ namedSrc/net/minecraft/client/gui/screen/realms/RealmsMainScreen.java	2024-07-06 04:53:39.068770882 +0000
@@ -1500,9 +1500,9 @@
        * Mapping not found
        */
       @Override
-      public void setFocused(boolean focused) {
-         super.setFocused(focused);
-         this.button.setFocused(focused);
+      public void setFocused(boolean bl) {
+         super.setFocused(bl);
+         this.button.setFocused(bl);
       }
 
       /**
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/ClickableWidget.java namedSrc/net/minecraft/client/gui/widget/ClickableWidget.java
--- namedTargetSrc/net/minecraft/client/gui/widget/ClickableWidget.java	2024-07-06 04:54:48.013164593 +0000
+++ namedSrc/net/minecraft/client/gui/widget/ClickableWidget.java	2024-07-06 04:53:39.088770990 +0000
@@ -440,8 +440,8 @@
     * Mapping not found
     */
    @Override
-   public void setFocused(boolean focused) {
-      this.focused = focused;
+   public void setFocused(boolean bl) {
+      this.focused = bl;
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/DraggingWidget.java namedSrc/net/minecraft/client/gui/widget/DraggingWidget.java
--- namedTargetSrc/net/minecraft/client/gui/widget/DraggingWidget.java	2024-07-06 04:54:47.909164011 +0000
+++ namedSrc/net/minecraft/client/gui/widget/DraggingWidget.java	2024-07-06 04:53:38.960770295 +0000
@@ -120,7 +120,7 @@
     * Mapping not found
     */
    @Override
-   public void setFocused(boolean focused) {
-      ParentElement.super.setFocused(focused);
+   public void setFocused(boolean bl) {
+      ParentElement.super.setFocused(bl);
    }
 }
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/EditBoxWidget.java namedSrc/net/minecraft/client/gui/widget/EditBoxWidget.java
--- namedTargetSrc/net/minecraft/client/gui/widget/EditBoxWidget.java	2024-07-06 04:54:47.977164392 +0000
+++ namedSrc/net/minecraft/client/gui/widget/EditBoxWidget.java	2024-07-06 04:53:39.052770795 +0000
@@ -341,9 +341,9 @@
     * Mapping not found
     */
    @Override
-   public void setFocused(boolean focused) {
-      super.setFocused(focused);
-      if (focused) {
+   public void setFocused(boolean bl) {
+      super.setFocused(bl);
+      if (bl) {
          this.focusTime = Util.getMeasuringTimeMs();
       }
    }
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/HeaderBar.java namedSrc/net/minecraft/client/gui/widget/HeaderBar.java
--- namedTargetSrc/net/minecraft/client/gui/widget/HeaderBar.java	2024-07-06 04:54:48.053164817 +0000
+++ namedSrc/net/minecraft/client/gui/widget/HeaderBar.java	2024-07-06 04:53:39.128771207 +0000
@@ -122,10 +122,10 @@
     * Mapping not found
     */
    @Override
-   public void setFocused(boolean focused) {
-      super.setFocused(focused);
+   public void setFocused(boolean bl) {
+      super.setFocused(bl);
       if (this.getFocused() != null) {
-         this.getFocused().setFocused(focused);
+         this.getFocused().setFocused(bl);
       }
    }
 
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/list/EntryListWidget.java namedSrc/net/minecraft/client/gui/widget/list/EntryListWidget.java
--- namedTargetSrc/net/minecraft/client/gui/widget/list/EntryListWidget.java	2024-07-06 04:54:47.821163520 +0000
+++ namedSrc/net/minecraft/client/gui/widget/list/EntryListWidget.java	2024-07-06 04:53:38.856769730 +0000
@@ -883,7 +883,7 @@
        * @mapping {@literal named setFocused Lnet/minecraft/client/gui/widget/list/EntryListWidget$Entry;setFocused(Z)V}
        */
       @Override
-      public void setFocused(boolean focused) {
+      public void setFocused(boolean bl) {
       }
 
       /**
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/recipe_book/RecipeAlternativesWidget.java namedSrc/net/minecraft/client/gui/widget/recipe_book/RecipeAlternativesWidget.java
--- namedTargetSrc/net/minecraft/client/gui/widget/recipe_book/RecipeAlternativesWidget.java	2024-07-06 04:54:47.909164011 +0000
+++ namedSrc/net/minecraft/client/gui/widget/recipe_book/RecipeAlternativesWidget.java	2024-07-06 04:53:38.960770295 +0000
@@ -289,7 +289,7 @@
     * Mapping not found
     */
    @Override
-   public void setFocused(boolean focused) {
+   public void setFocused(boolean bl) {
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/recipe_book/RecipeBookWidget.java namedSrc/net/minecraft/client/gui/widget/recipe_book/RecipeBookWidget.java
--- namedTargetSrc/net/minecraft/client/gui/widget/recipe_book/RecipeBookWidget.java	2024-07-06 04:54:48.017164615 +0000
+++ namedSrc/net/minecraft/client/gui/widget/recipe_book/RecipeBookWidget.java	2024-07-06 04:53:39.092771012 +0000
@@ -645,7 +645,7 @@
     * Mapping not found
     */
    @Override
-   public void setFocused(boolean focused) {
+   public void setFocused(boolean bl) {
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/SliderWidget.java namedSrc/net/minecraft/client/gui/widget/SliderWidget.java
--- namedTargetSrc/net/minecraft/client/gui/widget/SliderWidget.java	2024-07-06 04:54:47.809163453 +0000
+++ namedSrc/net/minecraft/client/gui/widget/SliderWidget.java	2024-07-06 04:53:38.848769687 +0000
@@ -145,9 +145,9 @@
     * Mapping not found
     */
    @Override
-   public void setFocused(boolean focused) {
-      super.setFocused(focused);
-      if (!focused) {
+   public void setFocused(boolean bl) {
+      super.setFocused(bl);
+      if (!bl) {
          this.mutable = false;
       } else {
          InputType lv = MinecraftClient.getInstance().getLastInputType();
diff -bur namedTargetSrc/net/minecraft/client/gui/widget/TextFieldWidget.java namedSrc/net/minecraft/client/gui/widget/TextFieldWidget.java
--- namedTargetSrc/net/minecraft/client/gui/widget/TextFieldWidget.java	2024-07-06 04:54:47.845163654 +0000
+++ namedSrc/net/minecraft/client/gui/widget/TextFieldWidget.java	2024-07-06 04:53:38.884769882 +0000
@@ -734,10 +734,10 @@
     * Mapping not found
     */
    @Override
-   public void setFocused(boolean focused) {
-      if (this.focusUnlocked || focused) {
-         super.setFocused(focused);
-         if (focused) {
+   public void setFocused(boolean bl) {
+      if (this.focusUnlocked || bl) {
+         super.setFocused(bl);
+         if (bl) {
             this.f_ddgsctui = Util.getMeasuringTimeMs();
          }
       }
diff -bur namedTargetSrc/net/minecraft/client/network/ClientPlayerEntity.java namedSrc/net/minecraft/client/network/ClientPlayerEntity.java
--- namedTargetSrc/net/minecraft/client/network/ClientPlayerEntity.java	2024-07-06 04:54:47.949164235 +0000
+++ namedSrc/net/minecraft/client/network/ClientPlayerEntity.java	2024-07-06 04:53:39.016770599 +0000
@@ -9,6 +9,7 @@
 import net.fabricmc.api.EnvType;
 import net.fabricmc.api.Environment;
 import net.minecraft.block.BlockState;
+import net.minecraft.block.Portal;
 import net.minecraft.block.ShapeContext;
 import net.minecraft.block.entity.CommandBlockBlockEntity;
 import net.minecraft.block.entity.HangingSignBlockEntity;
@@ -76,7 +77,6 @@
 import net.minecraft.sound.SoundEvents;
 import net.minecraft.stat.StatHandler;
 import net.minecraft.text.Text;
-import net.minecraft.unmapped.C_teerivzm;
 import net.minecraft.util.Arm;
 import net.minecraft.util.ClickType;
 import net.minecraft.util.Hand;
@@ -1057,7 +1057,7 @@
       }
 
       if (!(this.client.currentScreen instanceof DownloadingTerrainScreen)) {
-         this.m_wcafttvs(this.m_wavkxtkh() == C_teerivzm.C_budwrmur.CONFUSION);
+         this.m_wcafttvs(this.m_wavkxtkh() == Portal.Effect.CONFUSION);
          this.tickNetherPortalCooldown();
       }
 
@@ -1221,8 +1221,8 @@
    /**
     * Mapping not found
     */
-   public C_teerivzm.C_budwrmur m_wavkxtkh() {
-      return this.f_xunwzhqo == null ? C_teerivzm.C_budwrmur.NONE : this.f_xunwzhqo.m_fgkknvcv();
+   public Portal.Effect m_wavkxtkh() {
+      return this.f_xunwzhqo == null ? Portal.Effect.NONE : this.f_xunwzhqo.m_fgkknvcv();
    }
 
    /**
diff -bur namedTargetSrc/net/minecraft/client/network/ClientPlayNetworkHandler.java namedSrc/net/minecraft/client/network/ClientPlayNetworkHandler.java
--- namedTargetSrc/net/minecraft/client/network/ClientPlayNetworkHandler.java	2024-07-06 04:54:48.033164705 +0000
+++ namedSrc/net/minecraft/client/network/ClientPlayNetworkHandler.java	2024-07-06 04:53:39.108771099 +0000
@@ -70,6 +70,7 @@
 import net.minecraft.entity.EquipmentSlot;
 import net.minecraft.entity.ExperienceOrbEntity;
 import net.minecraft.entity.ItemEntity;
+import net.minecraft.entity.Leashable;
 import net.minecraft.entity.LivingEntity;
 import net.minecraft.entity.MovementFlag;
 import net.minecraft.entity.PacketPositionCodec;
@@ -281,7 +282,6 @@
 import net.minecraft.stat.Stat;
 import net.minecraft.stat.StatHandler;
 import net.minecraft.text.Text;
-import net.minecraft.unmapped.C_gbavazgo;
 import net.minecraft.unmapped.C_hgofpcxx;
 import net.minecraft.unmapped.C_jhbjvrtr;
 import net.minecraft.unmapped.C_jvzsxkum;
@@ -1284,8 +1284,8 @@
    @Override
    public void onEntityAttachment(EntityAttachmentS2CPacket packet) {
       NetworkThreadUtils.forceMainThread(packet, this, this.client);
-      if (this.world.getEntityById(packet.getAttachedEntityId()) instanceof C_gbavazgo lv2) {
-         lv2.m_jywtllgu(packet.getHoldingEntityId());
+      if (this.world.getEntityById(packet.getAttachedEntityId()) instanceof Leashable lv2) {
+         lv2.setDelayedLeashHolderId(packet.getHoldingEntityId());
       }
    }
 
diff -bur namedTargetSrc/net/minecraft/client/network/OtherClientPlayerEntity.java namedSrc/net/minecraft/client/network/OtherClientPlayerEntity.java
--- namedTargetSrc/net/minecraft/client/network/OtherClientPlayerEntity.java	2024-07-06 04:54:48.045164772 +0000
+++ namedSrc/net/minecraft/client/network/OtherClientPlayerEntity.java	2024-07-06 04:53:39.124771186 +0000
@@ -85,7 +85,7 @@
       }
 
       if (this.velocityLerpDivisor > 0) {
-         this.addVelocity(
+         this.addVelocityInternal(
             new Vec3d(
                (this.lastVelocity.x - this.getVelocity().x) / (double)this.velocityLerpDivisor,
                (this.lastVelocity.y - this.getVelocity().y) / (double)this.velocityLerpDivisor,
diff -bur namedTargetSrc/net/minecraft/client/render/entity/EntityRenderer.java namedSrc/net/minecraft/client/render/entity/EntityRenderer.java
--- namedTargetSrc/net/minecraft/client/render/entity/EntityRenderer.java	2024-07-06 04:54:47.917164057 +0000
+++ namedSrc/net/minecraft/client/render/entity/EntityRenderer.java	2024-07-06 04:53:38.976770382 +0000
@@ -12,8 +12,8 @@
 import net.minecraft.client.util.math.MatrixStack;
 import net.minecraft.entity.Entity;
 import net.minecraft.entity.EntityAttachmentType;
+import net.minecraft.entity.Leashable;
 import net.minecraft.text.Text;
-import net.minecraft.unmapped.C_gbavazgo;
 import net.minecraft.util.Identifier;
 import net.minecraft.util.math.BlockPos;
 import net.minecraft.util.math.Box;
@@ -110,8 +110,8 @@
          if (frustum.isVisible(lv)) {
             return true;
          } else {
-            if (entity instanceof C_gbavazgo lv2) {
-               Entity lv3 = lv2.m_xkmzlwed();
+            if (entity instanceof Leashable lv2) {
+               Entity lv3 = lv2.getLeashHolder();
                if (lv3 != null) {
                   return frustum.isVisible(lv3.getVisibilityBoundingBox());
                }
@@ -135,8 +135,8 @@
     * @mapping {@literal named render Lnet/minecraft/client/render/entity/EntityRenderer;render(Lnet/minecraft/entity/Entity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V}
     */
    public void render(T entity, float yaw, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light) {
-      if (entity instanceof C_gbavazgo lv) {
-         Entity lv2 = lv.m_xkmzlwed();
+      if (entity instanceof Leashable lv) {
+         Entity lv2 = lv.getLeashHolder();
          if (lv2 != null) {
             this.m_kgwqpdyp(entity, tickDelta, matrices, vertexConsumers, lv2);
          }
Only in namedSrc/net/minecraft/component: EnchantmentEffectComponentTypes.java
diff -bur namedTargetSrc/net/minecraft/component/type/ItemEnchantmentsComponent.java namedSrc/net/minecraft/component/type/ItemEnchantmentsComponent.java
--- namedTargetSrc/net/minecraft/component/type/ItemEnchantmentsComponent.java	2024-07-06 04:54:47.969164347 +0000
+++ namedSrc/net/minecraft/component/type/ItemEnchantmentsComponent.java	2024-07-06 04:53:39.040770729 +0000
@@ -47,7 +47,7 @@
     * @mapping {@literal hashed f_weawpons Lnet/minecraft/unmapped/C_qlclfxvn;f_weawpons:Lcom/mojang/serialization/Codec;}
     * @mapping {@literal named LEVELS_CODEC Lnet/minecraft/component/type/ItemEnchantmentsComponent;LEVELS_CODEC:Lcom/mojang/serialization/Codec;}
     */
-   private static final Codec<Object2IntOpenHashMap<Holder<Enchantment>>> LEVELS_CODEC = Codec.unboundedMap(Enchantment.f_cvunyugc, LEVEL_CODEC)
+   private static final Codec<Object2IntOpenHashMap<Holder<Enchantment>>> LEVELS_CODEC = Codec.unboundedMap(Enchantment.ENTRY_CODEC, LEVEL_CODEC)
       .xmap(Object2IntOpenHashMap::new, Function.identity());
    /**
     * @mapping {@literal hashed f_nekwvric Lnet/minecraft/unmapped/C_qlclfxvn;f_nekwvric:Lcom/mojang/serialization/Codec;}
@@ -72,7 +72,7 @@
     * @mapping {@literal named PACKET_CODEC Lnet/minecraft/component/type/ItemEnchantmentsComponent;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;}
     */
    public static final PacketCodec<RegistryByteBuf, ItemEnchantmentsComponent> PACKET_CODEC = PacketCodec.tuple(
-      PacketCodecs.map(Object2IntOpenHashMap::new, Enchantment.PACKET_CODEC, PacketCodecs.VAR_INT),
+      PacketCodecs.map(Object2IntOpenHashMap::new, Enchantment.ENTRY_PACKET_CODEC, PacketCodecs.VAR_INT),
       component -> component.levels,
       PacketCodecs.BOOL,
       component -> component.shownInTooltip,
@@ -124,14 +124,14 @@
          for (Holder<Enchantment> lv3 : lv2) {
             int i = this.levels.getInt(lv3);
             if (i > 0) {
-               tooltipConsumer.accept(Enchantment.m_zfqdifee(lv3, i));
+               tooltipConsumer.accept(Enchantment.getFullName(lv3, i));
             }
          }
 
          for (Entry<Holder<Enchantment>> entry : this.levels.object2IntEntrySet()) {
             Holder<Enchantment> lv4 = (Holder<Enchantment>)entry.getKey();
             if (!lv2.contains(lv4)) {
-               tooltipConsumer.accept(Enchantment.m_zfqdifee((Holder<Enchantment>)entry.getKey(), entry.getIntValue()));
+               tooltipConsumer.accept(Enchantment.getFullName((Holder<Enchantment>)entry.getKey(), entry.getIntValue()));
             }
          }
       }
diff -bur namedTargetSrc/net/minecraft/data/server/advancement/AdventureAdvancementTabGenerator.java namedSrc/net/minecraft/data/server/advancement/AdventureAdvancementTabGenerator.java
--- namedTargetSrc/net/minecraft/data/server/advancement/AdventureAdvancementTabGenerator.java	2024-07-06 04:54:48.009164570 +0000
+++ namedSrc/net/minecraft/data/server/advancement/AdventureAdvancementTabGenerator.java	2024-07-06 04:53:39.084770968 +0000
@@ -994,7 +994,7 @@
                LootCondition.Builder lv3 = LocationCheckLootCondition.builder(
                   LocationPredicate.Builder.create().block(BlockPredicate.Builder.create().blocks(block)), new BlockPos(direction.getVector())
                );
-               return AllOfLootCondition.m_sibyssbo(lv2, lv3);
+               return AllOfLootCondition.builder(lv2, lv3);
             }
          )
          .toArray(LootCondition.Builder[]::new);
diff -bur namedTargetSrc/net/minecraft/data/server/tag/DamageTypeTagsProvider.java namedSrc/net/minecraft/data/server/tag/DamageTypeTagsProvider.java
--- namedTargetSrc/net/minecraft/data/server/tag/DamageTypeTagsProvider.java	2024-07-06 04:54:47.801163408 +0000
+++ namedSrc/net/minecraft/data/server/tag/DamageTypeTagsProvider.java	2024-07-06 04:53:38.840769643 +0000
@@ -58,7 +58,7 @@
       this.getOrCreateTagBuilder(DamageTypeTags.IS_FIRE)
          .add(
             DamageTypes.IN_FIRE,
-            DamageTypes.f_aebymdih,
+            DamageTypes.CAMPFIRE,
             DamageTypes.ON_FIRE,
             DamageTypes.LAVA,
             DamageTypes.HOT_FLOOR,
@@ -88,7 +88,7 @@
       this.getOrCreateTagBuilder(DamageTypeTags.NO_IMPACT).add(DamageTypes.DROWN);
       this.getOrCreateTagBuilder(DamageTypeTags.ALWAYS_MOST_SIGNIFICANT_FALL).add(DamageTypes.OUT_OF_WORLD);
       this.getOrCreateTagBuilder(DamageTypeTags.WITHER_IMMUNE_TO).add(DamageTypes.DROWN);
-      this.getOrCreateTagBuilder(DamageTypeTags.IGNITES_ARMOR_STANDS).add(DamageTypes.IN_FIRE, DamageTypes.f_aebymdih);
+      this.getOrCreateTagBuilder(DamageTypeTags.IGNITES_ARMOR_STANDS).add(DamageTypes.IN_FIRE, DamageTypes.CAMPFIRE);
       this.getOrCreateTagBuilder(DamageTypeTags.BURNS_ARMOR_STANDS).add(DamageTypes.ON_FIRE);
       this.getOrCreateTagBuilder(DamageTypeTags.AVOIDS_GUARDIAN_THORNS).add(DamageTypes.MAGIC, DamageTypes.THORNS).addTag(DamageTypeTags.IS_EXPLOSION);
       this.getOrCreateTagBuilder(DamageTypeTags.ALWAYS_TRIGGERS_SILVERFISH).add(DamageTypes.MAGIC);
@@ -121,7 +121,7 @@
             DamageTypes.STALAGMITE,
             DamageTypes.OUTSIDE_BORDER,
             DamageTypes.GENERIC_KILL,
-            DamageTypes.f_aebymdih
+            DamageTypes.CAMPFIRE
          );
       this.getOrCreateTagBuilder(DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDS)
          .add(DamageTypes.ARROW, DamageTypes.TRIDENT, DamageTypes.FIREBALL, DamageTypes.WITHER_SKULL, DamageTypes.WIND_CHARGE);
@@ -142,7 +142,7 @@
             DamageTypes.WITHER
          );
       this.getOrCreateTagBuilder(DamageTypeTags.IS_PLAYER_ATTACK).add(DamageTypes.PLAYER_ATTACK);
-      this.getOrCreateTagBuilder(DamageTypeTags.BURN_FROM_STEPPING).add(DamageTypes.f_aebymdih, DamageTypes.HOT_FLOOR);
+      this.getOrCreateTagBuilder(DamageTypeTags.BURN_FROM_STEPPING).add(DamageTypes.CAMPFIRE, DamageTypes.HOT_FLOOR);
       this.getOrCreateTagBuilder(DamageTypeTags.PANIC_ENVIRONMENTAL_CAUSES)
          .add(
             DamageTypes.CACTUS,
Only in namedSrc/net/minecraft/enchantment: effect
Only in namedSrc/net/minecraft/enchantment: EnchantmentEffectContext.java

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View the diff here (2/3):
diff -bur namedTargetSrc/net/minecraft/enchantment/EnchantmentHelper.java namedSrc/net/minecraft/enchantment/EnchantmentHelper.java
--- namedTargetSrc/net/minecraft/enchantment/EnchantmentHelper.java	2024-07-06 04:54:47.941164191 +0000
+++ namedSrc/net/minecraft/enchantment/EnchantmentHelper.java	2024-07-06 04:53:39.008770555 +0000
@@ -13,7 +13,11 @@
 import net.minecraft.block.BlockState;
 import net.minecraft.component.DataComponentType;
 import net.minecraft.component.DataComponentTypes;
+import net.minecraft.component.EnchantmentEffectComponentTypes;
 import net.minecraft.component.type.ItemEnchantmentsComponent;
+import net.minecraft.enchantment.effect.EnchantmentEffectTarget;
+import net.minecraft.enchantment.effect.EnchantmentValueEffect;
+import net.minecraft.enchantment.provider.EnchantmentProvider;
 import net.minecraft.entity.Entity;
 import net.minecraft.entity.EquipmentSlot;
 import net.minecraft.entity.EquipmentSlotGroup;
@@ -33,11 +37,6 @@
 import net.minecraft.registry.RegistryKeys;
 import net.minecraft.registry.tag.TagKey;
 import net.minecraft.server.world.ServerWorld;
-import net.minecraft.unmapped.C_nzjqewao;
-import net.minecraft.unmapped.C_pjrjvgrp;
-import net.minecraft.unmapped.C_qraehchg;
-import net.minecraft.unmapped.C_rkxlblfn;
-import net.minecraft.unmapped.C_zjvjrddv;
 import net.minecraft.util.Util;
 import net.minecraft.util.collection.Weighting;
 import net.minecraft.util.math.MathHelper;
@@ -56,25 +55,25 @@
 public class EnchantmentHelper {
    /**
     * @mapping {@literal hashed m_byjosehc Lnet/minecraft/unmapped/C_jakrppis;m_byjosehc(Lnet/minecraft/unmapped/C_cjzoxshv;Lnet/minecraft/unmapped/C_sddaxwyk;)I}
-    * @mapping {@literal named m_byjosehc Lnet/minecraft/enchantment/EnchantmentHelper;m_byjosehc(Lnet/minecraft/registry/Holder;Lnet/minecraft/item/ItemStack;)I}
+    * @mapping {@literal named getLevel Lnet/minecraft/enchantment/EnchantmentHelper;getLevel(Lnet/minecraft/registry/Holder;Lnet/minecraft/item/ItemStack;)I}
     */
-   public static int m_byjosehc(Holder<Enchantment> arg, ItemStack stack) {
+   public static int getLevel(Holder<Enchantment> enchantment, ItemStack stack) {
       ItemEnchantmentsComponent lv = stack.getOrDefault(DataComponentTypes.ENCHANTMENTS, ItemEnchantmentsComponent.DEFAULT);
-      return lv.m_ugcgsgdf(arg);
+      return lv.m_ugcgsgdf(enchantment);
    }
 
    /**
     * @mapping {@literal hashed m_iefpfmdo Lnet/minecraft/unmapped/C_jakrppis;m_iefpfmdo(Lnet/minecraft/unmapped/C_sddaxwyk;Ljava/util/function/Consumer;)Lnet/minecraft/unmapped/C_qlclfxvn;}
-    * @mapping {@literal named m_iefpfmdo Lnet/minecraft/enchantment/EnchantmentHelper;m_iefpfmdo(Lnet/minecraft/item/ItemStack;Ljava/util/function/Consumer;)Lnet/minecraft/component/type/ItemEnchantmentsComponent;}
+    * @mapping {@literal named applyEnchantments Lnet/minecraft/enchantment/EnchantmentHelper;applyEnchantments(Lnet/minecraft/item/ItemStack;Ljava/util/function/Consumer;)Lnet/minecraft/component/type/ItemEnchantmentsComponent;}
     */
-   public static ItemEnchantmentsComponent m_iefpfmdo(ItemStack stack, java.util.function.Consumer<ItemEnchantmentsComponent.Builder> consumer) {
-      DataComponentType<ItemEnchantmentsComponent> lv = m_fbcdwuju(stack);
+   public static ItemEnchantmentsComponent applyEnchantments(ItemStack stack, java.util.function.Consumer<ItemEnchantmentsComponent.Builder> applier) {
+      DataComponentType<ItemEnchantmentsComponent> lv = getComponentType(stack);
       ItemEnchantmentsComponent lv2 = stack.get(lv);
       if (lv2 == null) {
          return ItemEnchantmentsComponent.DEFAULT;
       } else {
          ItemEnchantmentsComponent.Builder lv3 = new ItemEnchantmentsComponent.Builder(lv2);
-         consumer.accept(lv3);
+         applier.accept(lv3);
          ItemEnchantmentsComponent lv4 = lv3.build();
          stack.set(lv, lv4);
          return lv4;
@@ -83,10 +82,10 @@
 
    /**
     * @mapping {@literal hashed m_mimuzvcl Lnet/minecraft/unmapped/C_jakrppis;m_mimuzvcl(Lnet/minecraft/unmapped/C_sddaxwyk;)Z}
-    * @mapping {@literal named m_mimuzvcl Lnet/minecraft/enchantment/EnchantmentHelper;m_mimuzvcl(Lnet/minecraft/item/ItemStack;)Z}
+    * @mapping {@literal named supportsEnchantments Lnet/minecraft/enchantment/EnchantmentHelper;supportsEnchantments(Lnet/minecraft/item/ItemStack;)Z}
     */
-   public static boolean m_mimuzvcl(ItemStack stack) {
-      return stack.contains(m_fbcdwuju(stack));
+   public static boolean supportsEnchantments(ItemStack stack) {
+      return stack.contains(getComponentType(stack));
    }
 
    /**
@@ -99,104 +98,104 @@
     * @mapping {@literal named set Lnet/minecraft/enchantment/EnchantmentHelper;set(Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/ItemEnchantmentsComponent;)V}
     */
    public static void set(ItemStack stack, ItemEnchantmentsComponent value) {
-      stack.set(m_fbcdwuju(stack), value);
+      stack.set(getComponentType(stack), value);
    }
 
    /**
     * @mapping {@literal hashed m_uyoiclvv Lnet/minecraft/unmapped/C_jakrppis;m_uyoiclvv(Lnet/minecraft/unmapped/C_sddaxwyk;)Lnet/minecraft/unmapped/C_qlclfxvn;}
-    * @mapping {@literal named m_uyoiclvv Lnet/minecraft/enchantment/EnchantmentHelper;m_uyoiclvv(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/type/ItemEnchantmentsComponent;}
+    * @mapping {@literal named getEnchantments Lnet/minecraft/enchantment/EnchantmentHelper;getEnchantments(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/type/ItemEnchantmentsComponent;}
     */
-   public static ItemEnchantmentsComponent m_uyoiclvv(ItemStack stack) {
-      return stack.getOrDefault(m_fbcdwuju(stack), ItemEnchantmentsComponent.DEFAULT);
+   public static ItemEnchantmentsComponent getEnchantments(ItemStack stack) {
+      return stack.getOrDefault(getComponentType(stack), ItemEnchantmentsComponent.DEFAULT);
    }
 
    /**
     * @mapping {@literal hashed m_fbcdwuju Lnet/minecraft/unmapped/C_jakrppis;m_fbcdwuju(Lnet/minecraft/unmapped/C_sddaxwyk;)Lnet/minecraft/unmapped/C_pscqxfcs;}
-    * @mapping {@literal named m_fbcdwuju Lnet/minecraft/enchantment/EnchantmentHelper;m_fbcdwuju(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/DataComponentType;}
+    * @mapping {@literal named getComponentType Lnet/minecraft/enchantment/EnchantmentHelper;getComponentType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/DataComponentType;}
     */
-   private static DataComponentType<ItemEnchantmentsComponent> m_fbcdwuju(ItemStack stack) {
+   private static DataComponentType<ItemEnchantmentsComponent> getComponentType(ItemStack stack) {
       return stack.isOf(Items.ENCHANTED_BOOK) ? DataComponentTypes.STORED_ENCHANTMENTS : DataComponentTypes.ENCHANTMENTS;
    }
 
    /**
     * @mapping {@literal hashed m_koeurtnx Lnet/minecraft/unmapped/C_jakrppis;m_koeurtnx(Lnet/minecraft/unmapped/C_sddaxwyk;)Z}
-    * @mapping {@literal named m_koeurtnx Lnet/minecraft/enchantment/EnchantmentHelper;m_koeurtnx(Lnet/minecraft/item/ItemStack;)Z}
+    * @mapping {@literal named hasEnchantments Lnet/minecraft/enchantment/EnchantmentHelper;hasEnchantments(Lnet/minecraft/item/ItemStack;)Z}
     */
-   public static boolean m_koeurtnx(ItemStack stack) {
+   public static boolean hasEnchantments(ItemStack stack) {
       return !stack.getOrDefault(DataComponentTypes.ENCHANTMENTS, ItemEnchantmentsComponent.DEFAULT).isEmpty()
          || !stack.getOrDefault(DataComponentTypes.STORED_ENCHANTMENTS, ItemEnchantmentsComponent.DEFAULT).isEmpty();
    }
 
    /**
     * @mapping {@literal hashed m_chdruiod Lnet/minecraft/unmapped/C_jakrppis;m_chdruiod(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;I)I}
-    * @mapping {@literal named m_chdruiod Lnet/minecraft/enchantment/EnchantmentHelper;m_chdruiod(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;I)I}
+    * @mapping {@literal named getDurabilityChange Lnet/minecraft/enchantment/EnchantmentHelper;getDurabilityChange(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;I)I}
     */
-   public static int m_chdruiod(ServerWorld world, ItemStack stack, int i) {
-      MutableFloat mutableFloat = new MutableFloat((float)i);
-      m_akhrohzh(stack, (arg3, ix) -> arg3.value().m_smjuddye(world, ix, stack, mutableFloat));
+   public static int getDurabilityChange(ServerWorld world, ItemStack stack, int baseDamage) {
+      MutableFloat mutableFloat = new MutableFloat((float)baseDamage);
+      forEachEnchantment(stack, (arg3, i) -> arg3.value().modifyDurabilityChange(world, i, stack, mutableFloat));
       return mutableFloat.intValue();
    }
 
    /**
     * @mapping {@literal hashed m_pvuxrowe Lnet/minecraft/unmapped/C_jakrppis;m_pvuxrowe(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_sddaxwyk;I)I}
-    * @mapping {@literal named m_pvuxrowe Lnet/minecraft/enchantment/EnchantmentHelper;m_pvuxrowe(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;I)I}
+    * @mapping {@literal named getAmmoUse Lnet/minecraft/enchantment/EnchantmentHelper;getAmmoUse(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;I)I}
     */
-   public static int m_pvuxrowe(ServerWorld world, ItemStack arg2, ItemStack arg3, int i) {
-      MutableFloat mutableFloat = new MutableFloat((float)i);
-      m_akhrohzh(arg2, (arg3x, ix) -> ((Enchantment)arg3x.value()).m_xkuqfipi(world, ix, arg3, mutableFloat));
+   public static int getAmmoUse(ServerWorld world, ItemStack weapon, ItemStack projectile, int baseAmmoUse) {
+      MutableFloat mutableFloat = new MutableFloat((float)baseAmmoUse);
+      forEachEnchantment(weapon, (arg3, i) -> arg3.value().modifyAmmoChange(world, i, projectile, mutableFloat));
       return mutableFloat.intValue();
    }
 
    /**
     * @mapping {@literal hashed m_mcehpxsn Lnet/minecraft/unmapped/C_jakrppis;m_mcehpxsn(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;I)I}
-    * @mapping {@literal named m_mcehpxsn Lnet/minecraft/enchantment/EnchantmentHelper;m_mcehpxsn(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;I)I}
+    * @mapping {@literal named getBlockExperience Lnet/minecraft/enchantment/EnchantmentHelper;getBlockExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;I)I}
     */
-   public static int m_mcehpxsn(ServerWorld world, ItemStack stack, int i) {
-      MutableFloat mutableFloat = new MutableFloat((float)i);
-      m_akhrohzh(stack, (arg3, ix) -> arg3.value().m_tfnzpqjx(world, ix, stack, mutableFloat));
+   public static int getBlockExperience(ServerWorld world, ItemStack stack, int baseBlockExperience) {
+      MutableFloat mutableFloat = new MutableFloat((float)baseBlockExperience);
+      forEachEnchantment(stack, (arg3, i) -> arg3.value().modifyBlockExperience(world, i, stack, mutableFloat));
       return mutableFloat.intValue();
    }
 
    /**
     * @mapping {@literal hashed m_uxlmovdv Lnet/minecraft/unmapped/C_jakrppis;m_uxlmovdv(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_astfners;I)I}
-    * @mapping {@literal named m_uxlmovdv Lnet/minecraft/enchantment/EnchantmentHelper;m_uxlmovdv(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;I)I}
+    * @mapping {@literal named getMobExperience Lnet/minecraft/enchantment/EnchantmentHelper;getMobExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;I)I}
     */
-   public static int m_uxlmovdv(ServerWorld world, @Nullable Entity arg2, Entity arg3, int i) {
-      if (arg2 instanceof LivingEntity lv) {
-         MutableFloat mutableFloat = new MutableFloat((float)i);
-         m_kvkboaps(lv, (arg3x, ix, arg4) -> ((Enchantment)arg3x.value()).m_dktlsnak(world, ix, arg4.itemStack(), arg3, mutableFloat));
+   public static int getMobExperience(ServerWorld world, @Nullable Entity attacker, Entity mob, int baseExperience) {
+      if (attacker instanceof LivingEntity lv) {
+         MutableFloat mutableFloat = new MutableFloat((float)baseExperience);
+         forEachEquippedEnchantment(lv, (arg3, i, arg4) -> arg3.value().modifyMobExperience(world, i, arg4.itemStack(), mob, mutableFloat));
          return mutableFloat.intValue();
       } else {
-         return i;
+         return baseExperience;
       }
    }
 
    /**
     * @mapping {@literal hashed m_akhrohzh Lnet/minecraft/unmapped/C_jakrppis;m_akhrohzh(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_jakrppis$C_jdhxivxn;)V}
-    * @mapping {@literal named m_akhrohzh Lnet/minecraft/enchantment/EnchantmentHelper;m_akhrohzh(Lnet/minecraft/item/ItemStack;Lnet/minecraft/enchantment/EnchantmentHelper$Consumer;)V}
+    * @mapping {@literal named forEachEnchantment Lnet/minecraft/enchantment/EnchantmentHelper;forEachEnchantment(Lnet/minecraft/item/ItemStack;Lnet/minecraft/enchantment/EnchantmentHelper$Consumer;)V}
     */
-   private static void m_akhrohzh(ItemStack stack, EnchantmentHelper.Consumer arg2) {
+   private static void forEachEnchantment(ItemStack stack, EnchantmentHelper.Consumer enchantmentConsumer) {
       ItemEnchantmentsComponent lv = stack.getOrDefault(DataComponentTypes.ENCHANTMENTS, ItemEnchantmentsComponent.DEFAULT);
 
       for (Entry<Holder<Enchantment>> entry : lv.getEnchantmentEntries()) {
-         arg2.accept((Holder<Enchantment>)entry.getKey(), entry.getIntValue());
+         enchantmentConsumer.accept((Holder<Enchantment>)entry.getKey(), entry.getIntValue());
       }
    }
 
    /**
     * @mapping {@literal hashed m_xdjgfpqn Lnet/minecraft/unmapped/C_jakrppis;m_xdjgfpqn(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_yuycoehb;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_jakrppis$C_wtxpyhvg;)V}
-    * @mapping {@literal named m_xdjgfpqn Lnet/minecraft/enchantment/EnchantmentHelper;m_xdjgfpqn(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/enchantment/EnchantmentHelper$C_wtxpyhvg;)V}
+    * @mapping {@literal named forEachEnchantment Lnet/minecraft/enchantment/EnchantmentHelper;forEachEnchantment(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/enchantment/EnchantmentHelper$ContextAwareConsumer;)V}
     */
-   private static void m_xdjgfpqn(ItemStack stack, EquipmentSlot inSlot, LivingEntity owner, EnchantmentHelper.C_wtxpyhvg arg4) {
+   private static void forEachEnchantment(ItemStack stack, EquipmentSlot inSlot, LivingEntity owner, EnchantmentHelper.ContextAwareConsumer enchantmentConsumer) {
       if (!stack.isEmpty()) {
          ItemEnchantmentsComponent lv = stack.get(DataComponentTypes.ENCHANTMENTS);
          if (lv != null && !lv.isEmpty()) {
-            C_pjrjvgrp lv2 = new C_pjrjvgrp(stack, inSlot, owner);
+            EnchantmentEffectContext lv2 = new EnchantmentEffectContext(stack, inSlot, owner);
 
             for (Entry<Holder<Enchantment>> entry : lv.getEnchantmentEntries()) {
                Holder<Enchantment> lv3 = (Holder<Enchantment>)entry.getKey();
-               if (lv3.value().m_jhglsmkm(inSlot)) {
-                  arg4.accept(lv3, entry.getIntValue(), lv2);
+               if (lv3.value().matchesSlot(inSlot)) {
+                  enchantmentConsumer.accept(lv3, entry.getIntValue(), lv2);
                }
             }
          }
@@ -204,149 +203,155 @@
    }
 
    /**
-    * Mapping not found
+    * @mapping {@literal hashed m_kvkboaps Lnet/minecraft/unmapped/C_jakrppis;m_kvkboaps(Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_jakrppis$C_wtxpyhvg;)V}
+    * @mapping {@literal named forEachEquippedEnchantment Lnet/minecraft/enchantment/EnchantmentHelper;forEachEquippedEnchantment(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/enchantment/EnchantmentHelper$ContextAwareConsumer;)V}
     */
-   private static void m_kvkboaps(LivingEntity arg, EnchantmentHelper.C_wtxpyhvg arg2) {
+   private static void forEachEquippedEnchantment(LivingEntity entity, EnchantmentHelper.ContextAwareConsumer enchantmentConsumer) {
       for (EquipmentSlot lv : EquipmentSlot.values()) {
-         m_xdjgfpqn(arg.getEquippedStack(lv), lv, arg, arg2);
+         forEachEnchantment(entity.getEquippedStack(lv), lv, entity, enchantmentConsumer);
       }
    }
 
    /**
     * @mapping {@literal hashed m_gqfvpbsm Lnet/minecraft/unmapped/C_jakrppis;m_gqfvpbsm(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_sbxfkpyv;)Z}
-    * @mapping {@literal named m_gqfvpbsm Lnet/minecraft/enchantment/EnchantmentHelper;m_gqfvpbsm(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/damage/DamageSource;)Z}
+    * @mapping {@literal named getImmuneToDamageFrom Lnet/minecraft/enchantment/EnchantmentHelper;getImmuneToDamageFrom(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/damage/DamageSource;)Z}
     */
-   public static boolean m_gqfvpbsm(ServerWorld world, LivingEntity arg2, DamageSource arg3) {
+   public static boolean getImmuneToDamageFrom(ServerWorld world, LivingEntity entity, DamageSource source) {
       MutableBoolean mutableBoolean = new MutableBoolean();
-      m_kvkboaps(arg2, (arg4, i, arg5) -> mutableBoolean.setValue(mutableBoolean.isTrue() || arg4.value().m_ujjglmjb(world, i, arg2, arg3)));
+      forEachEquippedEnchantment(
+         entity, (arg4, i, arg5) -> mutableBoolean.setValue(mutableBoolean.isTrue() || arg4.value().isImmuneToDamageFrom(world, i, entity, source))
+      );
       return mutableBoolean.isTrue();
    }
 
    /**
     * @mapping {@literal hashed m_jfbiswcz Lnet/minecraft/unmapped/C_jakrppis;m_jfbiswcz(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_sbxfkpyv;)F}
-    * @mapping {@literal named m_jfbiswcz Lnet/minecraft/enchantment/EnchantmentHelper;m_jfbiswcz(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/damage/DamageSource;)F}
+    * @mapping {@literal named getDamageProtection Lnet/minecraft/enchantment/EnchantmentHelper;getDamageProtection(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/damage/DamageSource;)F}
     */
-   public static float m_jfbiswcz(ServerWorld world, LivingEntity arg2, DamageSource arg3) {
+   public static float getDamageProtection(ServerWorld world, LivingEntity entity, DamageSource source) {
       MutableFloat mutableFloat = new MutableFloat(0.0F);
-      m_kvkboaps(arg2, (arg4, i, arg5) -> arg4.value().m_ysnvykwd(world, i, arg5.itemStack(), arg2, arg3, mutableFloat));
+      forEachEquippedEnchantment(entity, (arg4, i, arg5) -> arg4.value().modifyDamageProtection(world, i, arg5.itemStack(), entity, source, mutableFloat));
       return mutableFloat.floatValue();
    }
 
    /**
     * @mapping {@literal hashed m_xevkkzlv Lnet/minecraft/unmapped/C_jakrppis;m_xevkkzlv(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;F)F}
-    * @mapping {@literal named m_xevkkzlv Lnet/minecraft/enchantment/EnchantmentHelper;m_xevkkzlv(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;F)F}
+    * @mapping {@literal named getDamage Lnet/minecraft/enchantment/EnchantmentHelper;getDamage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;F)F}
     */
-   public static float m_xevkkzlv(ServerWorld world, ItemStack stack, Entity arg3, DamageSource arg4, float f) {
-      MutableFloat mutableFloat = new MutableFloat(f);
-      m_akhrohzh(stack, (arg5, i) -> arg5.value().m_hhzjktgj(world, i, stack, arg3, arg4, mutableFloat));
+   public static float getDamage(ServerWorld world, ItemStack stack, Entity entity, DamageSource source, float baseDamage) {
+      MutableFloat mutableFloat = new MutableFloat(baseDamage);
+      forEachEnchantment(stack, (arg5, i) -> arg5.value().modifyDamage(world, i, stack, entity, source, mutableFloat));
       return mutableFloat.floatValue();
    }
 
    /**
     * @mapping {@literal hashed m_gihyytey Lnet/minecraft/unmapped/C_jakrppis;m_gihyytey(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;F)F}
-    * @mapping {@literal named m_gihyytey Lnet/minecraft/enchantment/EnchantmentHelper;m_gihyytey(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;F)F}
+    * @mapping {@literal named getFallBasedDamage Lnet/minecraft/enchantment/EnchantmentHelper;getFallBasedDamage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;F)F}
     */
-   public static float m_gihyytey(ServerWorld world, ItemStack stack, Entity arg3, DamageSource arg4, float f) {
-      MutableFloat mutableFloat = new MutableFloat(f);
-      m_akhrohzh(stack, (arg5, i) -> arg5.value().m_bycsoyig(world, i, stack, arg3, arg4, mutableFloat));
+   public static float getFallBasedDamage(ServerWorld world, ItemStack stack, Entity entity, DamageSource source, float baseDamage) {
+      MutableFloat mutableFloat = new MutableFloat(baseDamage);
+      forEachEnchantment(stack, (arg5, i) -> arg5.value().modifyFallBasedDamage(world, i, stack, entity, source, mutableFloat));
       return mutableFloat.floatValue();
    }
 
    /**
     * @mapping {@literal hashed m_rrxecqvc Lnet/minecraft/unmapped/C_jakrppis;m_rrxecqvc(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;F)F}
-    * @mapping {@literal named m_rrxecqvc Lnet/minecraft/enchantment/EnchantmentHelper;m_rrxecqvc(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;F)F}
+    * @mapping {@literal named getArmorEffectiveness Lnet/minecraft/enchantment/EnchantmentHelper;getArmorEffectiveness(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;F)F}
     */
-   public static float m_rrxecqvc(ServerWorld world, ItemStack stack, Entity arg3, DamageSource arg4, float f) {
-      MutableFloat mutableFloat = new MutableFloat(f);
-      m_akhrohzh(stack, (arg5, i) -> arg5.value().m_jaecftnx(world, i, stack, arg3, arg4, mutableFloat));
+   public static float getArmorEffectiveness(ServerWorld world, ItemStack stack, Entity entity, DamageSource source, float baseEffectiveness) {
+      MutableFloat mutableFloat = new MutableFloat(baseEffectiveness);
+      forEachEnchantment(stack, (arg5, i) -> arg5.value().modifyArmorEffectiveness(world, i, stack, entity, source, mutableFloat));
       return mutableFloat.floatValue();
    }
 
    /**
     * @mapping {@literal hashed m_imfnnaau Lnet/minecraft/unmapped/C_jakrppis;m_imfnnaau(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;F)F}
-    * @mapping {@literal named m_imfnnaau Lnet/minecraft/enchantment/EnchantmentHelper;m_imfnnaau(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;F)F}
+    * @mapping {@literal named getKnockback Lnet/minecraft/enchantment/EnchantmentHelper;getKnockback(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;F)F}
     */
-   public static float m_imfnnaau(ServerWorld world, ItemStack stack, Entity arg3, DamageSource arg4, float f) {
-      MutableFloat mutableFloat = new MutableFloat(f);
-      m_akhrohzh(stack, (arg5, i) -> arg5.value().m_tehyavah(world, i, stack, arg3, arg4, mutableFloat));
+   public static float getKnockback(ServerWorld world, ItemStack stack, Entity entity, DamageSource source, float baseKnockback) {
+      MutableFloat mutableFloat = new MutableFloat(baseKnockback);
+      forEachEnchantment(stack, (arg5, i) -> arg5.value().modifyKnockback(world, i, stack, entity, source, mutableFloat));
       return mutableFloat.floatValue();
    }
 
    /**
     * @mapping {@literal hashed m_rixuxzms Lnet/minecraft/unmapped/C_jakrppis;m_rixuxzms(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;)V}
-    * @mapping {@literal named m_rixuxzms Lnet/minecraft/enchantment/EnchantmentHelper;m_rixuxzms(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)V}
+    * @mapping {@literal named onEntityDamaged Lnet/minecraft/enchantment/EnchantmentHelper;onEntityDamaged(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)V}
     */
-   public static void m_rixuxzms(ServerWorld world, Entity arg2, DamageSource arg3) {
-      if (arg3.getAttacker() instanceof LivingEntity lv) {
-         m_swhrpoib(world, arg2, arg3, lv.m_ywnmbdjz());
+   public static void onEntityDamaged(ServerWorld world, Entity entity, DamageSource source) {
+      if (source.getAttacker() instanceof LivingEntity lv) {
+         onEntityHitWithItem(world, entity, source, lv.getWeaponStack());
       } else {
-         m_swhrpoib(world, arg2, arg3, null);
+         onEntityHitWithItem(world, entity, source, null);
       }
    }
 
    /**
     * @mapping {@literal hashed m_swhrpoib Lnet/minecraft/unmapped/C_jakrppis;m_swhrpoib(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_sbxfkpyv;Lnet/minecraft/unmapped/C_sddaxwyk;)V}
-    * @mapping {@literal named m_swhrpoib Lnet/minecraft/enchantment/EnchantmentHelper;m_swhrpoib(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/item/ItemStack;)V}
+    * @mapping {@literal named onEntityHitWithItem Lnet/minecraft/enchantment/EnchantmentHelper;onEntityHitWithItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/item/ItemStack;)V}
     */
-   public static void m_swhrpoib(ServerWorld world, Entity arg2, DamageSource arg3, @Nullable ItemStack stack) {
-      if (arg2 instanceof LivingEntity lv) {
-         m_kvkboaps(lv, (arg4, i, arg5) -> arg4.value().m_umpbrnfg(world, i, arg5, C_zjvjrddv.VICTIM, arg2, arg3));
+   public static void onEntityHitWithItem(ServerWorld world, Entity entity, DamageSource source, @Nullable ItemStack stack) {
+      if (entity instanceof LivingEntity lv) {
+         forEachEquippedEnchantment(lv, (arg4, i, arg5) -> arg4.value().onTargetHit(world, i, arg5, EnchantmentEffectTarget.VICTIM, entity, source));
       }
 
-      if (stack != null && arg3.getAttacker() instanceof LivingEntity lv2) {
-         m_xdjgfpqn(stack, EquipmentSlot.MAINHAND, lv2, (arg4, i, arg5) -> arg4.value().m_umpbrnfg(world, i, arg5, C_zjvjrddv.ATTACKER, arg2, arg3));
+      if (stack != null && source.getAttacker() instanceof LivingEntity lv2) {
+         forEachEnchantment(
+            stack, EquipmentSlot.MAINHAND, lv2, (arg4, i, arg5) -> arg4.value().onTargetHit(world, i, arg5, EnchantmentEffectTarget.ATTACKER, entity, source)
+         );
       }
    }
 
    /**
     * @mapping {@literal hashed m_unfnerqk Lnet/minecraft/unmapped/C_jakrppis;m_unfnerqk(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_usxaxydn;)V}
-    * @mapping {@literal named m_unfnerqk Lnet/minecraft/enchantment/EnchantmentHelper;m_unfnerqk(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V}
+    * @mapping {@literal named applyLocationBasedEffects Lnet/minecraft/enchantment/EnchantmentHelper;applyLocationBasedEffects(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V}
     */
-   public static void m_unfnerqk(ServerWorld world, LivingEntity arg2) {
-      m_kvkboaps(arg2, (arg3, i, arg4) -> arg3.value().m_mfxiclqq(world, i, arg4, arg2));
+   public static void applyLocationBasedEffects(ServerWorld world, LivingEntity entity) {
+      forEachEquippedEnchantment(entity, (arg3, i, arg4) -> arg3.value().applyLocationBasedEffects(world, i, arg4, entity));
    }
 
    /**
     * @mapping {@literal hashed m_aqtkrfxn Lnet/minecraft/unmapped/C_jakrppis;m_aqtkrfxn(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_yuycoehb;)V}
-    * @mapping {@literal named m_aqtkrfxn Lnet/minecraft/enchantment/EnchantmentHelper;m_aqtkrfxn(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;)V}
+    * @mapping {@literal named applyLocationBasedEffects Lnet/minecraft/enchantment/EnchantmentHelper;applyLocationBasedEffects(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;)V}
     */
-   public static void m_aqtkrfxn(ServerWorld world, ItemStack stack, LivingEntity owner, EquipmentSlot inSlot) {
-      m_xdjgfpqn(stack, inSlot, owner, (arg3, i, arg4) -> arg3.value().m_mfxiclqq(world, i, arg4, owner));
+   public static void applyLocationBasedEffects(ServerWorld world, ItemStack stack, LivingEntity owner, EquipmentSlot inSlot) {
+      forEachEnchantment(stack, inSlot, owner, (arg3, i, arg4) -> arg3.value().applyLocationBasedEffects(world, i, arg4, owner));
    }
 
    /**
-    * Mapping not found
+    * @mapping {@literal hashed m_rgjmrwbl Lnet/minecraft/unmapped/C_jakrppis;m_rgjmrwbl(Lnet/minecraft/unmapped/C_usxaxydn;)V}
+    * @mapping {@literal named removeLocationBasedEffects Lnet/minecraft/enchantment/EnchantmentHelper;removeLocationBasedEffects(Lnet/minecraft/entity/LivingEntity;)V}
     */
-   public static void m_rgjmrwbl(LivingEntity arg) {
-      m_kvkboaps(arg, (arg2, i, arg3) -> arg2.value().m_auqlyhrd(i, arg3, arg));
+   public static void removeLocationBasedEffects(LivingEntity entity) {
+      forEachEquippedEnchantment(entity, (arg2, i, arg3) -> arg2.value().removeLocationBasedEffects(i, arg3, entity));
    }
 
    /**
     * @mapping {@literal hashed m_rpbekwgr Lnet/minecraft/unmapped/C_jakrppis;m_rpbekwgr(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_yuycoehb;)V}
-    * @mapping {@literal named m_rpbekwgr Lnet/minecraft/enchantment/EnchantmentHelper;m_rpbekwgr(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;)V}
+    * @mapping {@literal named removeLocationBasedEffects Lnet/minecraft/enchantment/EnchantmentHelper;removeLocationBasedEffects(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;)V}
     */
-   public static void m_rpbekwgr(ItemStack stack, LivingEntity owner, EquipmentSlot inSlot) {
-      m_xdjgfpqn(stack, inSlot, owner, (arg2, i, arg3) -> arg2.value().m_auqlyhrd(i, arg3, owner));
+   public static void removeLocationBasedEffects(ItemStack stack, LivingEntity owner, EquipmentSlot inSlot) {
+      forEachEnchantment(stack, inSlot, owner, (arg2, i, arg3) -> arg2.value().removeLocationBasedEffects(i, arg3, owner));
    }
 
    /**
     * @mapping {@literal hashed m_anckqezf Lnet/minecraft/unmapped/C_jakrppis;m_anckqezf(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_usxaxydn;)V}
-    * @mapping {@literal named m_anckqezf Lnet/minecraft/enchantment/EnchantmentHelper;m_anckqezf(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V}
+    * @mapping {@literal named tick Lnet/minecraft/enchantment/EnchantmentHelper;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V}
     */
-   public static void m_anckqezf(ServerWorld world, LivingEntity arg2) {
-      m_kvkboaps(arg2, (arg3, i, arg4) -> arg3.value().m_laluoqcj(world, i, arg4, arg2));
+   public static void tick(ServerWorld world, LivingEntity entity) {
+      forEachEquippedEnchantment(entity, (arg3, i, arg4) -> arg3.value().tick(world, i, arg4, entity));
    }
 
    /**
     * @mapping {@literal hashed m_wfidublc Lnet/minecraft/unmapped/C_jakrppis;m_wfidublc(Lnet/minecraft/unmapped/C_cjzoxshv;Lnet/minecraft/unmapped/C_usxaxydn;)I}
-    * @mapping {@literal named m_wfidublc Lnet/minecraft/enchantment/EnchantmentHelper;m_wfidublc(Lnet/minecraft/registry/Holder;Lnet/minecraft/entity/LivingEntity;)I}
+    * @mapping {@literal named getHighestEquippedLevel Lnet/minecraft/enchantment/EnchantmentHelper;getHighestEquippedLevel(Lnet/minecraft/registry/Holder;Lnet/minecraft/entity/LivingEntity;)I}
     */
-   public static int m_wfidublc(Holder<Enchantment> arg, LivingEntity entity) {
-      Iterable<ItemStack> iterable = arg.value().getEquipment(entity).values();
+   public static int getHighestEquippedLevel(Holder<Enchantment> enchantment, LivingEntity entity) {
+      Iterable<ItemStack> iterable = enchantment.value().getEquipment(entity).values();
       int i = 0;
 
       for (ItemStack lv : iterable) {
-         int j = m_byjosehc(arg, lv);
+         int j = getLevel(enchantment, lv);
          if (j > i) {
             i = j;
          }
@@ -357,93 +362,93 @@
 
    /**
     * @mapping {@literal hashed m_hsagtbhc Lnet/minecraft/unmapped/C_jakrppis;m_hsagtbhc(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;I)I}
-    * @mapping {@literal named m_hsagtbhc Lnet/minecraft/enchantment/EnchantmentHelper;m_hsagtbhc(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;I)I}
+    * @mapping {@literal named getProjectileCount Lnet/minecraft/enchantment/EnchantmentHelper;getProjectileCount(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;I)I}
     */
-   public static int m_hsagtbhc(ServerWorld world, ItemStack stack, Entity arg3, int i) {
-      MutableFloat mutableFloat = new MutableFloat((float)i);
-      m_akhrohzh(stack, (arg4, ix) -> arg4.value().m_kevrabge(world, ix, stack, arg3, mutableFloat));
+   public static int getProjectileCount(ServerWorld world, ItemStack stack, Entity entity, int baseCount) {
+      MutableFloat mutableFloat = new MutableFloat((float)baseCount);
+      forEachEnchantment(stack, (arg4, i) -> arg4.value().modifyProjectileCount(world, i, stack, entity, mutableFloat));
       return Math.max(0, mutableFloat.intValue());
    }
 
    /**
     * @mapping {@literal hashed m_lkbuzftr Lnet/minecraft/unmapped/C_jakrppis;m_lkbuzftr(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;F)F}
-    * @mapping {@literal named m_lkbuzftr Lnet/minecraft/enchantment/EnchantmentHelper;m_lkbuzftr(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;F)F}
+    * @mapping {@literal named getProjectileSpeed Lnet/minecraft/enchantment/EnchantmentHelper;getProjectileSpeed(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;F)F}
     */
-   public static float m_lkbuzftr(ServerWorld world, ItemStack stack, Entity arg3, float f) {
-      MutableFloat mutableFloat = new MutableFloat(f);
-      m_akhrohzh(stack, (arg4, i) -> arg4.value().m_zlpziyyk(world, i, stack, arg3, mutableFloat));
+   public static float getProjectileSpeed(ServerWorld world, ItemStack stack, Entity entity, float baseSpeed) {
+      MutableFloat mutableFloat = new MutableFloat(baseSpeed);
+      forEachEnchantment(stack, (arg4, i) -> arg4.value().modifyProjectileSpread(world, i, stack, entity, mutableFloat));
       return Math.max(0.0F, mutableFloat.floatValue());
    }
 
    /**
     * @mapping {@literal hashed m_hilwldki Lnet/minecraft/unmapped/C_jakrppis;m_hilwldki(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_sddaxwyk;)I}
-    * @mapping {@literal named m_hilwldki Lnet/minecraft/enchantment/EnchantmentHelper;m_hilwldki(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)I}
+    * @mapping {@literal named getProjectilePiercing Lnet/minecraft/enchantment/EnchantmentHelper;getProjectilePiercing(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)I}
     */
-   public static int m_hilwldki(ServerWorld world, ItemStack arg2, ItemStack arg3) {
+   public static int getProjectilePiercing(ServerWorld world, ItemStack weapon, ItemStack projectile) {
       MutableFloat mutableFloat = new MutableFloat(0.0F);
-      m_akhrohzh(arg2, (arg3x, i) -> ((Enchantment)arg3x.value()).m_iehcgemg(world, i, arg3, mutableFloat));
+      forEachEnchantment(weapon, (arg3, i) -> arg3.value().modifyProjectilePiercing(world, i, projectile, mutableFloat));
       return Math.max(0, mutableFloat.intValue());
    }
 
    /**
     * @mapping {@literal hashed m_yolmdyfp Lnet/minecraft/unmapped/C_jakrppis;m_yolmdyfp(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_gstiksvs;Ljava/util/function/Consumer;)V}
-    * @mapping {@literal named m_yolmdyfp Lnet/minecraft/enchantment/EnchantmentHelper;m_yolmdyfp(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/projectile/PersistentProjectileEntity;Ljava/util/function/Consumer;)V}
+    * @mapping {@literal named onProjectileSpawned Lnet/minecraft/enchantment/EnchantmentHelper;onProjectileSpawned(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/projectile/PersistentProjectileEntity;Ljava/util/function/Consumer;)V}
     */
-   public static void m_yolmdyfp(ServerWorld world, ItemStack stack, PersistentProjectileEntity arg3, java.util.function.Consumer<Item> consumer) {
-      LivingEntity lv2 = arg3.getOwner() instanceof LivingEntity lv ? lv : null;
-      C_pjrjvgrp lv3 = new C_pjrjvgrp(stack, null, lv2, consumer);
-      m_akhrohzh(stack, (arg4, i) -> arg4.value().m_dgttciah(world, i, lv3, arg3));
+   public static void onProjectileSpawned(ServerWorld world, ItemStack stack, PersistentProjectileEntity projectile, java.util.function.Consumer<Item> onBreak) {
+      LivingEntity lv2 = projectile.getOwner() instanceof LivingEntity lv ? lv : null;
+      EnchantmentEffectContext lv3 = new EnchantmentEffectContext(stack, null, lv2, onBreak);
+      forEachEnchantment(stack, (arg4, i) -> arg4.value().onProjectileSpawned(world, i, lv3, projectile));
    }
 
    /**
     * @mapping {@literal hashed m_etohkgai Lnet/minecraft/unmapped/C_jakrppis;m_etohkgai(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_astfners;Lnet/minecraft/unmapped/C_yuycoehb;Lnet/minecraft/unmapped/C_vgpupfxx;Lnet/minecraft/unmapped/C_txtbiemp;Ljava/util/function/Consumer;)V}
-    * @mapping {@literal named m_etohkgai Lnet/minecraft/enchantment/EnchantmentHelper;m_etohkgai(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/block/BlockState;Ljava/util/function/Consumer;)V}
+    * @mapping {@literal named onHitBlock Lnet/minecraft/enchantment/EnchantmentHelper;onHitBlock(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/block/BlockState;Ljava/util/function/Consumer;)V}
     */
-   public static void m_etohkgai(
+   public static void onHitBlock(
       ServerWorld world,
       ItemStack stack,
       @Nullable LivingEntity owner,
-      Entity arg4,
+      Entity entity,
       @Nullable EquipmentSlot inSlot,
-      Vec3d arg6,
+      Vec3d pos,
       BlockState state,
       java.util.function.Consumer<Item> onBreak
    ) {
-      C_pjrjvgrp lv = new C_pjrjvgrp(stack, inSlot, owner, onBreak);
-      m_akhrohzh(stack, (arg6x, i) -> ((Enchantment)arg6x.value()).m_ovgqiywz(world, i, lv, arg4, arg6, state));
+      EnchantmentEffectContext lv = new EnchantmentEffectContext(stack, inSlot, owner, onBreak);
+      forEachEnchantment(stack, (arg6, i) -> arg6.value().onHitBlock(world, i, lv, entity, pos, state));
    }
 
    /**
     * @mapping {@literal hashed m_efgilggg Lnet/minecraft/unmapped/C_jakrppis;m_efgilggg(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;I)I}
-    * @mapping {@literal named m_efgilggg Lnet/minecraft/enchantment/EnchantmentHelper;m_efgilggg(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;I)I}
+    * @mapping {@literal named getRepairFromXp Lnet/minecraft/enchantment/EnchantmentHelper;getRepairFromXp(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;I)I}
     */
-   public static int m_efgilggg(ServerWorld world, ItemStack stack, int i) {
-      MutableFloat mutableFloat = new MutableFloat((float)i);
-      m_akhrohzh(stack, (arg3, ix) -> arg3.value().m_zzkivipg(world, ix, stack, mutableFloat));
+   public static int getRepairFromXp(ServerWorld world, ItemStack stack, int baseRepair) {
+      MutableFloat mutableFloat = new MutableFloat((float)baseRepair);
+      forEachEnchantment(stack, (arg3, i) -> arg3.value().modifyRepairFromXp(world, i, stack, mutableFloat));
       return Math.max(0, mutableFloat.intValue());
    }
 
    /**
     * @mapping {@literal hashed m_wbtbmiwo Lnet/minecraft/unmapped/C_jakrppis;m_wbtbmiwo(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_usxaxydn;Lnet/minecraft/unmapped/C_sbxfkpyv;F)F}
-    * @mapping {@literal named m_wbtbmiwo Lnet/minecraft/enchantment/EnchantmentHelper;m_wbtbmiwo(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/damage/DamageSource;F)F}
+    * @mapping {@literal named getEquipmentDropChance Lnet/minecraft/enchantment/EnchantmentHelper;getEquipmentDropChance(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/damage/DamageSource;F)F}
     */
-   public static float m_wbtbmiwo(ServerWorld world, LivingEntity arg2, DamageSource arg3, float f) {
-      MutableFloat mutableFloat = new MutableFloat(f);
-      RandomGenerator lv = arg2.m_dlwxaobh();
-      m_kvkboaps(arg2, (arg5, i, arg6) -> {
-         LootContext lvx = Enchantment.m_yyvgkyyg(world, i, arg2, arg3);
-         arg5.value().m_tujulygf(C_rkxlblfn.EQUIPMENT_DROPS).forEach(arg3xx -> {
-            if (arg3xx.enchanted() == C_zjvjrddv.VICTIM && arg3xx.affected() == C_zjvjrddv.VICTIM && arg3xx.m_sbmzbkam(lvx)) {
-               mutableFloat.setValue(((C_nzjqewao)arg3xx.effect()).m_usnsfqay(i, lv, mutableFloat.floatValue()));
+   public static float getEquipmentDropChance(ServerWorld world, LivingEntity attacker, DamageSource source, float baseDropChance) {
+      MutableFloat mutableFloat = new MutableFloat(baseDropChance);
+      RandomGenerator lv = attacker.m_dlwxaobh();
+      forEachEquippedEnchantment(attacker, (arg5, i, arg6) -> {
+         LootContext lvx = Enchantment.createDamageContext(world, i, attacker, source);
+         arg5.value().getEffect(EnchantmentEffectComponentTypes.EQUIPMENT_DROPS).forEach(arg3x -> {
+            if (arg3x.enchanted() == EnchantmentEffectTarget.VICTIM && arg3x.affected() == EnchantmentEffectTarget.VICTIM && arg3x.matches(lvx)) {
+               mutableFloat.setValue(((EnchantmentValueEffect)arg3x.effect()).apply(i, lv, mutableFloat.floatValue()));
             }
          });
       });
-      if (arg3.getAttacker() instanceof LivingEntity lv3) {
-         m_kvkboaps(lv3, (arg5, i, arg6) -> {
-            LootContext lvx = Enchantment.m_yyvgkyyg(world, i, arg2, arg3);
-            arg5.value().m_tujulygf(C_rkxlblfn.EQUIPMENT_DROPS).forEach(arg3xx -> {
-               if (arg3xx.enchanted() == C_zjvjrddv.ATTACKER && arg3xx.affected() == C_zjvjrddv.VICTIM && arg3xx.m_sbmzbkam(lvx)) {
-                  mutableFloat.setValue(((C_nzjqewao)arg3xx.effect()).m_usnsfqay(i, lv, mutableFloat.floatValue()));
+      if (source.getAttacker() instanceof LivingEntity lv3) {
+         forEachEquippedEnchantment(lv3, (arg5, i, arg6) -> {
+            LootContext lvx = Enchantment.createDamageContext(world, i, attacker, source);
+            arg5.value().getEffect(EnchantmentEffectComponentTypes.EQUIPMENT_DROPS).forEach(arg3x -> {
+               if (arg3x.enchanted() == EnchantmentEffectTarget.ATTACKER && arg3x.affected() == EnchantmentEffectTarget.VICTIM && arg3x.matches(lvx)) {
+                  mutableFloat.setValue(((EnchantmentValueEffect)arg3x.effect()).apply(i, lv, mutableFloat.floatValue()));
                }
             });
          });
@@ -454,88 +459,90 @@
 
    /**
     * @mapping {@literal hashed m_cjzxcjvw Lnet/minecraft/unmapped/C_jakrppis;m_cjzxcjvw(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_qfoqahef;Ljava/util/function/BiConsumer;)V}
-    * @mapping {@literal named m_cjzxcjvw Lnet/minecraft/enchantment/EnchantmentHelper;m_cjzxcjvw(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlotGroup;Ljava/util/function/BiConsumer;)V}
+    * @mapping {@literal named applyAttributeModifiers Lnet/minecraft/enchantment/EnchantmentHelper;applyAttributeModifiers(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlotGroup;Ljava/util/function/BiConsumer;)V}
     */
-   public static void m_cjzxcjvw(ItemStack stack, EquipmentSlotGroup arg2, BiConsumer<Holder<EntityAttribute>, EntityAttributeModifier> biConsumer) {
-      m_akhrohzh(stack, (arg2x, i) -> ((Enchantment)arg2x.value()).m_tujulygf(C_rkxlblfn.ATTRIBUTES).forEach(arg3 -> {
-            if (((Enchantment)arg2x.value()).definition().slots().contains(arg2)) {
-               biConsumer.accept(arg3.attribute(), arg3.m_sepzipgo(i, arg2));
+   public static void applyAttributeModifiers(
+      ItemStack stack, EquipmentSlotGroup group, BiConsumer<Holder<EntityAttribute>, EntityAttributeModifier> applicator
+   ) {
+      forEachEnchantment(stack, (arg2, i) -> arg2.value().getEffect(EnchantmentEffectComponentTypes.ATTRIBUTES).forEach(arg3 -> {
+            if (((Enchantment)arg2.value()).definition().slots().contains(group)) {
+               applicator.accept(arg3.attribute(), arg3.createModifier(i, group));
             }
          }));
    }
 
    /**
     * @mapping {@literal hashed m_zkmvjzhi Lnet/minecraft/unmapped/C_jakrppis;m_zkmvjzhi(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_yuycoehb;Ljava/util/function/BiConsumer;)V}
-    * @mapping {@literal named m_zkmvjzhi Lnet/minecraft/enchantment/EnchantmentHelper;m_zkmvjzhi(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;Ljava/util/function/BiConsumer;)V}
+    * @mapping {@literal named applyAttributeModifiers Lnet/minecraft/enchantment/EnchantmentHelper;applyAttributeModifiers(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;Ljava/util/function/BiConsumer;)V}
     */
-   public static void m_zkmvjzhi(ItemStack stack, EquipmentSlot arg2, BiConsumer<Holder<EntityAttribute>, EntityAttributeModifier> biConsumer) {
-      m_akhrohzh(stack, (arg2x, i) -> ((Enchantment)arg2x.value()).m_tujulygf(C_rkxlblfn.ATTRIBUTES).forEach(arg3 -> {
-            if (((Enchantment)arg2x.value()).m_jhglsmkm(arg2)) {
-               biConsumer.accept(arg3.attribute(), arg3.m_sepzipgo(i, arg2));
+   public static void applyAttributeModifiers(ItemStack stack, EquipmentSlot slot, BiConsumer<Holder<EntityAttribute>, EntityAttributeModifier> applicator) {
+      forEachEnchantment(stack, (arg2, i) -> arg2.value().getEffect(EnchantmentEffectComponentTypes.ATTRIBUTES).forEach(arg3 -> {
+            if (((Enchantment)arg2.value()).matchesSlot(slot)) {
+               applicator.accept(arg3.attribute(), arg3.createModifier(i, slot));
             }
          }));
    }
 
    /**
     * @mapping {@literal hashed m_qhyhygvf Lnet/minecraft/unmapped/C_jakrppis;m_qhyhygvf(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;)I}
-    * @mapping {@literal named m_qhyhygvf Lnet/minecraft/enchantment/EnchantmentHelper;m_qhyhygvf(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)I}
+    * @mapping {@literal named getFishingLuckBonus Lnet/minecraft/enchantment/EnchantmentHelper;getFishingLuckBonus(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)I}
     */
-   public static int m_qhyhygvf(ServerWorld world, ItemStack stack, Entity arg3) {
+   public static int getFishingLuckBonus(ServerWorld world, ItemStack stack, Entity entity) {
       MutableFloat mutableFloat = new MutableFloat(0.0F);
-      m_akhrohzh(stack, (arg4, i) -> arg4.value().m_kpljywnw(world, i, stack, arg3, mutableFloat));
+      forEachEnchantment(stack, (arg4, i) -> arg4.value().modifyFishingLuckBonus(world, i, stack, entity, mutableFloat));
       return Math.max(0, mutableFloat.intValue());
    }
 
    /**
     * @mapping {@literal hashed m_eordtwww Lnet/minecraft/unmapped/C_jakrppis;m_eordtwww(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;)F}
-    * @mapping {@literal named m_eordtwww Lnet/minecraft/enchantment/EnchantmentHelper;m_eordtwww(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)F}
+    * @mapping {@literal named getFishingTimeReduction Lnet/minecraft/enchantment/EnchantmentHelper;getFishingTimeReduction(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)F}
     */
-   public static float m_eordtwww(ServerWorld world, ItemStack stack, Entity arg3) {
+   public static float getFishingTimeReduction(ServerWorld world, ItemStack stack, Entity entity) {
       MutableFloat mutableFloat = new MutableFloat(0.0F);
-      m_akhrohzh(stack, (arg4, i) -> arg4.value().m_sswkpgks(world, i, stack, arg3, mutableFloat));
+      forEachEnchantment(stack, (arg4, i) -> arg4.value().modifyFishingTimeReduction(world, i, stack, entity, mutableFloat));
       return Math.max(0.0F, mutableFloat.floatValue());
    }
 
    /**
     * @mapping {@literal hashed m_zrsoxtbx Lnet/minecraft/unmapped/C_jakrppis;m_zrsoxtbx(Lnet/minecraft/unmapped/C_bdwnwhiu;Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_astfners;)I}
-    * @mapping {@literal named m_zrsoxtbx Lnet/minecraft/enchantment/EnchantmentHelper;m_zrsoxtbx(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)I}
+    * @mapping {@literal named getTridentReturnAcceleration Lnet/minecraft/enchantment/EnchantmentHelper;getTridentReturnAcceleration(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)I}
     */
-   public static int m_zrsoxtbx(ServerWorld world, ItemStack stack, Entity arg3) {
+   public static int getTridentReturnAcceleration(ServerWorld world, ItemStack stack, Entity entity) {
       MutableFloat mutableFloat = new MutableFloat(0.0F);
-      m_akhrohzh(stack, (arg4, i) -> arg4.value().m_tdrqsuwy(world, i, stack, arg3, mutableFloat));
+      forEachEnchantment(stack, (arg4, i) -> arg4.value().modifyTridentReturnAcceleration(world, i, stack, entity, mutableFloat));
       return Math.max(0, mutableFloat.intValue());
    }
 
    /**
     * @mapping {@literal hashed m_kcdilbhw Lnet/minecraft/unmapped/C_jakrppis;m_kcdilbhw(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_usxaxydn;F)F}
-    * @mapping {@literal named m_kcdilbhw Lnet/minecraft/enchantment/EnchantmentHelper;m_kcdilbhw(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;F)F}
+    * @mapping {@literal named getCrossbowChargeTime Lnet/minecraft/enchantment/EnchantmentHelper;getCrossbowChargeTime(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;F)F}
     */
-   public static float m_kcdilbhw(ItemStack stack, LivingEntity arg2, float f) {
-      MutableFloat mutableFloat = new MutableFloat(f);
-      m_akhrohzh(stack, (arg2x, i) -> ((Enchantment)arg2x.value()).m_bhhtcbyx(arg2.m_dlwxaobh(), i, mutableFloat));
+   public static float getCrossbowChargeTime(ItemStack stack, LivingEntity entity, float baseChargeTime) {
+      MutableFloat mutableFloat = new MutableFloat(baseChargeTime);
+      forEachEnchantment(stack, (arg2, i) -> arg2.value().modifyCrossbowChargeTime(entity.m_dlwxaobh(), i, mutableFloat));
       return Math.max(0.0F, mutableFloat.floatValue());
    }
 
    /**
     * @mapping {@literal hashed m_urcuarne Lnet/minecraft/unmapped/C_jakrppis;m_urcuarne(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_usxaxydn;)F}
-    * @mapping {@literal named m_urcuarne Lnet/minecraft/enchantment/EnchantmentHelper;m_urcuarne(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;)F}
+    * @mapping {@literal named getTridentSpinAttackStrength Lnet/minecraft/enchantment/EnchantmentHelper;getTridentSpinAttackStrength(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;)F}
     */
-   public static float m_urcuarne(ItemStack stack, LivingEntity arg2) {
+   public static float getTridentSpinAttackStrength(ItemStack stack, LivingEntity entity) {
       MutableFloat mutableFloat = new MutableFloat(0.0F);
-      m_akhrohzh(stack, (arg2x, i) -> ((Enchantment)arg2x.value()).m_stvdursa(arg2.m_dlwxaobh(), i, mutableFloat));
+      forEachEnchantment(stack, (arg2, i) -> arg2.value().modifyTridentSpinAttackStrength(entity.m_dlwxaobh(), i, mutableFloat));
       return mutableFloat.floatValue();
    }
 
    /**
     * @mapping {@literal hashed m_ruiicrds Lnet/minecraft/unmapped/C_jakrppis;m_ruiicrds(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_ednuhnnn;)Z}
-    * @mapping {@literal named m_ruiicrds Lnet/minecraft/enchantment/EnchantmentHelper;m_ruiicrds(Lnet/minecraft/item/ItemStack;Lnet/minecraft/registry/tag/TagKey;)Z}
+    * @mapping {@literal named hasTag Lnet/minecraft/enchantment/EnchantmentHelper;hasTag(Lnet/minecraft/item/ItemStack;Lnet/minecraft/registry/tag/TagKey;)Z}
     */
-   public static boolean m_ruiicrds(ItemStack stack, TagKey<Enchantment> arg2) {
+   public static boolean hasTag(ItemStack stack, TagKey<Enchantment> enchantment) {
       ItemEnchantmentsComponent lv = stack.getOrDefault(DataComponentTypes.ENCHANTMENTS, ItemEnchantmentsComponent.DEFAULT);
 
       for (Entry<Holder<Enchantment>> entry : lv.getEnchantmentEntries()) {
          Holder<Enchantment> lv2 = (Holder<Enchantment>)entry.getKey();
-         if (lv2.isIn(arg2)) {
+         if (lv2.isIn(enchantment)) {
             return true;
          }
       }
@@ -545,12 +552,12 @@
 
    /**
     * @mapping {@literal hashed m_plpqcodb Lnet/minecraft/unmapped/C_jakrppis;m_plpqcodb(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_pscqxfcs;)Z}
-    * @mapping {@literal named m_plpqcodb Lnet/minecraft/enchantment/EnchantmentHelper;m_plpqcodb(Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/DataComponentType;)Z}
+    * @mapping {@literal named has Lnet/minecraft/enchantment/EnchantmentHelper;has(Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/DataComponentType;)Z}
     */
-   public static boolean m_plpqcodb(ItemStack stack, DataComponentType<?> arg2) {
+   public static boolean has(ItemStack stack, DataComponentType<?> componentType) {
       MutableBoolean mutableBoolean = new MutableBoolean(false);
-      m_akhrohzh(stack, (arg2x, i) -> {
-         if (((Enchantment)arg2x.value()).effects().contains(arg2)) {
+      forEachEnchantment(stack, (arg2, i) -> {
+         if (arg2.value().effects().contains(componentType)) {
             mutableBoolean.setTrue();
          }
       });
@@ -559,10 +566,10 @@
 
    /**
     * @mapping {@literal hashed m_pbsmenak Lnet/minecraft/unmapped/C_jakrppis;m_pbsmenak(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_pscqxfcs;)Ljava/util/Optional;}
-    * @mapping {@literal named m_pbsmenak Lnet/minecraft/enchantment/EnchantmentHelper;m_pbsmenak(Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/DataComponentType;)Ljava/util/Optional;}
+    * @mapping {@literal named pickHighestLevel Lnet/minecraft/enchantment/EnchantmentHelper;pickHighestLevel(Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/DataComponentType;)Ljava/util/Optional;}
     */
-   public static <T> Optional<T> m_pbsmenak(ItemStack stack, DataComponentType<List<T>> arg2) {
-      Pair<List<T>, Integer> pair = m_hkpckyyg(stack, arg2);
+   public static <T> Optional<T> pickHighestLevel(ItemStack stack, DataComponentType<List<T>> componentType) {
+      Pair<List<T>, Integer> pair = getHighestLevel(stack, componentType);
       if (pair != null) {
          List<T> list = pair.getFirst();
          int i = pair.getSecond();
@@ -574,14 +581,14 @@
 
    /**
     * @mapping {@literal hashed m_hkpckyyg Lnet/minecraft/unmapped/C_jakrppis;m_hkpckyyg(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_pscqxfcs;)Lcom/mojang/datafixers/util/Pair;}
-    * @mapping {@literal named m_hkpckyyg Lnet/minecraft/enchantment/EnchantmentHelper;m_hkpckyyg(Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/DataComponentType;)Lcom/mojang/datafixers/util/Pair;}
+    * @mapping {@literal named getHighestLevel Lnet/minecraft/enchantment/EnchantmentHelper;getHighestLevel(Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/DataComponentType;)Lcom/mojang/datafixers/util/Pair;}
     */
    @Nullable
-   public static <T> Pair<T, Integer> m_hkpckyyg(ItemStack stack, DataComponentType<T> arg2) {
+   public static <T> Pair<T, Integer> getHighestLevel(ItemStack stack, DataComponentType<T> componentType) {
       MutableObject<Pair<T, Integer>> mutableObject = new MutableObject<>();
-      m_akhrohzh(stack, (arg2x, i) -> {
+      forEachEnchantment(stack, (arg2, i) -> {
          if (mutableObject.getValue() == null || mutableObject.getValue().getSecond() < i) {
-            T object = ((Enchantment)arg2x.value()).effects().get(arg2);
+            T object = arg2.value().effects().get(componentType);
             if (object != null) {
                mutableObject.setValue(Pair.of(object, i));
             }
@@ -591,26 +598,29 @@
    }
 
    /**
-    * Mapping not found
+    * @mapping {@literal hashed m_obijpcqw Lnet/minecraft/unmapped/C_jakrppis;m_obijpcqw(Lnet/minecraft/unmapped/C_pscqxfcs;Lnet/minecraft/unmapped/C_usxaxydn;Ljava/util/function/Predicate;)Ljava/util/Optional;}
+    * @mapping {@literal named getContextForRandomEquipmentWith Lnet/minecraft/enchantment/EnchantmentHelper;getContextForRandomEquipmentWith(Lnet/minecraft/component/DataComponentType;Lnet/minecraft/entity/LivingEntity;Ljava/util/function/Predicate;)Ljava/util/Optional;}
     */
-   public static Optional<C_pjrjvgrp> m_obijpcqw(DataComponentType<?> arg, LivingEntity arg2, Predicate<ItemStack> predicate) {
-      List<C_pjrjvgrp> list = new ArrayList();
+   public static Optional<EnchantmentEffectContext> getContextForRandomEquipmentWith(
+      DataComponentType<?> componentType, LivingEntity entity, Predicate<ItemStack> stackPredicate
+   ) {
+      List<EnchantmentEffectContext> list = new ArrayList();
 
       for (EquipmentSlot lv : EquipmentSlot.values()) {
-         ItemStack lv2 = arg2.getEquippedStack(lv);
-         if (predicate.test(lv2)) {
+         ItemStack lv2 = entity.getEquippedStack(lv);
+         if (stackPredicate.test(lv2)) {
             ItemEnchantmentsComponent lv3 = lv2.getOrDefault(DataComponentTypes.ENCHANTMENTS, ItemEnchantmentsComponent.DEFAULT);
 
             for (Entry<Holder<Enchantment>> entry : lv3.getEnchantmentEntries()) {
                Holder<Enchantment> lv4 = (Holder<Enchantment>)entry.getKey();
-               if (lv4.value().effects().contains(arg) && lv4.value().m_jhglsmkm(lv)) {
-                  list.add(new C_pjrjvgrp(lv2, lv, arg2));
+               if (lv4.value().effects().contains(componentType) && lv4.value().matchesSlot(lv)) {
+                  list.add(new EnchantmentEffectContext(lv2, lv, entity));
                }
             }
          }
       }
 
-      return Util.getRandomOrEmpty(list, arg2.m_dlwxaobh());
+      return Util.getRandomOrEmpty(list, entity.m_dlwxaobh());
    }
 
    /**
@@ -645,31 +655,32 @@
 
    /**
     * @mapping {@literal hashed m_zzbecydw Lnet/minecraft/unmapped/C_jakrppis;m_zzbecydw(Lnet/minecraft/unmapped/C_rlomrsco;Lnet/minecraft/unmapped/C_sddaxwyk;ILnet/minecraft/unmapped/C_wqxmvzdq;Ljava/util/Optional;)Lnet/minecraft/unmapped/C_sddaxwyk;}
-    * @mapping {@literal named m_zzbecydw Lnet/minecraft/enchantment/EnchantmentHelper;m_zzbecydw(Lnet/minecraft/util/random/RandomGenerator;Lnet/minecraft/item/ItemStack;ILnet/minecraft/registry/DynamicRegistryManager;Ljava/util/Optional;)Lnet/minecraft/item/ItemStack;}
+    * @mapping {@literal named enchant Lnet/minecraft/enchantment/EnchantmentHelper;enchant(Lnet/minecraft/util/random/RandomGenerator;Lnet/minecraft/item/ItemStack;ILnet/minecraft/registry/DynamicRegistryManager;Ljava/util/Optional;)Lnet/minecraft/item/ItemStack;}
     */
-   public static ItemStack m_zzbecydw(
-      RandomGenerator random, ItemStack stack, int i, DynamicRegistryManager registryManager, Optional<? extends HolderSet<Enchantment>> optional
+   public static ItemStack enchant(
+      RandomGenerator random, ItemStack stack, int level, DynamicRegistryManager registryManager, Optional<? extends HolderSet<Enchantment>> enchantments
    ) {
-      return m_xnhbdqna(
+      return enchant(
          random,
          stack,
-         i,
-         (Stream<Holder<Enchantment>>)optional.map(HolderSet::stream).orElseGet(() -> registryManager.get(RegistryKeys.ENCHANTMENT).holders().map(arg -> arg))
+         level,
+         (Stream<Holder<Enchantment>>)enchantments.map(HolderSet::stream)
+            .orElseGet(() -> registryManager.get(RegistryKeys.ENCHANTMENT).holders().map(arg -> arg))
       );
    }
 
    /**
     * @mapping {@literal hashed m_xnhbdqna Lnet/minecraft/unmapped/C_jakrppis;m_xnhbdqna(Lnet/minecraft/unmapped/C_rlomrsco;Lnet/minecraft/unmapped/C_sddaxwyk;ILjava/util/stream/Stream;)Lnet/minecraft/unmapped/C_sddaxwyk;}
-    * @mapping {@literal named m_xnhbdqna Lnet/minecraft/enchantment/EnchantmentHelper;m_xnhbdqna(Lnet/minecraft/util/random/RandomGenerator;Lnet/minecraft/item/ItemStack;ILjava/util/stream/Stream;)Lnet/minecraft/item/ItemStack;}
+    * @mapping {@literal named enchant Lnet/minecraft/enchantment/EnchantmentHelper;enchant(Lnet/minecraft/util/random/RandomGenerator;Lnet/minecraft/item/ItemStack;ILjava/util/stream/Stream;)Lnet/minecraft/item/ItemStack;}
     */
-   public static ItemStack m_xnhbdqna(RandomGenerator random, ItemStack stack, int i, Stream<Holder<Enchantment>> stream) {
-      List<EnchantmentLevelEntry> list = m_udfcqeza(random, stack, i, stream);
+   public static ItemStack enchant(RandomGenerator random, ItemStack stack, int level, Stream<Holder<Enchantment>> possibleEnchantments) {
+      List<EnchantmentLevelEntry> list = generateEnchantments(random, stack, level, possibleEnchantments);
       if (stack.isOf(Items.BOOK)) {
          stack = new ItemStack(Items.ENCHANTED_BOOK);
       }
 

The diff for this file is not complete!

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View the diff here (3/3):
Continuation of the last diff...
       for (EnchantmentLevelEntry lv : list) {
-         stack.m_nisvbeaw(lv.f_ykbaoghe, lv.level);
+         stack.m_nisvbeaw(lv.enchantment, lv.level);
       }
 
       return stack;
@@ -677,23 +688,25 @@
 
    /**
     * @mapping {@literal hashed m_udfcqeza Lnet/minecraft/unmapped/C_jakrppis;m_udfcqeza(Lnet/minecraft/unmapped/C_rlomrsco;Lnet/minecraft/unmapped/C_sddaxwyk;ILjava/util/stream/Stream;)Ljava/util/List;}
-    * @mapping {@literal named m_udfcqeza Lnet/minecraft/enchantment/EnchantmentHelper;m_udfcqeza(Lnet/minecraft/util/random/RandomGenerator;Lnet/minecraft/item/ItemStack;ILjava/util/stream/Stream;)Ljava/util/List;}
+    * @mapping {@literal named generateEnchantments Lnet/minecraft/enchantment/EnchantmentHelper;generateEnchantments(Lnet/minecraft/util/random/RandomGenerator;Lnet/minecraft/item/ItemStack;ILjava/util/stream/Stream;)Ljava/util/List;}
     */
-   public static List<EnchantmentLevelEntry> m_udfcqeza(RandomGenerator random, ItemStack stack, int i, Stream<Holder<Enchantment>> stream) {
+   public static List<EnchantmentLevelEntry> generateEnchantments(
+      RandomGenerator random, ItemStack stack, int level, Stream<Holder<Enchantment>> possibleEnchantments
+   ) {
       List<EnchantmentLevelEntry> list = Lists.<EnchantmentLevelEntry>newArrayList();
       Item lv = stack.getItem();
       int j = lv.getEnchantability();
       if (j <= 0) {
          return list;
       } else {
-         i += 1 + random.nextInt(j / 4 + 1) + random.nextInt(j / 4 + 1);
+         level += 1 + random.nextInt(j / 4 + 1) + random.nextInt(j / 4 + 1);
          float f = (random.nextFloat() + random.nextFloat() - 1.0F) * 0.15F;
-         i = MathHelper.clamp(Math.round((float)i + (float)i * f), 1, Integer.MAX_VALUE);
-         List<EnchantmentLevelEntry> list2 = m_pngonrhw(i, stack, stream);
+         level = MathHelper.clamp(Math.round((float)level + (float)level * f), 1, Integer.MAX_VALUE);
+         List<EnchantmentLevelEntry> list2 = getPossibleLevelEntries(level, stack, possibleEnchantments);
          if (!list2.isEmpty()) {
             Weighting.getRandomItem(random, list2).ifPresent(list::add);
 
-            while (random.nextInt(50) <= i) {
+            while (random.nextInt(50) <= level) {
                if (!list.isEmpty()) {
                   removeConflicts(list2, Util.getLast(list));
                }
@@ -703,7 +716,7 @@
                }
 
                Weighting.getRandomItem(random, list2).ifPresent(list::add);
-               i /= 2;
+               level /= 2;
             }
          }
 
@@ -722,15 +735,16 @@
     * @mapping {@literal named removeConflicts Lnet/minecraft/enchantment/EnchantmentHelper;removeConflicts(Ljava/util/List;Lnet/minecraft/enchantment/EnchantmentLevelEntry;)V}
     */
    public static void removeConflicts(List<EnchantmentLevelEntry> possibleEntries, EnchantmentLevelEntry pickedEntry) {
-      possibleEntries.removeIf(arg2 -> !Enchantment.m_ycasfcso(pickedEntry.f_ykbaoghe, arg2.f_ykbaoghe));
+      possibleEntries.removeIf(arg2 -> !Enchantment.areCompatible(pickedEntry.enchantment, arg2.enchantment));
    }
 
    /**
-    * Mapping not found
+    * @mapping {@literal hashed m_ecxgwxiu Lnet/minecraft/unmapped/C_jakrppis;m_ecxgwxiu(Ljava/util/Collection;Lnet/minecraft/unmapped/C_cjzoxshv;)Z}
+    * @mapping {@literal named isCompatible Lnet/minecraft/enchantment/EnchantmentHelper;isCompatible(Ljava/util/Collection;Lnet/minecraft/registry/Holder;)Z}
     */
-   public static boolean m_ecxgwxiu(Collection<Holder<Enchantment>> collection, Holder<Enchantment> arg) {
-      for (Holder<Enchantment> lv : collection) {
-         if (!Enchantment.m_ycasfcso(lv, arg)) {
+   public static boolean isCompatible(Collection<Holder<Enchantment>> currentEnchantments, Holder<Enchantment> newEnchantment) {
+      for (Holder<Enchantment> lv : currentEnchantments) {
+         if (!Enchantment.areCompatible(lv, newEnchantment)) {
             return false;
          }
       }
@@ -740,16 +754,16 @@
 
    /**
     * @mapping {@literal hashed m_pngonrhw Lnet/minecraft/unmapped/C_jakrppis;m_pngonrhw(ILnet/minecraft/unmapped/C_sddaxwyk;Ljava/util/stream/Stream;)Ljava/util/List;}
-    * @mapping {@literal named m_pngonrhw Lnet/minecraft/enchantment/EnchantmentHelper;m_pngonrhw(ILnet/minecraft/item/ItemStack;Ljava/util/stream/Stream;)Ljava/util/List;}
+    * @mapping {@literal named getPossibleLevelEntries Lnet/minecraft/enchantment/EnchantmentHelper;getPossibleLevelEntries(ILnet/minecraft/item/ItemStack;Ljava/util/stream/Stream;)Ljava/util/List;}
     */
-   public static List<EnchantmentLevelEntry> m_pngonrhw(int i, ItemStack stack, Stream<Holder<Enchantment>> stream) {
+   public static List<EnchantmentLevelEntry> getPossibleLevelEntries(int level, ItemStack stack, Stream<Holder<Enchantment>> possibleEnchantments) {
       List<EnchantmentLevelEntry> list = Lists.<EnchantmentLevelEntry>newArrayList();
       boolean bl = stack.isOf(Items.BOOK);
-      stream.filter(arg2 -> ((Enchantment)arg2.value()).m_znzmqxec(stack) || bl).forEach(arg -> {
+      possibleEnchantments.filter(arg2 -> ((Enchantment)arg2.value()).isPrimaryItem(stack) || bl).forEach(arg -> {
          Enchantment lv = (Enchantment)arg.value();
 
          for (int j = lv.getMaxLevel(); j >= lv.getMinLevel(); j--) {
-            if (i >= lv.getMinPower(j) && i <= lv.getMaxPower(j)) {
+            if (level >= lv.getMinPower(j) && level <= lv.getMaxPower(j)) {
                list.add(new EnchantmentLevelEntry(arg, j));
                break;
             }
@@ -760,38 +774,40 @@
 
    /**
     * @mapping {@literal hashed m_spmqbsrk Lnet/minecraft/unmapped/C_jakrppis;m_spmqbsrk(Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_wqxmvzdq;Lnet/minecraft/unmapped/C_xhhleach;Lnet/minecraft/unmapped/C_jiailwzt;Lnet/minecraft/unmapped/C_rlomrsco;)V}
-    * @mapping {@literal named m_spmqbsrk Lnet/minecraft/enchantment/EnchantmentHelper;m_spmqbsrk(Lnet/minecraft/item/ItemStack;Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/util/random/RandomGenerator;)V}
+    * @mapping {@literal named enchantFromProvider Lnet/minecraft/enchantment/EnchantmentHelper;enchantFromProvider(Lnet/minecraft/item/ItemStack;Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/util/random/RandomGenerator;)V}
     */
-   public static void m_spmqbsrk(
-      ItemStack stack, DynamicRegistryManager registryManager, RegistryKey<C_qraehchg> registryKey, LocalDifficulty arg4, RandomGenerator random
+   public static void enchantFromProvider(
+      ItemStack stack, DynamicRegistryManager registryManager, RegistryKey<EnchantmentProvider> registryKey, LocalDifficulty difficulty, RandomGenerator random
    ) {
-      C_qraehchg lv = registryManager.get(RegistryKeys.ENCHANTMENT_PROVIDER).get(registryKey);
+      EnchantmentProvider lv = registryManager.get(RegistryKeys.ENCHANTMENT_PROVIDER).get(registryKey);
       if (lv != null) {
-         m_iefpfmdo(stack, arg5 -> lv.m_mwqiigvy(stack, arg5, random, arg4));
+         applyEnchantments(stack, arg5 -> lv.enchant(stack, arg5, random, difficulty));
       }
    }
 
    /**
-    * @mapping {@literal hashed net/minecraft/unmapped/C_jakrppis$C_wtxpyhvg}
-    * @mapping {@literal named net/minecraft/enchantment/EnchantmentHelper$C_wtxpyhvg}
+    * @mapping {@literal hashed net/minecraft/unmapped/C_jakrppis$C_jdhxivxn}
+    * @mapping {@literal named net/minecraft/enchantment/EnchantmentHelper$Consumer}
     */
    @FunctionalInterface
-   interface C_wtxpyhvg {
+   interface Consumer {
       /**
-       * Mapping not found
+       * @mapping {@literal hashed accept Lnet/minecraft/unmapped/C_jakrppis$C_jdhxivxn;accept(Lnet/minecraft/unmapped/C_cjzoxshv;I)V}
+       * @mapping {@literal named accept Lnet/minecraft/enchantment/EnchantmentHelper$Consumer;accept(Lnet/minecraft/registry/Holder;I)V}
        */
-      void accept(Holder<Enchantment> arg, int i, C_pjrjvgrp arg2);
+      void accept(Holder<Enchantment> enchantment, int level);
    }
 
    /**
-    * @mapping {@literal hashed net/minecraft/unmapped/C_jakrppis$C_jdhxivxn}
-    * @mapping {@literal named net/minecraft/enchantment/EnchantmentHelper$Consumer}
+    * @mapping {@literal hashed net/minecraft/unmapped/C_jakrppis$C_wtxpyhvg}
+    * @mapping {@literal named net/minecraft/enchantment/EnchantmentHelper$ContextAwareConsumer}
     */
    @FunctionalInterface
-   interface Consumer {
+   interface ContextAwareConsumer {
       /**
-       * Mapping not found
+       * @mapping {@literal hashed accept Lnet/minecraft/unmapped/C_jakrppis$C_wtxpyhvg;accept(Lnet/minecraft/unmapped/C_cjzoxshv;ILnet/minecraft/unmapped/C_pjrjvgrp;)V}
+       * @mapping {@literal named accept Lnet/minecraft/enchantment/EnchantmentHelper$ContextAwareConsumer;accept(Lnet/minecraft/registry/Holder;ILnet/minecraft/enchantment/EnchantmentEffectContext;)V}
        */
-      void accept(Holder<Enchantment> arg, int i);
+      void accept(Holder<Enchantment> enchantment, int level, EnchantmentEffectContext context);
    }
 }


The remaining diff is too long!

Please sign in to comment.