Hi, I tried to ban shape card:
recipes.remove(<rftools:shape_card:9219/0>);
Unfortunately it is not working.
maybe I am doing something wrong with the number at the end?
It's
Code:
recipes.remove(<rftools:shape_card>);
I'l give you a quick example on how you should do this correctly:
Let's say you wanted to ban an item with the id 9000 or any other id. The way I do this is that I go under nei options and then click tools and dumps and I dump the items using that. And then I go to where I have my modpack installed and open the dumps folder and open item.csv with notepad++ then I search for that id.
Now let's say that I searched for the shape_card which in my servers case the id is 9156. I would search for 9156 and get something like this as an output:
Code:
rftools:shape_card,9156,false,mcjty.rftools.items.builder.ShapeCardItem
I would then only copy the thing that is in front of the actual id in this case that's rftools:shape_card and then you just remove the recipe using recipes.remove as I've shown above.
Now let's say that the id is 9156 and the meta is 10 so the item in game would have the id and meta of 9156:10
In this case we would specify the removal as such
Code:
recipes.remove(<rftools:shape_card:10>);
I hope this explains how to do this correctly. Alternately you could also make a val and do it like this for example.
Code:
val shapecard = <rftools:shape_card:>;
recipes.remove(shapecard);
Now let's say that you wanted to put some sort of tooltip saying that this item is banned in nei or jei as in if the user scrolled over it he would see why the item is banned we can do this like so:
Code:
<rftools:shape_card>.addTooltip(format.red(format.italic("This item is banned due reason here")));
If you have anymore questions feel free to ask