public class UEnchantment extends net.minecraft.enchantment.Enchantment implements IURegistryType
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
| Constructor and Description |
|---|
UEnchantment(java.lang.String name,
net.minecraft.enchantment.Enchantment.Rarity rarity,
net.minecraft.enchantment.EnchantmentType type,
net.minecraft.inventory.EquipmentSlotType[] slots) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEntryName()
Must return a unique name per
IForgeRegistryEntry |
calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, getDefaultTranslationKey, getDisplayName, getEnchantmentByID, getEntityEquipment, getMaxEnchantability, getMaxLevel, getMinEnchantability, getMinLevel, getName, getRarity, isAllowedOnBooks, isCompatibleWith, isCurse, isTreasureEnchantment, onEntityDamaged, onUserHurtpublic UEnchantment(java.lang.String name,
net.minecraft.enchantment.Enchantment.Rarity rarity,
net.minecraft.enchantment.EnchantmentType type,
net.minecraft.inventory.EquipmentSlotType[] slots)
public java.lang.String getEntryName()
IURegistryTypeIForgeRegistryEntrygetEntryName in interface IURegistryType