Пример #1
0
 public EnumItemRarity f(ItemStack itemstack) {
   return itemstack.hasEnchantments() ? EnumItemRarity.RARE : EnumItemRarity.COMMON;
 }