Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
MagmaCore
/
com.magmaguy.easyminecraftgoals
/
NMSAdapter
/
setDamageCooldownTicks
set
Damage
Cooldown
Ticks
public
void
setDamageCooldownTicks
(
LivingEntity
entity
,
int ticks
)
Changes only the native hit cooldown; the previous hit amount and other immunity remain unchanged.