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

Custom Blocks cannot replace main hand items via commands

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.19.22 Hotfix
    • None
    • Unconfirmed
    • Windows

      After creating a custom block and setting an event for it to use replaceitem, the block fails to replace the main hand item. If set to another slot other than main hand such as slot.hotbar, the command still cannot replace the item if the slot targeted is selected by the player.

      Steps to reproduce:
      1. Create a custom block with an on_interact component that runs a replaceitem event on the player
      2. Interacting with the block will replace all slots except for the main hand if targeted.

            CoyoteCampus Joshua Menusa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: