Hello!
I am trying to remove the consumable component of an item, but even if I put an empty object, the item is still consumable, the only way I have to prevent it from being consumed is to set consume_seconds to 999999999, but when I right click it keeps doing a little animation, if someone knows how to completely remove the component, it would help me a lot!
I thought about copying the item to an entity and removing the component, but the command is running on every tick, it would be very time consuming to replace the item to the player and remove the component constantly.
[37m/[35mdata [34mget entity [36m@s [33mSelectedItem.components.“minecraft:consumable"
{
"function": "minecraft:set_components",
"components": {
"minecraft:consumable": {}
}
}
any ideas? 😄