Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-154350

/damage only allows integers even though damage can be fractional now

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.20.20 Preview, 1.19.0.27 Preview, 1.19.0.26 Beta, 1.18.30
    • None
    • Confirmed
    • Multiple
    • 769567

      From the 1.18.20.27 changelog:

      Damage is now calculated more accurately, we now properly calculate and store partial damage for larger damage

      This ostensibly brings Bedrock into parity with the changes Java made back in 2013. However, /damage still can't do partial damage.

      /damage @p 0.5
      

      Expected behavior
      You take a quarter-heart of damage

      Actual behavior
      Syntax error

            tryashtar [Mod] tryashtar
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: