mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 06:24:24 +00:00
remove deprecated capacitor banks from NEI and creative tabs
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user