Geyser/connector/src/main/java/org/geysermc/connector
Camotoy 9369b20209
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
2020-06-16 19:03:28 -05:00
..
bootstrap Configuration updates (#653) 2020-06-10 17:58:29 -05:00
command Fixed incorrectly arguments parsing (#773) 2020-06-15 11:20:38 +01:00
configuration Add 1.9+ PvP 'Cooldown' (#768) 2020-06-16 19:03:28 -05:00
entity Entity (mostly rotation) fixes (#675) 2020-06-16 18:58:06 -05:00
inventory Update various copyright dates 2020-04-15 15:39:21 -04:00
metrics Move all json to Jackson instead of a mix of 2 libraries (#302) 2020-04-20 15:10:30 -05:00
network Add 1.9+ PvP 'Cooldown' (#768) 2020-06-16 19:03:28 -05:00
ping Configuration updates (#653) 2020-06-10 17:58:29 -05:00
scoreboard Implement helper methods for sending packets (#487) 2020-05-05 10:51:43 -05:00
utils Add 1.9+ PvP 'Cooldown' (#768) 2020-06-16 19:03:28 -05:00
FloodgateKeyLoader.java Configuration updates (#653) 2020-06-10 17:58:29 -05:00
GeyserConnector.java Configuration updates (#653) 2020-06-10 17:58:29 -05:00
GeyserLogger.java Add block break sounds for blocks with 0 hardness, and refactor some things 2020-04-29 15:01:53 -05:00