Package | Description |
---|---|
net.minecraft.enchantment |
Modifier and Type | Field and Description |
---|---|
ProtectionEnchantment.Type |
ProtectionEnchantment.protectionType |
Modifier and Type | Method and Description |
---|---|
static ProtectionEnchantment.Type |
ProtectionEnchantment.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtectionEnchantment.Type[] |
ProtectionEnchantment.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ProtectionEnchantment(Enchantment.Rarity rarityIn,
ProtectionEnchantment.Type protectionTypeIn,
EquipmentSlotType... slots) |