Instant Health/Damage effect command displays seconds instead of ticks
EDIT
As said in comments was my problem as in manifest.json _ the _min_engine_version was set to 1.14 instead of 1.16.
Leaving this as would be nice to be able to run in ticks any effect. and chat autocompletion shows as seconds for those 2 effects
Verification Builds: 1.16.0.57
Summary: Effect command when used with instant_health and instant_damage in functions work in autocompletion display seconds instead of ticks
Reproduction Steps:
1.- Get into a new world and get in survival mode with cheats enabled
run the following command.
/effect @s instant_damage 2 0 true
You will notice it does work for half a second.
2.- Make a basic behavior pack which contains the manifest.json, and function folder with one function.
We will use here a function called example.mcfunction
Add in that function the same command as above.
Reload the world and add in it the behavior pack.
Make sure you are full health.
Run the function command.
You will die, of damage because you will receive the effect for 2 seconds.
3.- Related to it. When using instant_healt or instant_damage on the chat still displays as if it was in seconds instead of ticks
Expected behavior: Instant damage and health should run in ticks on functions same as in chat and when using Those 2 effects on chat the autocompletion should show ticks instead of seconds.
Impact: may interfere with mechanics developed with the use of instant effects to damage or heal mobs
Is hard to understand for users why does run on ticks when displays seconds
Notes: A good addition would be to be able to choose if you want to use ticks or seconds for all effects similar to how xp command works.
If you type the command without anything uses seconds, if you add an 's' after the time will run in seconds, and if you add a 't' after the time will run on ticks.