Project home for New Alterlite - A new locaria community pack focused on a different approach of minecrafting.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.1 KiB

These are the functions which can be called on a DamageData object.
getEntityData:
Notes:
Returns the EntityData object so functions can be called on it.
getDamageSourceData:
Notes:
Returns the DamageSourceData object so functions can be called on it.
setBlocked:
Arguments:
boolean
Usage:
true/false
Notes:
Sets if the damage was blocked.
setTakenMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max damage taken.
setDealtMin:
Arguments:
float
Usage:
min
Notes:
Sets the min damage dealt.
setDealtMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max damage dealt.
setTakenMax:
Arguments:
float
Usage:
max
Notes:
Sets the max damage taken.
setDealtMax:
Arguments:
float
Usage:
max
Notes:
Sets the max damage dealt.
setTakenMin:
Arguments:
float
Usage:
min
Notes:
Sets the min damage taken.