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
    • type

      public String type
    • rarity

      public String rarity
    • minLevel

      public int minLevel
    • maxLevel

      public int maxLevel
    • damageModifier

      public int damageModifier
    • compatibleEnchantments

      public List<Enchantment> compatibleEnchantments
    • excludeEnchantments

      public boolean excludeEnchantments
    • compatibleItems

      public List<MItemBlock> compatibleItems
    • excludeItems

      public boolean excludeItems
    • isTreasureEnchantment

      public boolean isTreasureEnchantment
    • isCurse

      public boolean isCurse
    • isAllowedOnBooks

      public boolean isAllowedOnBooks
    • canGenerateInLootTables

      public boolean canGenerateInLootTables
    • canVillagerTrade

      public boolean canVillagerTrade
  • Constructor Details

    • Enchantment

      public Enchantment(ModElement element)