use of net.minecraft.text.Text in project dynmap by webbukkit.
the class FabricCommandSender method sendMessage.
@Override
public void sendMessage(String msg) {
if (sender != null) {
Text ichatcomponent = new LiteralText(msg);
sender.sendFeedback(ichatcomponent, false);
}
}
use of net.minecraft.text.Text in project dynmap by webbukkit.
the class FabricServer method broadcastMessage.
@Override
public void broadcastMessage(String msg) {
Text component = new LiteralText(msg);
server.getPlayerManager().broadcastChatMessage(component, true);
Log.info(stripChatColor(msg));
}
use of net.minecraft.text.Text in project dynmap by webbukkit.
the class FabricPlayer method sendMessage.
@Override
public void sendMessage(String msg) {
Text ichatcomponent = new LiteralText(msg);
player.sendMessage(ichatcomponent);
}
use of net.minecraft.text.Text in project dynmap by webbukkit.
the class FabricServer method broadcastMessage.
@Override
public void broadcastMessage(String msg) {
Text component = new LiteralText(msg);
server.getPlayerManager().broadcastChatMessage(component, true);
Log.info(stripChatColor(msg));
}
use of net.minecraft.text.Text in project dynmap by webbukkit.
the class FabricServer method broadcastMessage.
@Override
public void broadcastMessage(String msg) {
Text component = new LiteralText(msg);
server.getPlayerManager().broadcast(component, MessageType.SYSTEM, Util.NIL_UUID);
Log.info(stripChatColor(msg));
}
Aggregations