equivalent-exchange-3/ee3_common/ee3/common/item/ItemEE.java

24 lines
514 B
Java

package ee3.common.item;
import ee3.common.lib.Reference;
import net.minecraft.src.Item;
/**
* ItemEE
*
* Wrapper for mod items
*
* @author pahimar
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class ItemEE extends Item {
public ItemEE(int id) {
super(id - Reference.SHIFTED_ID_RANGE_CORRECTION);
maxStackSize = 1;
setTextureFile(Reference.SPRITE_SHEET_LOCATION + Reference.ITEM_SPRITE_SHEET);
setNoRepair();
}
}