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

set_block block descriptor states cannot change custom properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.19.0.29 Preview, 1.19.0.28 Beta, 1.19.0.27 Preview, 1.19.0.26 Beta, 1.17.0.52 Beta, 1.16.221 Hotfix, 1.18.30, 1.18.31, 1.19.21 Hotfix
    • None
    • Unconfirmed
    • Multiple

      Add a custom boolean property and configure the block to replace itself with any block (itself or others) that have this same property and set this property via the states node in the block_type definition of an event.

      Expected Behavior:
      The property is updated the same as any other blockstate property.

      Actual Behavior:
      the following error is received on loading any world with this add-on installed:

      invalid state during block parsing. block name test:custom_block_1 state "test:testprop" state type 5

      and attempting to interact with the block crashes Minecraft.

      Steps to recreate:

      • Install the attached add-on.
      • Load a world with the behavior and resource packs applied and receive the above error.
      • Give yourself the block using /give @s test:custom_block_1 and place it into the world.
      • Right click interact with the custom block.
        Minecraft crashes.
         

            MariusTanghal03 Unknown
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: