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

Superflat worlds containing blocks with different associated blockitems display name of item instead of name of block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w15a, 20w18a, 20w19a, 20w20a, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2, 21w03a, 21w05b, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 21w37a, 22w03a, 1.20.6, 1.21 Pre-Release 4
    • None
    • Confirmed
    • Custom Worlds, Text
    • Low
    • Platform

      When creating a superflat world out of blocks which do not have direct item counterparts, but do have dedicated items to place them (such as fluids and crops), since they do not have an actual block icon the item is displayed instead. However, the name of the item is also displayed as well, which can lead to nonsensical results; for example, a superflat world with minecraft:water in it is a world with a layer of water, not a world with a layer of water buckets.

      Fire appears to be an exception to this rule; it is displayed as air instead of flint and steel.

      As all blocks should have translation strings and associated names, a fix would be to only display the item in the inventory slot to the left, and the actual name of the block to the right. This would also fix the names for MC-48058.

      To reproduce, use the following preset:

      minecraft:carrots,minecraft:potatoes,minecraft:beetroots,minecraft:wheat,minecraft:melon_stem,minecraft:pumpkin_stem,minecraft:tripwire,minecraft:water,minecraft:lava,minecraft:sweet_berry_bush,minecraft:cocoa,minecraft:fire;minecraft:swamp;village

      This will probably crash the world shortly after load due to invalid block positions, however the world can be subsequently recreated to test the bug without entering the world.

        1. 2020-01-10_17.44.01.png
          2020-01-10_17.44.01.png
          125 kB
        2. 2020-01-10_17.44.03.png
          2020-01-10_17.44.03.png
          133 kB
        3. 2020-01-10_17.44.08.png
          2020-01-10_17.44.08.png
          126 kB
        4. 2020-01-10_17.54.34.png
          2020-01-10_17.54.34.png
          119 kB
        5. 2020-01-10_17.54.36.png
          2020-01-10_17.54.36.png
          120 kB
        6. 1.21 Pre-Release 4 and 1.20.6.PNG
          1.21 Pre-Release 4 and 1.20.6.PNG
          21 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: