How can I block items?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Redrick

New Member
Jul 29, 2019
10
0
0
I've been using the plugin described above and it seems to work on only vanilla items. I can't get it to disable the mining laser, rotary macerator, luminators, or any other non-vanially block/item I've tried.
 

Lawbroken

New Member
Jul 29, 2019
1,336
0
0
Random thought have you tried changing the item ID to 0?

I heard it somewhere can't remember and don't even know if it works.
 

Redrick

New Member
Jul 29, 2019
10
0
0
Recently went on a item banning kick and indeed setting the id's to 0 or -1 will turn all the instances of that item into either an iron shovel(1) or static oil(-1) when crafted. Any existing items will just dissapear.

EDIT: for IC2 items you need to change the id in both the config ic2.cfg in your config folder but the ic2_map.cfg in your world folder as well.
 

GameMakerWorld

New Member
Jul 29, 2019
23
0
0
I did exactly that and it crashes the server as it did in my tests before. So this does not seem to be a solution to IC2 OP items :{

Getting stuff like this:

java.lang.ClassCastException: ic2.core.item.tfbp.ItemTFBPMushroom cannot be cast to ic2.core.item.tool.ItemNanoSaber

I blocked the TFBPs and the nano saber (and some more) and the same ID makes it cast one to the other in a huge row of chaos.

EDIT: if it is just one item set to 0 then the server runs but the client crashes so this probably works with identical configs for client and server (banning ONE!!! item only that is) but no other way seems to work.
 

Vagaprime

New Member
Jul 29, 2019
129
0
0
i have tried to use the NEIServer.cfg file but for an item like the quantum Armour it doesn't seem to work. i think it is do to the meta data the changes depending on th power charge of the item