Before 1.21.110.20, the calculation order of melee attack is: base damage → status effect modifier → enchantment modifier → critical hit
In 1.21.110.20 and after, the order becomes to: base damage → enchantment modifier → status effect modifier → critical hit
In the words, the order of status effect modifier and enchantment modifier switches.
When a player hits a witch (26 health points) with netherite sword, enchanted with sharpness V, in strength II, without critical hit, the damage calculation should be as follows:
Before 1.21.110.20:
1(player's base damage)+ 8(netherite sword)= 9
(9 × 1.3 + 1) × 1.3 + 1 = 17.51(strength II)
17.51 + floor(1.25 × 5) = 23.51(sharpness V)In 1.21.110.20 and after:
1(player's base damage)+ 8(netherite sword)= 9
9 + floor(1.25 × 5) = 15(sharpness V)
(15 × 1.3 + 1) × 1.3 + 1 = 27.65(strength II)Steps to reproduce:
Create a creative world
Give yourself a netherite sword and enchant it with sharpness V
Give yourself strength II effect
Summon a witch and hit it
Observed result: Before 1.21.110.20, you cannot kill a witch in one hit. In 1.21.110.20 and after, you can.
Expected result: You shouldn’t be able to kill a witch in one hit like before 1.21.110.20.
Can reproduce but I request that it not be modified because the current configuration is extremely favorable. My Minecraft Bedrock Edition RPG server