Package io.github.thebusybiscuit.slimefun4.core.handlers
package io.github.thebusybiscuit.slimefun4.core.handlers
This package contains all variations of
ItemHandler
that
can be assigned to a SlimefunItem
-
ClassDescriptionThis
ItemHandler
is triggered when theSlimefunItem
it was assigned to is aDispenser
and was triggered.ThisItemHandler
is called whenever aBlock
was placed.ThisItemHandler
is triggered when theSlimefunItem
it was assigned to is aSlimefunBow
and an Arrow fired from this bow hit aLivingEntity
.If thisItemHandler
is added to aSlimefunItem
it will listen for anyEntityDeathEvent
that was triggered by aPlayer
using theSlimefunItem
thisEntityKillHandler
was linked to.AGlobalItemHandler
is a special type ofItemHandler
which is not associated with one particularSlimefunItem
but rather exists seperate from them, similar to anEvent
Listener
.ThisItemHandler
is triggered when theSlimefunItem
it was assigned to has been consumed.ThisItemHandler
is triggered when theSlimefunItem
it was assigned to is right-clicked.This is aBlockTicker
that is exclusively used for Rainbow blocks.