Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Ability to config items/blocks that can be turned into compost #25

Open
PitchBright opened this issue Apr 29, 2015 · 7 comments

Comments

@PitchBright
Copy link

Would it be possible to get a config/whitelist of items/blocks that can be converted into compost? Some mods have some organic things in them, that don't use standard compostable materials (food/leaves/grass/etc) and it'd be nice to be able to manually add them to a "Compostable" list.

@jaquadro
Copy link
Owner

Already possible through a MineTweaker API. Since there are other parameters involved, it will likely remain a MineTweaker-only configuration item.

https://github.com/jaquadro/GardenCollection/wiki/Compost-Bin

@PitchBright
Copy link
Author

Awesome. I didn't realize that. Thanks so much!

Please close.

@PitchBright
Copy link
Author

I added this to a script, but I can't seem to get it to work:
mods.gardenstuff.CompostBin.add(minecraft:brick, 150);

I get the error message:
ERROR: ?:1 > 4 methods available but none matches the parameters (minetweaker.oredict.IOreDictEngy, int)

Edit: Nevermind… that error above was related to having a forge ore dict entry in another script.

That said, I am however having difficulty getting the Script correct for using OreDicts.

@jaquadro
Copy link
Owner

I didn't even know MT had explicit OreDict types. It expects a plain old string which would be your oredict key, like "plankWood".

@PitchBright
Copy link
Author

They might have added it recently. This is what I have been using and it seems to work for everything. Check it out: http://minetweaker3.powerofbytes.com/wiki/Tutorial:Ore_Dictionary

@jaquadro
Copy link
Owner

Guess I need to add a new entrypoint for this. But if the plain old string isn't working, I need to know.

@PitchBright
Copy link
Author

I just tested the plain string entry for ya… and I can confirm it does work. Here's the example I tested for Pam's HarvestCraft.

mods.gardenstuff.CompostBin.add("listAllnut", 150);

@jaquadro jaquadro reopened this Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants