Esempio n. 1
0
 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];
 }
Esempio n. 2
0
 public ItemPropolis() {
   super(EnumPropolis.values());
   setCreativeTab(Tabs.tabApiculture);
   setUnlocalizedName("propolis");
 }