Add Player Client Options API

This commit is contained in:
MiniDigger | Martin
2020-01-20 21:38:34 +01:00
parent 21792a6e4b
commit 6143a7a97b
4 changed files with 245 additions and 0 deletions

View File

@@ -3375,6 +3375,13 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
void resetCooldown();
// Paper end - attack cooldown API
// Paper start - client option API
/**
* @return the client option value of the player
*/
<T> @NotNull T getClientOption(com.destroystokyo.paper.@NotNull ClientOption<T> option);
// Paper end - client option API
// Spigot start
public class Spigot extends Entity.Spigot {