Package fr.fidorial.item.enchantment
package fr.fidorial.item.enchantment
Enchantments, vanilla or added by plugins, synchronised with clients like the other data-driven
registries.
- Since:
- 0.1.0
- See Also:
-
InterfacesClassDescriptionAn enchantment applied to a stack carried by a living entity, passed to the hooks of an
EnchantmentBehaviour.Server-side behaviour of an enchantment.A complete enchantment definition, ready to be sent to clients.Builds anEnchantmentDefinition.An enchanting cost depending on the level, equal tobase + perLevelAboveFirst * (level - 1).The vanilla effect components an enchantment may declare in itseffectsobject.The behaviour of the enchantments, and the helpers applying them to stacks.KeySet<T>A set of registry entries, either a tag or an explicit list of keys, as data packs declare it.