An item with the equippable component (body slot) and the happy ghast as the allowed entity, cannot be given to a happy ghast.
Steps to reproduce:
Get the item with the equippable component:
/give @s minecraft:blue_harness[equippable={allowed_entities:["minecraft:happy_ghast"], slot:body, can_be_sheared:1b, asset_id:"minecraft:red_harness"}]
Attempt to give it to a happy ghast with no harness (
/summon minecraft:happy_ghast ~ ~ ~ {NoAI:1b}
)
Expected Behaviour & Result:
Happy ghast equips a shearable blue harness with the appearance of a red one
Actual Behaviour & Result:
Happy ghast does not equip anything, even with the right slot and allowed entity
Comments 3
The equippable component is missing the `equip_on_interact` field, if this is included it can be equipped as expected. π
Oh alright, sorry, then itβs inconsistent behaviour from that of wolves (and players). The same item, no defined equip_on_interact
, but with wolf as the allowed entity can be equipped on a tamed wolf, moreover if there's no allowed_entities
the player themselves can equip it. Is this a reportable bug?
equip_on_interact
must betrue
.The correct command would be: