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

set_block block descriptor states cannot change custom properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.16.200.55 Beta, 1.16.200.52 Beta
    • Fix Version/s: 1.16.210
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Platform:
      Windows 10 - PC
    • ADO:
      434015

      Description

      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.

        Attachments

          Activity

            People

            Reporter:
            Erasmus42 Jonathan M Falkner
            Votes:
            13 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: