Enchantment: Implement Silk Touch (#1912)

This commit is contained in:
Dylan K. Taylor
2018-01-14 13:37:27 +00:00
committed by GitHub
parent 96f6362117
commit 8d7c65585c
18 changed files with 92 additions and 2 deletions

View File

@ -95,7 +95,7 @@ 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::SILK_TOUCH, "%enchantment.untouching", self::RARITY_MYTHIC, self::SLOT_DIG | self::SLOT_SHEARS, 1));
self::registerEnchantment(new Enchantment(self::UNBREAKING, "%enchantment.durability", self::RARITY_UNCOMMON, self::SLOT_ALL, 3)); //TODO: item type flags need to be split up
}