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.