Player.tip

Sends a tip message that will be displayed above the hotbar for two seconds before fading out.

class Player
alias tip = sendTip

Examples

player.sendTip("Hello there!");
@event move(PlayerMoveEvent event) {
   with(event.position)
      event.player.sendTip(Format.green, x, ", ", y, ", ", z);
}

Meta