Example #1
0
BasicItem::BasicItem(int itemId):
	GalacticraftItem("basicItem", itemId) {
	creativeCategory = 3;
	setMaxDamage(0);
	setStackedByData(false);
	
	initIcons();
}
CardinalStick::CardinalStick(short itemId) : Item("cardinalStick", itemId - 0x100) {
	creativeCategory = CreativeItemCategory::ITEMS;
	setMaxStackSize(6);
	setStackedByData(true);
	Item::mItems[itemId] = this;
	
	initTextures();
}