mojira.dev
MCPE-232617

Script API's "Dyeable" Component does not exist on leather items

Currently, all leather items do not have the Dyeable component offered by Script API. Not sure if this is an intended choice or not, but it feels weird for vanilla dyeable items to not have the corresponding component to go with it.

const item = new ItemStack("minecraft:leather_helmet")
const dyeable = item.getComponent("dyeable")//does not return a dyeable component

Comments 0

No comments.

Rem Averg

(Unassigned)

Unconfirmed

Multiple

1.21.124 Hotfix

Retrieved