[Suggestion] About CraftTweaker integration
drakray opened this issue ยท 7 comments
Could it be possible to change string to ItemStack? as it would add support for metadata/blockstate.
As of now, I don't think it's possible to specify meta/state to differentiate block, like multiple BoP grass type and such.
Or maybe just add a variable to Soil function for metadata. if that's simpler.
I'm not sure where you want to use an ItemStack instead of a String. I'm also not sure what part does not support metadata.
CraftTweaker can not be used to add new Soils, you are supposed to do that using json files.
Please elaborate a bit.
Ah, that's the part I missed lol, I tried to add soil directly with CT using block name lol.
Could it be eventually possible though to add soil with CT using ItemStack?
JSON is fine and all, but CT is very simple, specially for those who use it regularly.
No, sorry. There already is an easy enough way to do it and every additional option just makes things more complicated and harder to maintain.
If you have any issues understanding the json files, feel free to ask though!
Maybe one question: can there be more than one definition in a JSON file? Or must I make 1 file per block/meta?
Yes, you can. See greenSlime.json.