The bug
When using /effect with an unspecified duration, it's supposed to default to 30 seconds for normal effects. This works fine. However, it's supposed to default to a single tick for instant effects. This does not work, instead it defaults to 30 ticks.
How to reproduce
/effect @s instant_damage
Expected behavior: You take damage once
Actual behavior: You take damage four times and die
Linked issues
relates to 1
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Affects 1.16.210.58