public class JsonChatEvent
extends org.bukkit.event.Event
Constructor and Description |
---|
JsonChatEvent(org.bukkit.entity.Player p,
java.lang.String chat,
java.util.Set<org.bukkit.entity.Player> recipients) |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
java.lang.String |
getMessage() |
org.bukkit.entity.Player |
getPlayer() |
java.util.Set<org.bukkit.entity.Player> |
getRecipients()
Grab the recipients.
|
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
void |
setMessage(java.lang.String message) |
void |
setRecipients(java.util.Set<org.bukkit.entity.Player> recipients)
Set the recipients.
|
public JsonChatEvent(org.bukkit.entity.Player p, java.lang.String chat, java.util.Set<org.bukkit.entity.Player> recipients)
public java.util.Set<org.bukkit.entity.Player> getRecipients()
public void setRecipients(java.util.Set<org.bukkit.entity.Player> recipients)
recipents
- The set of recipients.public org.bukkit.entity.Player getPlayer()
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public boolean isCancelled()
public void setCancelled(boolean cancel)
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()