Player.sendTip

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

  1. void sendTip(E args)
    class Player
    void
    sendTip
    (
    E...
    )
    ()
  2. alias tip = sendTip

Examples

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

Meta