Improved Absorption, now only applies to living entities, now controllable by plugins

This commit is contained in:
Dylan K. Taylor
2017-04-30 19:29:10 +01:00
parent aa9fd1b4f9
commit cb7911ee9c
3 changed files with 7 additions and 24 deletions

View File

@ -37,6 +37,7 @@ class EntityDamageEvent extends EntityEvent implements Cancellable{
const MODIFIER_STRENGTH = 2;
const MODIFIER_WEAKNESS = 3;
const MODIFIER_RESISTANCE = 4;
const MODIFIER_ABSORPTION = 5;
const CAUSE_CONTACT = 0;
const CAUSE_ENTITY_ATTACK = 1;