MolepickAbility

Functions

Link copied to clipboard
open fun buildLore(lore: MutableList<Component>, player: MacrocosmPlayer?)

Builds and inserts the ability name and descriptions in provided lore list

Link copied to clipboard
open override fun registerListeners()

You have to override this function, and register listeners there (net.axay.kspigot.event.listen)), this is where all the ability logic is defined at

Properties

Link copied to clipboard
open override val cost: AbilityCost? = null

Cost to perform this ability

Link copied to clipboard
open override val description: String

Description of this ability. Will later be partitioned for every 25 characters, not including MM tags

Link copied to clipboard
open override val id: Identifier

ID of this ability, got from the Registry.ABILITY)

Link copied to clipboard
open override val name: String

Name of this ability. It is later parsed using MiniMessage, therefore may contain MM tags

Link copied to clipboard
open override val type: AbilityType

Type of this ability, only used for visual lore display