Class Enchantment

java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.Enchantment

public class Enchantment extends GeneratableElement
  • Field Details

    • name

      public String name
    • supportedSlots

      public String supportedSlots
    • weight

      public int weight
    • anvilCost

      public int anvilCost
    • maxLevel

      public int maxLevel
    • damageModifier

      public int damageModifier
    • incompatibleEnchantments

      public List<Enchantment> incompatibleEnchantments
    • supportedItems

      public List<MItemBlock> supportedItems
    • isTreasureEnchantment

      public boolean isTreasureEnchantment
    • isCurse

      public boolean isCurse
    • canGenerateInLootTables

      public boolean canGenerateInLootTables
    • canVillagerTrade

      public boolean canVillagerTrade
  • Constructor Details

    • Enchantment

      public Enchantment(ModElement element)