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

Block States Aren't Working Correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.230.54 Beta, 1.16.220, 1.16.230.50 Beta, 1.16.220.52 Beta, 1.16.220.51 Beta, 1.16.220.50 Beta, 1.16.210.61 Beta, 1.16.210.60 Beta, 1.16.210.59 Beta, 1.16.210.58 Beta, 1.16.201 Hotfix, 1.16.210
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed
    • Platform:
      Multiple

      Description

      When making a block with custom block states, attempting to use them in places such as commands or feature placement, an error will occur saying the custom block state is not a valid block state.

      We also can't use any vanilla block states except for the direction block state.

      Update:

      • I've also noticed that the ' "mincraft:direction": {} ' block state doesn't function correctly for clients, as blocks using this state (so that structures can rotate the block properly) permutate correctly for the host but clients view the block as if the direction is 0, no matter what the host sees.

      Steps To Reproduce:

      1. Create a custom block with a custom block state
      2. Run the command /setblock ~ ~ ~ custom:block ["block_state": value]
      3. The error will occur
      4. Change the custom block state to something like minecraft:pillar_axis
      5. The block will fail to load

      Expected Results:

      • Custom block states can be used in commands and features and we can use more vanilla block states than just direction

      Actual Behavior:

      • Custom block states return errors when used outside of the block itself and using other vanilla block states makes the block fail to load

       

        Attachments

          Activity

            People

            Reporter:
            Gruntastic Gruntastic
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: