Make shield blocking delay configurable

This commit is contained in:
BillyGalbreath 2018-06-16 01:17:39 -05:00
parent 5cc8f5a0e6
commit e7267acf84

View File

@ -847,5 +847,19 @@ public interface LivingEntity extends Attributable, Damageable, ProjectileSource
*/
@Deprecated
void setArrowsStuck(int arrows);
/**
* Get the delay (in ticks) before blocking is effective for this entity
*
* @return Delay in ticks
*/
int getShieldBlockingDelay();
/**
* Set the delay (in ticks) before blocking is effective for this entity
*
* @param delay Delay in ticks
*/
void setShieldBlockingDelay(int delay);
// Paper end
}