resonant-induction/atomic/src/main/scala/resonantinduction/atomic/base/ItemElectricAS.java

22 lines
699 B
Java
Raw Normal View History

package resonantinduction.atomic.base;
import resonantinduction.core.Reference;
import resonantinduction.core.Settings;
import resonantinduction.core.TabRI;
import universalelectricity.api.UniversalClass;
import universalelectricity.api.item.IEnergyItem;
import universalelectricity.api.item.ItemElectric;
@UniversalClass
2014-05-16 22:18:25 +02:00
public abstract class ItemElectricAS extends ItemElectric implements IEnergyItem
{
2014-05-16 22:18:25 +02:00
public ItemElectricAS(int itemID, String name)
{
super(Settings.CONFIGURATION.getItem(name, itemID).getInt());
this.setUnlocalizedName(Reference.PREFIX + name);
this.setCreativeTab(TabRI.DEFAULT);
this.setTextureName(Reference.PREFIX + name);
}
}