|
EvenBetterArcheology unspecified
|
A generic class representing an enchantment that is only available as loot. More...


Public Member Functions | |
| boolean | isAvailableForEnchantedBookOffer () |
| By default, the enchantment is not available from the enchantment table. More... | |
| boolean | isTreasure () |
| Block the enchantment from being fishable. More... | |
| boolean | isAvailableForRandomSelection () |
| Block the enchantment from being randomly selected. More... | |
Protected Member Functions | |
| ArtifactEnchantment (String enchantmentName, EnchantmentTarget target, EquipmentSlot... slotTypes) | |
| Create a new artifact enchantment. More... | |
Protected Attributes | |
| final String | NAME |
A generic class representing an enchantment that is only available as loot.
It also includes a registry for all artifact enchantments and can generate a loot table for them.
|
protected |
Create a new artifact enchantment.
| enchantmentName | the name of the enchantment |
| target | the target of the enchantment |
| slotTypes | the slot types of the enchantment @apiNote This will automatically be added to the list of artifact enchantments and the evenbetterarcheology tab It will also be registered in the game with the identifier "evenbetterarcheology:<enchantmentName>" |
| boolean de.sakurajin.evenbetterarcheology.api.enchantment.ArtifactEnchantment.isAvailableForEnchantedBookOffer | ( | ) |
By default, the enchantment is not available from the enchantment table.
| boolean de.sakurajin.evenbetterarcheology.api.enchantment.ArtifactEnchantment.isAvailableForRandomSelection | ( | ) |
Block the enchantment from being randomly selected.
| boolean de.sakurajin.evenbetterarcheology.api.enchantment.ArtifactEnchantment.isTreasure | ( | ) |
Block the enchantment from being fishable.
|
protected |