Geyser/connector/src/main/java/org/geysermc/connector/network/translators
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
..
bedrock Add 1.9+ PvP 'Cooldown' (#768) 2020-06-16 19:03:28 -05:00
effect Large refactoring to item translator and registry/util classes 2020-05-24 20:07:05 -05:00
inventory Show villager display name 2020-06-06 00:04:05 -04:00
item Fix maps not loading in sometimes (#758) 2020-06-15 14:24:52 -04:00
java Add 1.9+ PvP 'Cooldown' (#768) 2020-06-16 19:03:28 -05:00
sound Large refactoring to item translator and registry/util classes 2020-05-24 20:07:05 -05:00
world Fix block entities on older versions (#756) 2020-06-10 18:02:29 -05:00
BiomeTranslator.java Large refactoring to item translator and registry/util classes 2020-05-24 20:07:05 -05:00
EntityIdentifierRegistry.java Large refactoring to item translator and registry/util classes 2020-05-24 20:07:05 -05:00
ItemRemapper.java Implement Updated Item Translator (#388) 2020-04-22 16:26:16 -05:00
PacketTranslator.java Update license headers 2020-01-08 21:05:42 -06:00
PacketTranslatorRegistry.java Add ServerPlayerListDataPacket to ignored packets (#755) 2020-06-10 17:52:07 -05:00
Translator.java Begin making translators annotation based 2020-03-23 23:03:33 -05:00