--- ../src_base/minecraft_server/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000 +++ ../src_work/minecraft_server/net/minecraft/src/Enchantment.java 0000-00-00 00:00:00.000000000 -0000 @@ -175,4 +175,14 @@ this.name = par1Str; return this; } + + /** + * Called to determine if this enchantment can be applied to a ItemStack + * @param item The ItemStack that the enchantment might be put on + * @return True if the item is valid, false otherwise + */ + public boolean canEnchantItem(ItemStack item) + { + return type.canEnchantItem(item.getItem()); + } }