Package | Description |
---|---|
net.tridentsdk.entity.living |
Entity classes that represent various world mobs, hostile and passive, including the Player class
|
net.tridentsdk.meta |
Minecraft metadata builders and access to the underlying properties of NBT and chat
|
net.tridentsdk.server.player |
Contains implementations related to TridentPlayer and the associcated OfflinePlayer classes
|
Modifier and Type | Method and Description |
---|---|
void |
Player.setFooter(MessageBuilder builder) |
void |
Player.setHeader(MessageBuilder builder) |
Modifier and Type | Method and Description |
---|---|
MessageBuilder |
MessageBuilder.build()
Completes the building of the message, after this call no change should be made.
|
MessageBuilder |
MessageBuilder.color(ChatColor color)
Sets the text color of the message
|
MessageBuilder |
MessageBuilder.file(String file)
Makes the message a clickable link that opens a file on the player's client
|
MessageBuilder |
MessageBuilder.hover(String message)
Causes a popup to open when the the message is hovered over
|
MessageBuilder |
MessageBuilder.link(String url)
Makes the message a clickable link
|
MessageBuilder |
MessageBuilder.sendTo(Player... players)
Sends the formatted text to the specified players
|
MessageBuilder |
MessageBuilder.then(Message message)
Appends extra text to the end of this message
|
MessageBuilder |
MessageBuilder.then(String message)
Appends extra text to the end of this message
|
Modifier and Type | Method and Description |
---|---|
void |
TridentPlayer.setFooter(MessageBuilder builder) |
void |
OfflinePlayer.setFooter(MessageBuilder builder) |
void |
TridentPlayer.setHeader(MessageBuilder builder) |
void |
OfflinePlayer.setHeader(MessageBuilder builder) |
Copyright © 2016. All rights reserved.