EnchantmentDefinition
Immutable authored rules. Runtime effects and acquisition policy belong to their providers. A non-null set makes this enchantment an item set; see ItemSetDefinition.
Constructors
Link copied to clipboard
public void EnchantmentDefinition(String id, String name, String description, int maxLevel, boolean curse, Set<EnchantmentDefinition.Slot> validSlots, Set<EnchantmentDefinition.ItemType> itemTypes, Set<String> attackKinds, Set<String> requires, Set<String> conflicts, EnchantmentDefinition.Stacking stacking, String script, Map<String, Object> parameters, ItemSetDefinition set)