Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The builder has the same arguments as the constructor, and can have chained meth
- `ignoreCraftingTools()`
- Disable crafting tools being made from this Material.

- `addEnchantmentForTools(Enchantment enchantment, int level)`
- `.enchantment(Enchantment enchantment, int level)`
- Enchantment is the default enchantment applied on tool creation.
Level is the level of said enchantment.
- `enchantability(int enchantability)`
Expand All @@ -82,7 +82,7 @@ Here is an example of using the builder in a material:
]
)
.unbreakable()
.addEnchantmentForTools(silk_touch, 1)
.enchantment(SILK_TOUCH, 1)
.build()
)
});
Expand Down
Loading