Interface MessageConsumer


public interface MessageConsumer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final MessageConsumer
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    error(String message)
     
    default void
    error(net.minecraft.network.chat.Component message)
     
    ofBroadcastCommandSource(net.minecraft.commands.CommandSourceStack stack)
     
    ofCommandSource(net.minecraft.commands.CommandSourceStack stack)
     
    default void
    status(String message)
     
    default void
    status(net.minecraft.network.chat.Component message)
     
    default void
    tell(String message)
     
    void
    tell(net.minecraft.network.chat.Component message)
     
  • Field Details

  • Method Details

    • ofCommandSource

      static MessageConsumer ofCommandSource(net.minecraft.commands.CommandSourceStack stack)
    • ofBroadcastCommandSource

      static MessageConsumer ofBroadcastCommandSource(net.minecraft.commands.CommandSourceStack stack)
    • tell

      void tell(net.minecraft.network.chat.Component message)
    • tell

      default void tell(String message)
    • status

      default void status(net.minecraft.network.chat.Component message)
    • status

      default void status(String message)
    • error

      default void error(net.minecraft.network.chat.Component message)
    • error

      default void error(String message)