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

"minecraft:equippable" doesn't distinguish metadata items

XMLWordPrintable

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

      The "accepted_items" list component member from the "minecraft:equippable" entity component ignores the specified metadata of an item.

       

      "minecraft:equippable": {
      	"slots": [
      		{
      			"slot": 0,
      			"item": "bucket",
      			"accepted_items": [
      				"bucket:10"
      			],
      			"on_equip": {
      				"event": "example"
      			},
      			"on_unequip": {
      				"event": "example2"
      			}
      		}
      	]
      }
      

       

      In this case, my code is supposed to only accept a Lava Bucket (bucket:10) in the equippable slot. However, if I attempt to place the same item with different metadata (ex. Empty Bucket (bucket:0)), the game will accept the item in the slot, ignoring the metadata specification.

            joepaleto JoePaleto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: