/* * * ChatUtil * * Helpful utility for pretty printing in chat in the game with different supported functions and levels * */ package jesse.keeblarcraft.Utils; import net.minecraft.server.network.ServerPlayerEntity; import net.minecraft.text.Text; public class ChatUtil { // Helpful print wrapper function static public void SendPlayerMsg(ServerPlayerEntity player, String text) { player.sendMessage(Text.literal(text)); } }