public class WorldMessageChannel extends Object implements MessageChannel
World
.TO_ALL, TO_CONSOLE, TO_NONE, TO_PLAYERS
Constructor and Description |
---|
WorldMessageChannel(World world)
|
Modifier and Type | Method and Description |
---|---|
Collection<MessageReceiver> |
getMembers()
Gets a collection of all members in this channel.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asMutable, combined, combined, fixed, fixed, permission, send, send, send, send, transformMessage, world
public WorldMessageChannel(World world)
world
- The world to targetpublic Collection<MessageReceiver> getMembers()
MessageChannel
getMembers
in interface MessageChannel