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.
setBlocked:
Arguments:
boolean
Usage:
true/false
Notes:
Sets if the damage was blocked.
getEntityData:
Notes:
Returns the EntityData object so functions can be called on it.
setDealtMin:
Arguments:
float
Usage:
min
Notes:
Sets the min damage dealt.
setTakenMax:
Arguments:
float
Usage:
max
Notes:
Sets the max damage taken.
setTakenMin:
Arguments:
float
Usage:
min
Notes:
Sets the min damage taken.
setDealtMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max damage dealt.
setDealtMax:
Arguments:
float
Usage:
max
Notes:
Sets the max damage dealt.
setTakenMinMax:
Arguments:
float, float
Usage:
min, max
Notes:
Sets the min and max damage taken.
getDamageSourceData:
Notes:
Returns the DamageSourceData object so functions can be called on it.