public interface PlayerModifications
Such modifications might trigger false positives, this is why this class exists.
Modifier and Type | Method and Description |
---|---|
default boolean |
canFly(Player player)
Indicates whether the given player is permitted to fly.
|
default String |
getDisplayname() |
default boolean |
isProtected(Player player,
Entity damager)
Indicates whether the given player can be damaged by the given entity.
|
default boolean |
isSpeedUnlocked(Player player)
Indicates whether the given player can move as fast as they want.
|
default boolean |
shouldIgnoreMovementChecks(Player player)
Indicates whether the given player's movements should not be checked
|
default String getDisplayname()
default boolean isProtected(Player player, Entity damager)
Implementors might need to use more context, like the player location, to determine if they are in a region of a world that protects them for example.
default boolean canFly(Player player)
default boolean isSpeedUnlocked(Player player)
default boolean shouldIgnoreMovementChecks(Player player)