changed creative tab loading

This commit is contained in:
Robert 2013-12-12 22:15:52 -05:00
parent 3fc8bbb317
commit 19c4464b3c
6 changed files with 7 additions and 7 deletions

View file

@ -139,7 +139,7 @@ public class AssemblyLine extends ModPrefab
proxy.init();
FMLog.info("Loaded: " + TranslationHelper.loadLanguages(LANGUAGE_PATH, LANGUAGES_SUPPORTED) + " languages.");
DMCreativeTab.tabAutomation.setIconItemStack(new ItemStack(ALRecipeLoader.blockConveyorBelt));
DMCreativeTab.tabAutomation().setIconItemStack(new ItemStack(ALRecipeLoader.blockConveyorBelt));
}
@Override

View file

@ -24,7 +24,7 @@ public class ItemImprinter extends Item
{
super(id);
this.setUnlocalizedName("imprint");
this.setCreativeTab(DMCreativeTab.tabAutomation);
this.setCreativeTab(DMCreativeTab.tabAutomation());
this.setHasSubtypes(true);
this.maxStackSize = 1;
}

View file

@ -15,13 +15,13 @@ public class BlockAssembly extends BlockMachine
public BlockAssembly(BlockBuildData buildBuildData)
{
super(buildBuildData.setCreativeTab(DMCreativeTab.tabAutomation).setConfigProvider(AssemblyLine.CONFIGURATION));
super(buildBuildData.setCreativeTab(DMCreativeTab.tabAutomation()).setConfigProvider(AssemblyLine.CONFIGURATION));
}
public BlockAssembly(String blockName, Material material)
{
super(AssemblyLine.CONFIGURATION, blockName, material);
this.setCreativeTab(DMCreativeTab.tabAutomation);
this.setCreativeTab(DMCreativeTab.tabAutomation());
}
@Override

View file

@ -20,7 +20,7 @@ public class ItemDisk extends Item
{
super(id);
this.setUnlocalizedName("disk");
this.setCreativeTab(DMCreativeTab.tabAutomation);
this.setCreativeTab(DMCreativeTab.tabAutomation());
this.setHasSubtypes(true);
}

View file

@ -35,7 +35,7 @@ public class BlockProcessor extends BlockMachine
public BlockProcessor()
{
super(new BlockBuildData(BlockProcessor.class, "OreProcessor", UniversalElectricity.machine).setConfigProvider(AssemblyLine.CONFIGURATION));
this.setCreativeTab(DMCreativeTab.tabIndustrial);
this.setCreativeTab(DMCreativeTab.tabIndustrial());
}
@Override

View file

@ -38,7 +38,7 @@ public class BlockAdvancedHopper extends BlockMachine
public BlockAdvancedHopper()
{
super(AssemblyLine.CONFIGURATION, "DMHopper", Material.iron);
this.setCreativeTab(DMCreativeTab.tabAutomation);
this.setCreativeTab(DMCreativeTab.tabAutomation());
this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
}