PylonInventoryTicker

An item should implement this interface to tick when a player has the item in their inventory

Properties

Link copied to clipboard
abstract val tickInterval: Long

Determines the rate at which the onTick method will be called. onTick will be called at tickInterval * PylonConfig.inventoryTickerBaseRate

Functions

Link copied to clipboard
abstract fun onTick(player: Player)

Called when the item is detected in the player's inventory. will be called at tickInterval * [PylonConfig.inventoryTickerBaseRate