You can make a custom food items with remains with commands.
For example like this.
/give @p pitcher_pod[consumable={nutrition:5,saturation:5,can_always_eat:1b,consume_seconds:1.2},use_remainder={id:melon_seeds,count:1}]
But the only thing what you can't do is that you get a custom food remain with a name or enchantments etc.
For example like this.
/give @a pitcher_pod[consumable={nutrition:5,saturation:5,can_always_eat:1b,consume_seconds:1.2},use_remainder={id:'melon_seeds[custom_name=\'["",{"text":"Seeds","italic":false}]\']',count:1}]
That can add lots of new mechanics.
For ecample a sword with a right click effect.
And what i mean with that is when you eat a item realy fast with no animation you get a effect or something else and you the same item back with all the things you made on it like Enchantments Names Custom Model Data etc.
For example this command i made but doesn't work.
give @a wooden_sword[custom_name='["",{"text":"Blaze Sword","italic":false,"color":"gold"}]',consumable={can_always_eat:1b,consume_seconds:0.1,animation:none,nutrition:1,saturation:1},use_remainder={id:'wooden_sword[custom_name=\'["",{"text":"Blaze Sword","italic":false,"color":"gold"}]\',consumable={can_always_eat:1b,consume_seconds:0.1,animation:none,nutrition:1,saturation:1}]'}]
Please sign in to leave a comment.
2 Comments