rebar
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
rebar
rebar
/
io.github.pylonmc.rebar.item.base
/
RebarWeapon
Rebar
Weapon
interface
RebarWeapon
(
source
)
Members
Functions
on
Used
To
Damage
Entity
Link copied to clipboard
open
fun
onUsedToDamageEntity
(
event
:
EntityDamageByEntityEvent
,
priority
:
EventPriority
)
Called when the item is used to damage an entity.
on
Used
To
Kill
Entity
Link copied to clipboard
open
fun
onUsedToKillEntity
(
event
:
EntityDeathEvent
,
priority
:
EventPriority
)
Called when the item is used to kill an entity.