Update merged commits to 1.8.8
This commit is contained in:
parent
0fdba82490
commit
f17cd36815
3 changed files with 19 additions and 18 deletions
|
@ -1,13 +1,10 @@
|
|||
package techreborn.items;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import techreborn.api.power.IEnergyItemInfo;
|
||||
import techreborn.client.TechRebornCreativeTab;
|
||||
|
||||
public class ItemLithiumBattery extends ItemTR implements IEnergyItemInfo {
|
||||
public class ItemLithiumBattery extends ItemTextureBase implements IEnergyItemInfo {
|
||||
|
||||
public ItemLithiumBattery() {
|
||||
super();
|
||||
|
@ -17,12 +14,6 @@ public class ItemLithiumBattery extends ItemTR implements IEnergyItemInfo {
|
|||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
@Override
|
||||
public void registerIcons(IIconRegister iconRegister) {
|
||||
this.itemIcon = iconRegister.registerIcon("techreborn:" + "lithiumBattery");
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getMaxPower(ItemStack stack) {
|
||||
return 100000;
|
||||
|
@ -47,4 +38,14 @@ public class ItemLithiumBattery extends ItemTR implements IEnergyItemInfo {
|
|||
public int getStackTeir(ItemStack stack) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTextureName(int damage) {
|
||||
return "techreborn:items/lithiumBattery";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxMeta() {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue