primaryItems
@NotNull
public @NotNull Enchantment.Builder primaryItems(@NotNull
@NotNull ObjectSet<Material> primaryItems)
Enchantment
@NotNull Enchantment.Builder
anvilCost(int anvilCost)
@NotNull Enchantment
build()
@NotNull Enchantment.Builder
description(@NotNull Component description)
<T> @NotNull Enchantment.Builder
effect(@NotNull DataComponent<T> component,
T value)
@NotNull Enchantment.Builder
effects(@NotNull DataComponentMap effects)
@NotNull Enchantment.Builder
exclusiveSet(@NotNull ObjectSet<Enchantment> exclusiveSet)
@NotNull Enchantment.Builder
maxCost(int base,
int perLevelAboveFirst)
@NotNull Enchantment.Builder
maxCost(@NotNull Enchantment.Cost maxCost)
@NotNull Enchantment.Builder
maxLevel(int maxLevel)
@NotNull Enchantment.Builder
minCost(int base,
int perLevelAboveFirst)
@NotNull Enchantment.Builder
minCost(@NotNull Enchantment.Cost minCost)
@NotNull Enchantment.Builder
primaryItems(@NotNull ObjectSet<Material> primaryItems)
@NotNull Enchantment.Builder
slots(@NotNull List<EquipmentSlotGroup> slots)
@NotNull Enchantment.Builder
slots(@NotNull EquipmentSlotGroup... slots)
@NotNull Enchantment.Builder
supportedItems(@NotNull ObjectSet<Material> supportedItems)
@NotNull Enchantment.Builder
weight(int weight)