ImprovedFactions
Toggle table of contents
2.3.0
jvm
Platform filter
jvm
Switch theme
Search in API
ImprovedFactions
ImprovedFactions
/
io.github.toberocat.improvedfactions.listeners.claim
/
ClaimPlayerDamageEntityListener
Claim
Player
Damage
Entity
Listener
class
ClaimPlayerDamageEntityListener
<
T
:
Entity
>
(
name
:
String
,
clazz
:
KClass
<
T
>
,
zoneType
:
String
)
:
ProtectionListener
Members
Constructors
Claim
Player
Damage
Entity
Listener
Link copied to clipboard
constructor
(
name
:
String
,
clazz
:
KClass
<
T
>
,
zoneType
:
String
)
Functions
entity
Damage
Link copied to clipboard
fun
entityDamage
(
event
:
EntityDamageByEntityEvent
)
namespace
Link copied to clipboard
open
override
fun
namespace
(
)
:
String
protect
Chunk
Link copied to clipboard
fun
protectChunk
(
event
:
Cancellable
,
chunk
:
Chunk
?
)
should
Protect
Link copied to clipboard
fun
shouldProtect
(
chunk
:
Chunk
?
)
:
Boolean