Class v1_8_R3

java.lang.Object
fr.xxathyx.mediaplayer.actionbar.v1_8_R3
All Implemented Interfaces:
ActionBar

public class v1_8_R3 extends Object implements ActionBar
The v1_8_R3 class implements ActionBar, it can only be defined once if the server is running under this version, see ActionBarVersion.getActionBar().
Since:
2021-08-23
Version:
1.0.0
Author:
Xxathyx
  • Constructor Details

    • v1_8_R3

      public v1_8_R3()
  • Method Details

    • send

      public void send(org.bukkit.entity.Player player, String text)
      Description copied from interface: ActionBar
      Send a message through the player Action Bar.

      This is the same as calling

      invalid @link
      org.bukkit.entity.Player.Spigot#sendMessage(net.md_5.bungee.api.chat.BaseComponent, net.md_5.bungee.api.chat.TextComponent)
      on the servers that are running under spigot with the latest Minecraft versions.
      Specified by:
      send in interface ActionBar
      Parameters:
      player - The targeted player of the message.
      text - The message that will be sent to the targeted player.