Mojira Archive
MCPE-66278

"minecraft:equippable" doesn't distinguish metadata items

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.

Incomplete

JoePaleto

2020-03-25, 04:09 AM

2020-12-21, 12:50 PM

2020-12-21, 12:50 PM

0

0

Unconfirmed

1.14.30 Hotfix

-