mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 19:07:40 +01:00
Make shield blocking delay configurable
This commit is contained in:
parent
5cc8f5a0e6
commit
e7267acf84
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user