remove deprecated capacitor banks from NEI and creative tabs

This commit is contained in:
Matthias Mann committed 2015-04-12 17:45:26 +02:00
1 parent 5da2f972f8
commit c7e3ef60a8
2 files changed
-21

No files matched your search

@@ -81,17 +81,6 @@ public class BlockCapacitorBank extends BlockEio implements IGuiHandler, IAdvanc
@Override
@SideOnly(Side.CLIENT)
public void getSubBlocks(Item p_149666_1_, CreativeTabs p_149666_2_, List list) {
ItemStack is = BlockItemCapacitorBank.createItemStackWithPower(0);
list.add(is);
is = BlockItemCapacitorBank.createItemStackWithPower(TileCapacitorBank.BASE_CAP.getMaxEnergyStored());
list.add(is);
is = BlockItemCapacitorBank.createItemStackWithPower(TileCapacitorBank.BASE_CAP.getMaxEnergyStored() / 2);
is.setItemDamage(1);
list.add(is);
}
@Override
@@ -52,16 +52,6 @@ public class BlockItemCapacitorBank extends ItemBlock implements IEnergyContaine
@SuppressWarnings({ "rawtypes", "unchecked" })
@SideOnly(Side.CLIENT)
public void getSubItems(Item par1, CreativeTabs par2CreativeTabs, List par3List) {
ItemStack stack = createItemStackWithPower(0);
par3List.add(stack);
stack = createItemStackWithPower(TileCapacitorBank.BASE_CAP.getMaxEnergyStored());
par3List.add(stack);
stack = createItemStackWithPower(TileCapacitorBank.BASE_CAP.getMaxEnergyStored() / 2);
stack.setItemDamage(1);
par3List.add(stack);
}
@Override