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

Any Custom Component makes blocks interactable

XMLWordPrintable

    • Confirmed
    • Windows
    • 1224107

      Using any custom component will make a block interact-able even if the custom component is not using the "onPlayerInteract" component. Something to not that having the component itself does not trigger this behaviour but once the component has a value then the behaviour occurs.

       

      Reproduce:

      • Download the add-on attached
      • Create a new world in Preview 1.20.80.23 with the Beta APIs experimental toggle enabled
      • Using commands, give yourself "mojira:custom_block_2" and "mojira:custom_block"
      • Place the blocks next to each by right clicking on any side of the block

      Expected Behaviour:

      Both blocks should be able to be placed when right clicking on any face of the block

      Actual Behaviour:

      Per the video, "mojira:custom_block", which has a custom component, prevents this behaviour from happening. Whereas "mojira:custom_block_2" works like any other block that isn't interactable.

            SmokeyStack SmokeyStack
            Votes:
            6 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: