public int getColorFromItemStack(ItemStack itemStack, int j) { int i = itemStack.getItemDamage(); if (j == 0) { return EnumPropolis.get(itemStack).colour[0]; } return EnumPropolis.get(itemStack).colour[1]; }
public ItemPropolis() { super(EnumPropolis.values()); setCreativeTab(Tabs.tabApiculture); setUnlocalizedName("propolis"); }