Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import crafttweaker.item.IItemStack;
- <ore:twine>.add(<betterwithmods:material:3>);
- <ore:twine>.remove(<minecraft:string>);
- //Change String recipes to use OreDict
- recipes.replaceAllOccurences(<minecraft:string>, <ore:twine>, <*>.only(function(item) {
- return !isNull(item) & !<minecraft:wool>.matches(item);
- }));
- <ore:string>.add(<minecraft:beef>);
- //Adds a recipe for nametags
- recipes.addShaped("nametag", <minecraft:name_tag> * 2, [[<minecraft:string>, <minecraft:string>, null],[<minecraft:string>, <ore:paper>, null], [null, null, <ore:dyeBlack>]]);
- //Okay, so the replacement script itself works fine.
- //I am now testing it with the oredict added to the pyrotech items.
- //Weird. That changes it to use the string oredict instead! wat.
- //Now testing with BWM added, without the oredict added to the bwm string.
- //That worked fine. Now testing it while adding twine to the BWM hemp fibers.
- //That also worked. Now testing it by adding a non-string thing to oredict.
- //That borks it. One more test: what happens if I put the string oredict under the replaceall line?
- //Still bork.
- //Now, testing to see if it affect custom recipes.
- //It does.
- //Now, per request. I have removed minecraft:string from the twine oredict to see how it handles that.
- //Everything is still accepts any: string. And it's still ignoring the wool exemption.
Advertisement
Add Comment
Please, Sign In to add comment