onTick

abstract fun onTick(player: Player)(source)

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

Parameters

player

The player whose inventory the item was in