Creative tab ItemSink module
Xuerian opened this issue ยท 7 comments
A functional alternative or compliment to the Mod Based ItemSink module, a creative tab version would operate as named, allowing a more intent-focused filter instead of bluntly by mod.
I'd like to say "It should be easy", but that usually just means it isn't.
This is not possible because
@SideOnly(Side.CLIENT) public CreativeTabs getCreativeTab() { return this.tabToDisplayOn; }
. It's client side only. And we need it to be accasable on the server as well.
Ok scratch that. I might have found a way around that. Trough it will only work on the main creative tab the item is on and not on all of them.
We will need to check if the creative tabs exist on servers as well. Otherwise we will run into the same problem as with the name based filtering.
@davboecki I think technically they SHOULD exist....Ive not seen a mod that restricts its Tabs specificly to a Side so far...
I might be completely wrong though XD