Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-138654

"seconds" argument in /effect command is applied as ticks with some effects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w44a
    • None
    • Unconfirmed

      When giving some effects via the /effect command, the "seconds" argument is applied as ticks after the execution.

      The affected effects are saturation, instant_damage and instant_health (the only 3 effects not having an icon btw).

       

      How to reproduce

      1. Type /effect give @p minecraft:saturation 40
      2. Run the command
      3. You will see that the effect lasts only 2 seconds, as 20 ticks = 1 second
      4. If you try with another effect, "40" is properly applied as seconds

            Unassigned Unassigned
            Yanis48 Yanis
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: