Class Enchantment.Builder
java.lang.Object
net.minestom.server.item.enchant.Enchantment.Builder
- Enclosing interface:
Enchantment
-
Method Summary
Modifier and TypeMethodDescriptionanvilCost(int anvilCost) build()description(Component description) effect(DataComponent<T> component, T value) effects(DataComponentMap effects) exclusiveSet(RegistryTag<Enchantment> exclusiveSet) maxCost(int base, int perLevelAboveFirst) maxCost(Enchantment.Cost maxCost) maxLevel(int maxLevel) minCost(int base, int perLevelAboveFirst) minCost(Enchantment.Cost minCost) primaryItems(RegistryTag<Material> primaryItems) slots(List<EquipmentSlotGroup> slots) slots(EquipmentSlotGroup... slots) supportedItems(RegistryTag<Material> supportedItems) weight(int weight)
-
Method Details
-
description
-
exclusiveSet
-
supportedItems
-
-
weight
-
maxLevel
-
minCost
-
minCost
-
maxCost
-
maxCost
-
anvilCost
-
slots
-
slots
-
effect
-
effects
-
build
-