Custom Tab 1.7.10

Started by CreepersZ on Fri, 04/15/2016 - 03:41

Topic category: Mod ideas

Last seen on 12:05, 13. May 2016
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Custom Tab 1.7.10
Fri, 04/15/2016 - 03:48 (edited)

I wanted to create a custom tab, but it was not possible with the standard mcreator settings, so I decided to try a change in the code ..

 

1) Create new element > Creative tab

2) Create a block and voice > Creative inventory tab, search for the tab you just created and select it

3) Select the block and click View source

4) Look for the code of your tab created ex: if you have given a name type newtab, the code will be: mcreator_newtab.tab

5) Now just copy the code of your tab and replace the default code ex:

 

MultiTool:

Default code is: this.setCreativeTab(CreativeTabs.tabTools);

Custom code is: this.setCreativeTab(mcreator_newtab.tab); 

 

 

Armor:

Default

helmet.setCreativeTab(CreativeTabs.tabCombat);
body.setCreativeTab(CreativeTabs.tabCombat);
legs.setCreativeTab(CreativeTabs.tabCombat);
boots.setCreativeTab(CreativeTabs.tabCombat);

 

Custom

helmet.setCreativeTab(mcreator_newtab.tab);
body.setCreativeTab(mcreator_newtab.tab);
legs.setCreativeTab(mcreator_newtab.tab);
boots.setCreativeTab(mcreator_newtab.tab);

 

screenshot

 

 

Edited by CreepersZ on Fri, 04/15/2016 - 03:48