MatchPlayer

public class MatchPlayer

Constructors

Link copied to clipboard
public void MatchPlayer(Player player, Location previousLocation, Location fallbackLocation, GameMode previousGameMode, MatchInstance matchInstance, int lives, MatchPlayer.MatchPlayerType matchPlayerType)

Types

Link copied to clipboard
public class MatchPlayerEvents implements Listener
Link copied to clipboard
public enum MatchPlayerType

Properties

Link copied to clipboard
public MatchPlayer.DeathLocation deathLocation
Link copied to clipboard
public final Location fallbackLocation
Link copied to clipboard
public int lives
Link copied to clipboard
Link copied to clipboard
public static HashMap<UUID, MatchPlayer> matchPlayers
Link copied to clipboard
public final Player player
Link copied to clipboard
public final GameMode previousGameMode
Link copied to clipboard
public final Location previousLocation

Functions

Link copied to clipboard
public void createDeathLocation()
Link copied to clipboard
public MatchPlayer.DeathLocation getDeathLocation()
Link copied to clipboard
public Location getFallbackLocation()
Link copied to clipboard
public int getLives()
Link copied to clipboard
Link copied to clipboard
public static MatchPlayer getMatchPlayer(Player player)
Link copied to clipboard
public Player getPlayer()
Link copied to clipboard
public GameMode getPreviousGameMode()
Link copied to clipboard
public Location getPreviousLocation()
Link copied to clipboard
public void removeMatchPlayer()
Link copied to clipboard
public void revive()
Link copied to clipboard
public void sendMessage(String message)
Link copied to clipboard
public void sendTitle(String title, String subtitle)
public void sendTitle(String title, String subtitle, int fadeIn, int stay, int fadeOut)
Link copied to clipboard
public void setLives(int lives)
Link copied to clipboard
public void setMatchPlayerType(MatchPlayer.MatchPlayerType matchPlayerType)
Link copied to clipboard
public void teleport(Location location)