Make shield blocking delay configurable
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user