-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The vehicle crafting table, the gun modification table and the parts crafting table are present in the corresponding flans mod tab, but not in the "search" creative tab.
To Reproduce
Steps to reproduce the behaviour:
- Go to the search tab in the inventory in creative
- Search for one of the three items
- See non of the items in the results
Expected behaviour
The items also should be present in both the corresponding flans mod tab and the search tab.
Versions (please complete the following information)
- Forge: 14.23.5.2838
- Flan's Mod: 1.12.2 branch (at 71ba7ed)
Additional context
Probably related to the way the items are added to the creative tabs:
FlansMod/src/main/java/com/flansmod/common/BlockFlansWorkbench.java
Lines 31 to 40 in 71ba7ed
@Override | |
public void getSubBlocks(CreativeTabs tab, NonNullList<ItemStack> items) | |
{ | |
if(tab == FlansMod.tabFlanDriveables) | |
items.add(new ItemStack(this, 1, 0)); | |
else if(tab == FlansMod.tabFlanGuns) | |
items.add(new ItemStack(this, 1, 1)); | |
else if(tab == FlansMod.tabFlanParts) | |
items.add(new ItemStack(this, 1, 2)); | |
} |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working