# 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 | /
getDamageSource | DamageSourceAccessor | /
getAmount | float | /
getLivingEntity | LivingEntityAccessor | /
getWorld | WorldAccessor | /
getEntity | EntityAccessor | /
setCanceled | void | canceled - boolean
isCancelled | boolean | /

## abilityDataUpdated

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

## registerAbilityThreeData

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

## abilityLocked

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

## abilityUnlocked

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

## registerEntityThreeData

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

## rightClickItem

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

## livingFall

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

## multiJump

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

## livingHurt

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

## conditionDataUpdated

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

## livingDeath

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

## abilityEnabled

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

## entityJoinWorld

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

## leftClickBlock

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

## livingUpdate

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

## abilityTick

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

## abilityDisabled

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

## superpowerSet

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

## projectileImpact

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

## rightClickEmpty

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

## projectileTick

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

## entityInteract

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

## leftClickEmpty

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

## entityStruckByLightning

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

## rightClickBlock

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

## setRotationAngles

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

## livingJump

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