rebar
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
rebar
rebar
/
io.github.pylonmc.rebar.item.base
/
RebarWeapon
Rebar
Weapon
interface
RebarWeapon
(
source
)
Members
Types
Companion
Link copied to clipboard
object
Companion
:
MultiListener
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.