toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-core
/
net.silkmc.silk.core.event
/
EntityEvents
/
EntityCheckInvulnerabilityEvent
Entity
Check
Invulnerability
Event
open
class
EntityCheckInvulnerabilityEvent
(
entity
:
Entity
,
val
source
:
DamageSource
,
val
isInvulnerable
:
EventScopeProperty
<
Boolean
>
)
:
EntityEvents.EntityEvent
<
Entity
>
(
source
)
Members
Constructors
Entity
Check
Invulnerability
Event
Link copied to clipboard
constructor
(
entity
:
Entity
,
source
:
DamageSource
,
isInvulnerable
:
EventScopeProperty
<
Boolean
>
)
Properties
entity
Link copied to clipboard
val
entity
:
Entity
is
Invulnerable
Link copied to clipboard
val
isInvulnerable
:
EventScopeProperty
<
Boolean
>
source
Link copied to clipboard
val
source
:
DamageSource