Steps to reproduce the issue:
Have any type of Weakness level
Don’t exceed the amount of Damage reduction that your effect level has (Ex: Don’t use a Diamond Sword in Weakness I, it would work on Weakness X)
Expected result:
Damage reduction of your currently item, registration of the hit even though the player could have negative damage or 0.
Actual result:
Total cancelation of the hit, without registering any kb or animation.
Further explanation:
When you hit any mob while being in the effect of weakness you become unable to perform the action of hitting. This is an unexpected behaviour as the expected would be to just reduce x% of the damage while hitting an entity. This only happens when you don’t exceed a certain amount of attack damage value. For example, in the video I couldn’t use my hand or a wooden sword to hit an entity while in Weakness I. Then I tried to use a diamond sword and it would let me (I think but I’m not sure that this occurs because the diamond sword has a 7 attack value, while the Weakness I effect only takes 4 damage of the value). Finally I tried to put myself in Weakness X, and as you can see in the video I couldn’t hit nothing.
In the video I used the effect command to make it more visual and shorter, but this error occurs also in the three types of weakness potions, and in the arrows or suspicious stews. Even though the amount of damage I do when punching with a hand and a weakness effect is negative (then I don’t do any damage) the hit should be registered and the kb and animation should perform.
Thank you for your report!
We're actually already tracking this issue in MC-238669, so this ticket is being resolved and linked as a duplicate.
However, that ticket has been resolved as working as intended, which means that this will not be fixed as it is not considered a bug.
Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.
Quick Links:
📗 Tracker Guidelines | 🛠 Community Support | 📧 Mojang Support | 🔑 Account Support | ✍️ Feedback Discord