Package com.minigameworld.frames.helpers
Class MiniGamePlayerState
java.lang.Object
com.minigameworld.frames.helpers.MiniGamePlayerState
[Managed list]
joined location, health scale, health, food level, exhaustion, saturation, level, exp, inventory, potion effects, glowing, hide, game mode, fire ticks, invulnerable, silent, gravity, allow flight, flying, velocity, walk speed, fly speed, scoreboard, held item slot, bed spawn location, ender chest, cooldown items, portal cooldown
Manage player's everything
- When join the game: save state and make pure state
- When quit the game: restore saved state
[IMPORATNT]
- If add a element, check that affects to viewer
joined location, health scale, health, food level, exhaustion, saturation, level, exp, inventory, potion effects, glowing, hide, game mode, fire ticks, invulnerable, silent, gravity, allow flight, flying, velocity, walk speed, fly speed, scoreboard, held item slot, bed spawn location, ender chest, cooldown items, portal cooldown
Manage player's everything
- When join the game: save state and make pure state
- When quit the game: restore saved state
[IMPORATNT]
- If add a element, check that affects to viewer
MiniGameViewManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.bukkit.entity.Player
boolean
isSamePlayer(org.bukkit.entity.Player p)
void
void
void
-
Constructor Details
-
MiniGamePlayerState
-
-
Method Details
-
isSamePlayer
public boolean isSamePlayer(org.bukkit.entity.Player p) -
savePlayerState
public void savePlayerState() -
restorePlayerState
public void restorePlayerState() -
makePureState
public void makePureState() -
getPlayer
public org.bukkit.entity.Player getPlayer() -
equals
-