27 lines
559 B
Java
27 lines
559 B
Java
package com.pahimar.ee3.item;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import com.pahimar.ee3.lib.Reference;
|
|
import com.pahimar.ee3.lib.Sprites;
|
|
|
|
/**
|
|
* 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(Sprites.SPRITE_SHEET_LOCATION + Sprites.ITEM_SPRITE_SHEET);
|
|
setNoRepair();
|
|
}
|
|
|
|
}
|