Package de.maxbossing.maxapi.Builders
Class ActionBarBuilder
java.lang.Object
de.maxbossing.maxapi.Builders.ActionBarBuilder
Action Bar Builder
- Author:
- max
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ActionBarBuilder
Create a new action bar.- Parameters:
text- The action bars text.
-
-
Method Details
-
setText
Sets the text of the Action bar.- Parameters:
text- The text to set.
-
getText
Gets the text of the Action bar.- Returns:
- The text
-
send
public void send(org.bukkit.entity.Player player) Sends the action bar to a certain player.- Parameters:
player- The player.
-
send
Sends the action bar to a list of players.- Parameters:
players- The players.
-
sendToAll
public void sendToAll()Sends the action bar to all online players.
-