Enchantment: Implemented Unbreaking

This commit is contained in:
Dylan K. Taylor
2018-01-13 19:34:45 +00:00
parent 45b02d92d4
commit 94feecd44b
2 changed files with 21 additions and 1 deletions

View File

@ -95,6 +95,8 @@ class Enchantment{
self::registerEnchantment(new Enchantment(self::RESPIRATION, "%enchantment.oxygen", self::RARITY_RARE, self::SLOT_HEAD, 3));
self::registerEnchantment(new Enchantment(self::EFFICIENCY, "%enchantment.digging", self::RARITY_COMMON, self::SLOT_DIG | self::SLOT_SHEARS, 5));
self::registerEnchantment(new Enchantment(self::UNBREAKING, "%enchantment.durability", self::RARITY_UNCOMMON, self::SLOT_ALL, 3)); //TODO: item type flags need to be split up
}
/**