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

Commands "setblock" and "fill" don't work at or above height 1024 in some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 21w03a
    • Fix Version/s: 21w05a
    • Labels:
      None
    • Environment:
      Windows 10.0.19041.685, Java 1.8.0_51 64bit.
    • Confirmation Status:
      Confirmed
    • Game Mode:
      Creative
    • Category:
      Commands
    • Mojang Priority:
      Important

      Description

      Generate a new world using datapack, set its "min_y" = -1024, and its "max_height" = 3056(the datapack which I'm using is provided).

      Generating settings which I use:
      Game Mode - Creative
      Difficulty - Hard
      (Others are default setting)

      After world loaded, using command:

      /setblock ~ 1023 ~ minecraft:stone
      

      or

      /fill ~ 1023 ~ ~ 1023 ~ minecraft:stone
      

      they worked correctly.
      However, when execute command

      /setblock ~ 1024 ~ minecraft:stone
      

      or

      /fill ~ 1024 ~ ~ 1024 ~ minecraft:stone
      

      they don't work.
      For "setblock", it says: "Could not set the block", and for "fill", it says: "No blocks were filled".
      Even using command

      /fill ~ 1023 ~ ~ 1024 ~ minecraft:stone
      

       to fill blocks, it only apply on the lower block, and make the higher block a ghost block.
      In other situation, if the Y value are higher(I tested Y=1536), the error message will become "An unexpected error occurred trying to execute that command", but if you run command on coordinate which had executed by two types of commands, the error message will become the string I mentioned above.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grum [Mojang] Grum (Erik Broes)
              Reporter:
              anterdc99 Bilin Tsui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: