changed creative tab loading
This commit is contained in:
parent
3fc8bbb317
commit
19c4464b3c
6 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue