Player.tip

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

  1. void sendTip(E args)
  2. alias tip = sendTip
    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