A [minecraft:compostable] component would be awesome considering we have access to [minecraft:food] and [minecraft:consumable]. It's a small addition, but would add that extra step of making a custom item feel like it's actually in the game.
The component would accept a number from a range of 1-0, with 1 representing "100%" and 0 representing "0%". This would be the chance of the item filling up a composter by a single level. (Negative numbers would not be allowed)
An example of this would be:
/give regfunkid slime_ball[compostable=.7]
or
/give regfunkid slime_ball[compostable=0.7]
to give regfunkid a Slime Ball that has a 70% chance of filling the composter by a level.
An interesting addition as well would be allowing the [compostable] component to go above 100%--this would mean that, besides filling the composter by a level each time, it would also have an additional chance to fill the composter by 1 more level. So,
/give regfunkid slime_ball[compostable=1.5]
would give regfunkid a Slime Ball that WILL fill the composter at least once, but has an additional 50% chance to fill it again. A [compostable] level of 10 would equal 1000%, instantly filling a composter.
Please sign in to leave a comment.
0 Comments