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

[Experimental] - Custom Blocks tags don't work in recipes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.19.80.21 Preview, 1.19.70, 1.19.71, 1.20.50.22 Preview, 1.20.50.23 Preview, 1.20.41 Hotfix
    • Unconfirmed
    • Multiple

      Correct me if I'm doing something wrong, but recipes that use tags don't recognise custom block tags at all. I have a custom block that has the
          "tag:minecraft:wooden_slabs": {}
      tag component, this should allow the block to be used in the new barrel recipe, however the game doesn't recognise the block tag when it's not a tile in the world.

      The result is that blocks can't be used with recipe tags.

      Steps To Reproduce:

      • Download the supplied pack, unzip and copy to the behavior packs folder in com.mojang of the latest preview (bug also exists on stable, but pack was made in preview) and load a world in creative with 'Holiday Creator Features' and 'Beta APIs' applied.
      • Go to the construction tab and get the unkown block and iron ingot item
      • Place the block and look at it while holding the block
      • Type !test in chat
        • Observe the script warnings showing the held item tags and the tags of the block you're looking at, only the block has tags, the held block does not.
      • Hold the iron ingot item and do the test again
        • Now observe that the held item now has the wooden_slabs tag (twice but that's a different bug)
      • Now try to craft a barrel with the custom block replacing the slabs
        • It won't work
      • Now try to craft a barrel with the custom item replacing the slabs
        • It will work

      Expected Results:

      • Custom block tags work in recipes

      Observed Results:

      • Custom block tags aren't recognised when in 'item' form and thus cannot be used in recipes

       

            Gruntastic Gruntastic
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: