SimpleAccessoryPower

class SimpleAccessoryPower(id: String, val displayItem: Material, val name: String, val stats: Statistics, val tier: String = "Starter") : AccessoryPower(source)

A simple accessory power without any specific bonuses

Constructors

Link copied to clipboard
constructor(id: String, displayItem: Material, name: String, stats: Statistics, tier: String = "Starter")

Functions

Link copied to clipboard
open fun ensureRequirements(player: Player): Boolean

Ensures that player has this accessory power

Link copied to clipboard
open override fun registerListeners()

Registers specific listeners for this power

Link copied to clipboard
open fun thaumaturgyPlaceholder(player: MacrocosmPlayer, mp: Int, selected: Boolean = false): ItemStack

Builds a placeholder item for Thaumaturgy UI

Properties

Link copied to clipboard
open override val displayItem: Material

Item that this accessory power shows

Link copied to clipboard
open override val id: Identifier

ID of this accessory power

Link copied to clipboard
open override val name: String

Name of this accessory power

Link copied to clipboard
open override val stats: Statistics

Basic stats of this accessory power

Link copied to clipboard
open override val tier: String

Tier of this accessory power. E.g. "Starter" or "Grandiose"