Esempio n. 1
0
 public boolean start() {
   return (player.feed()
       && player.clearXP()
       && player.clearPotionEffects()
       && player.heal()
       && player.setGameMode(GameMode.SURVIVAL));
 }
Esempio n. 2
0
 public boolean sendToStartPoint() {
   return (player.setGameMode(GameMode.ADVENTURE)
       && teleport(getStartPoint().getLocation())
       && player.renew());
 }