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

Inconsistency: Boolean data is of type String in the BlockStateTag tag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.5, 1.17 Pre-release 3, 1.17, 1.17.1
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      In the BlockStateTag tag all the values that must be Boolean are strings, which does not make sense since it only has 2 possibilities, true or false

      For example

      / give @p stone_slab {BlockStateTag:{waterlogged:"true"}}

      should be

      / give @p stone_slab {BlockStateTag:{waterlogged:true}}
      

      or

       

      / give @p stone_slab {BlockStateTag:{waterlogged:1b}}
      

       

      Values that use the BlockStateTag tag and should be Boolean are:

      open, occupied, powered, lit, has_bottle_0, has_bottle_1, has_bottle_2, drag, signal_fire, waterlogged, down, east, north, south, up, west, conditional, inverted, triggered, eye, in_wall, snowy, enabled, hanging, persistent, has_book, extended, short, locked, bottom, unstable, attached, disarmed

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Zailer43 Zailer43
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: