Class MessageSender

java.lang.Object
de.z0rdak.yawp.api.MessageSender

public class MessageSender extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    message(net.minecraft.world.entity.player.Player player, String msg)
     
    static void
    message(net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.MutableComponent msg)
     
    static void
    overLayMessage(net.minecraft.world.entity.player.Player player, String msg)
     
    static void
    overLayMessage(net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.MutableComponent msg)
     
    static void
    sendCmdFeedback(net.minecraft.commands.CommandSourceStack src, net.minecraft.network.chat.MutableComponent text)
     
    static void
    sendError(net.minecraft.commands.CommandSourceStack src, net.minecraft.network.chat.MutableComponent text)
     
    static void
    Sends the flag message for the given flag check event.
    static void
    sendNotification(net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.MutableComponent msg)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MessageSender

      public MessageSender()
  • Method Details

    • sendCmdFeedback

      public static void sendCmdFeedback(net.minecraft.commands.CommandSourceStack src, net.minecraft.network.chat.MutableComponent text)
    • message

      public static void message(net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.MutableComponent msg)
    • message

      public static void message(net.minecraft.world.entity.player.Player player, String msg)
    • overLayMessage

      public static void overLayMessage(net.minecraft.world.entity.player.Player player, String msg)
    • overLayMessage

      public static void overLayMessage(net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.MutableComponent msg)
    • sendError

      public static void sendError(net.minecraft.commands.CommandSourceStack src, net.minecraft.network.chat.MutableComponent text)
    • sendNotification

      public static void sendNotification(net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.MutableComponent msg)
    • sendFlagMsg

      public static void sendFlagMsg(FlagCheckResult result)
      Sends the flag message for the given flag check event.
      *
      Parameters:
      result - the flag check event to send the message for