23 lines
619 B
Java
23 lines
619 B
Java
package resonantinduction.core.prefab.item;
|
|
|
|
import net.minecraft.item.Item;
|
|
import net.minecraftforge.common.Configuration;
|
|
import resonantinduction.core.Reference;
|
|
import resonantinduction.core.ResonantInductionTabs;
|
|
import resonantinduction.core.Settings;
|
|
|
|
/**
|
|
*
|
|
* @author AidanBrady
|
|
*
|
|
*/
|
|
public class ItemBase extends Item
|
|
{
|
|
public ItemBase(String name, int id)
|
|
{
|
|
super(Settings.CONFIGURATION.get(Configuration.CATEGORY_ITEM, name, id).getInt(id));
|
|
this.setCreativeTab(ResonantInductionTabs.CORE);
|
|
this.setUnlocalizedName(Reference.PREFIX + name);
|
|
this.setTextureName(Reference.PREFIX + name);
|
|
}
|
|
}
|