# Script Events

## Overview

- livingAttack
- abilityDataUpdated
- registerAbilityThreeData
- abilityLocked
- abilityUnlocked
- registerEntityThreeData
- rightClickItem
- livingFall
- multiJump
- livingHurt
- conditionDataUpdated
- livingDeath
- abilityEnabled
- entityJoinWorld
- leftClickBlock
- livingUpdate
- abilityTick
- abilityDisabled
- superpowerSet
- projectileImpact
- rightClickEmpty
- projectileTick
- entityInteract
- leftClickEmpty
- entityStruckByLightning
- rightClickBlock
- setRotationAngles
- livingJump

## livingAttack

Function | Return Type | Parameters
--- | --- | ---
getAmount | float | /
isCancelable | boolean | /
getDamageSource | DamageSourceAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## abilityDataUpdated

Function | Return Type | Parameters
--- | --- | ---
getValue | Object | /
getData | String | /
getOldValue | Object | /
isCancelable | boolean | /
getAbility | AbilityAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## registerAbilityThreeData

Function | Return Type | Parameters
--- | --- | ---
register | void | data - ThreeData defaultValue - Object
registerFloat | void | data - FloatThreeData defaultValue - double
registerInteger | void | data - IntegerThreeData defaultValue - double
isCancelable | boolean | /
getAbility | AbilityAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## abilityLocked

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getAbility | AbilityAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## abilityUnlocked

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getAbility | AbilityAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## registerEntityThreeData

Function | Return Type | Parameters
--- | --- | ---
register | void | data - ThreeData defaultValue - Object
registerFloat | void | data - FloatThreeData defaultValue - double
registerInteger | void | data - IntegerThreeData defaultValue - double
isCancelable | boolean | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## rightClickItem

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getPos | Vector3dAccessor | /
getHand | String | /
getItemStack | ItemStackAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## livingFall

Function | Return Type | Parameters
--- | --- | ---
setDamageMultiplier | void | damageMultiplier - float
isCancelable | boolean | /
getDistance | float | /
setDistance | void | distance - float
getDamageMultiplier | float | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## multiJump

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getJump | int | /
getAbility | AbilityAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## livingHurt

Function | Return Type | Parameters
--- | --- | ---
getAmount | float | /
isCancelable | boolean | /
getDamageSource | DamageSourceAccessor | /
setAmount | void | amount - float
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## conditionDataUpdated

Function | Return Type | Parameters
--- | --- | ---
getValue | Object | /
getData | String | /
getOldValue | Object | /
isCancelable | boolean | /
getCondition | ConditionAccessor | /
getAbility | AbilityAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## livingDeath

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getDamageSource | DamageSourceAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## abilityEnabled

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getAbility | AbilityAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## entityJoinWorld

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## leftClickBlock

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getUseItem | String | /
setUseBlock | void | useBlockResult - String
setUseItem | void | useItemResult - String
getUseBlock | String | /
getPos | Vector3dAccessor | /
getHand | String | /
getItemStack | ItemStackAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## livingUpdate

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## abilityTick

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getAbility | AbilityAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## abilityDisabled

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getAbility | AbilityAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## superpowerSet

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getSuperpower | String | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## projectileImpact

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## rightClickEmpty

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getPos | Vector3dAccessor | /
getHand | String | /
getItemStack | ItemStackAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## projectileTick

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## entityInteract

Function | Return Type | Parameters
--- | --- | ---
getTarget | EntityAccessor | /
isCancelable | boolean | /
getPos | Vector3dAccessor | /
getHand | String | /
getItemStack | ItemStackAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## leftClickEmpty

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getPos | Vector3dAccessor | /
getHand | String | /
getItemStack | ItemStackAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## entityStruckByLightning

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getLightningBoltEntity | EntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## rightClickBlock

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getUseItem | String | /
setUseBlock | void | useBlockResult - String
setUseItem | void | useItemResult - String
getUseBlock | String | /
getPos | Vector3dAccessor | /
getHand | String | /
getItemStack | ItemStackAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## setRotationAngles

Function | Return Type | Parameters
--- | --- | ---
getLimbSwingAmount | float | /
isCancelable | boolean | /
getPartialTicks | float | /
getHeadPitch | float | /
getNetHeadYaw | float | /
getLimbSwing | float | /
getAgeInTicks | float | /
setRotationAngle | void | part - String xyz - String angle - float
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## livingJump

Function | Return Type | Parameters
--- | --- | ---
isCancelable | boolean | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean