public boolean hasInfinity() {
   return tile.getEnchantment(Enchantment.infinity) > 0;
 }
 public int getLootingLevel() {
   return tile.getEnchantment(Enchantment.looting);
 }