#how can i make items compostable

19 messages · Page 1 of 1 (latest)

drowsy pewter
#

i want make items like rotten flesh and poisonous potato compostable, how can i do it?

modern remnantBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

waxen vortex
#

I would do an event for player clicks on composter with poisonous potato/rotten flesh/etc. then take the item from the player. Then increase the composter level by one (or random integer)

#

!m level

uncut dockBOT
# waxen vortex !m level
Cannot Specify Searched Mechanism

Multiple possible mechanisms: PlayerTag.level, MaterialTag.level, PlayerTag.food_level, MythicMobsMobTag.level, EntityTag.pierce_level, PlayerTag.fake_op_level, EntityTag.villager_level, LocationTag.brewing_fuel_level.

#
Possible Confusion

Did you mean to search for command reset?

waxen vortex
#

!materialtag.level

#

yeah that

#

!materialtag level

#

I’m broken

#

ha! i win, bot.

balmy verge
heavy stag
dapper grove
#

I can provide this script that I used for my cooking system for custom food and crops.
It's a bit old so it might be a bit weird or redundant in parts, but I've confirmed it still works for my custom stuff.
https://paste.denizenscript.com/View/127778

Basically you have to adjustblock the composter's level and give it a chance to actually compost properly or else it just takes the item.

#

Ah yeah the foreach line isn't needed, been a long while since I coded like that

#

Basically as long as item in the players hand is valid to your specification then it'll take it, and fill the composter if it hits the right chance. Hope this helps!

glacial craneBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@drowsy pewter