# 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
--- | --- | ---
isCancelable | boolean | /
getAmount | float | /
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
isCancelable | boolean | /
getAbility | AbilityAccessor | /
registerInteger | void | data - IntegerThreeData defaultValue - double
registerFloat | void | data - FloatThreeData defaultValue - double
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
isCancelable | boolean | /
registerInteger | void | data - IntegerThreeData defaultValue - double
registerFloat | void | data - FloatThreeData defaultValue - double
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
--- | --- | ---
isCancelable | boolean | /
getDistance | float | /
setDistance | void | distance - float
getDamageMultiplier | float | /
setDamageMultiplier | void | damageMultiplier - 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
--- | --- | ---
isCancelable | boolean | /
getAmount | float | /
setAmount | void | amount - float
getDamageSource | DamageSourceAccessor | /
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 | /
getUseBlock | String | /
getUseItem | String | /
setUseBlock | void | useBlockResult - String
setUseItem | void | useItemResult - 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 | /
getUseBlock | String | /
getUseItem | String | /
setUseBlock | void | useBlockResult - String
setUseItem | void | useItemResult - String
getPos | Vector3dAccessor | /
getHand | String | /
getItemStack | ItemStackAccessor | /
getLivingEntity | LivingEntityAccessor | /
getEntity | EntityAccessor | /
getWorld | WorldAccessor | /
isCancelled | boolean | /
setCanceled | void | canceled - boolean

## setRotationAngles

Function | Return Type | Parameters
--- | --- | ---
getPartialTicks | float | /
isCancelable | boolean | /
getNetHeadYaw | float | /
getLimbSwing | float | /
getHeadPitch | float | /
getLimbSwingAmount | float | /
setRotationAngle | void | part - String xyz - String angle - float
getAgeInTicks | 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