forked from GeyserMC/Geyser
Add 1.9+ PvP 'Cooldown' (#768)
* Add 1.9+ PvP 'Cooldown' This commit adds a subtitle that acts as the Java cooldown. This is an optional feature disabled in the config with `show-cooldown`. This does not appear on plugins that use OldCombatMechanics. * No need to bump up the config version; I was just tested with OldCombatMechanics * Use simpler casting * Use session variable of lastHitTime for theoretically better performance * Reuse attribute value calculation from AttributeUtils * Remove unused imports * Revert config version update in config.yml
This commit is contained in:
parent
256c62ce88
commit
9369b20209
10 changed files with 176 additions and 4 deletions
|
@ -74,6 +74,9 @@ allow-third-party-capes: true
|
|||
# MinecraftCapes
|
||||
allow-third-party-ears: false
|
||||
|
||||
# Allow a fake cooldown indicator to be sent. Bedrock players do not see a cooldown as they still use 1.8 combat
|
||||
show-cooldown: true
|
||||
|
||||
# The default locale if we dont have the one the client requested
|
||||
default-locale: en_us
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue