Interface Enchantable
Holds if an item is enchantable, allowing for enchantments of the type to be seen in an enchanting table.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Enchantable
enchantable
(@org.checkerframework.checker.index.qual.Positive int level) @org.checkerframework.checker.index.qual.Positive int
value()
Gets the current enchantment value level allowed, a higher value allows enchantments with a higher cost to be picked.
-
Method Details
-
enchantable
@Contract(value="_ -> new", pure=true) static Enchantable enchantable(@org.checkerframework.checker.index.qual.Positive int level) -
value
Gets the current enchantment value level allowed, a higher value allows enchantments with a higher cost to be picked.- Returns:
- the value
- See Also:
-