Class CommandUtilities

java.lang.Object
com.blamejared.crafttweaker.api.command.CommandUtilities

public final class CommandUtilities extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.logging.log4j.Logger
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    copy(net.minecraft.commands.CommandSourceStack source, String toCopy)
     
    static net.minecraft.network.chat.Component
    copy(net.minecraft.network.chat.MutableComponent base, String toCopy)
     
    static net.minecraft.network.chat.MutableComponent
     
    static net.minecraft.network.chat.MutableComponent
     
    static net.minecraft.network.chat.MutableComponent
    makeNoticeable(net.minecraft.network.chat.MutableComponent text)
     
    static void
    open(net.minecraft.commands.CommandSourceStack source, String path)
     
    static void
    open(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat, net.minecraft.network.chat.Component hover, String path)
     
    static net.minecraft.network.chat.Component
    openingUrl(net.minecraft.network.chat.MutableComponent base, String url)
     
    static void
    openLogfile(net.minecraft.commands.CommandSourceStack source)
     
    static void
    openLogFile(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat)
     
    static void
    openLogFile(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat, net.minecraft.network.chat.Component hover)
     
    static net.minecraft.network.chat.Component
    run(net.minecraft.network.chat.MutableComponent base, String command)
     
    static void
    send(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component component)
     
    static void
    sendCopying(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.MutableComponent component, String toCopy)
     
    static void
    sendCopyingAndCopy(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.MutableComponent component, String toCopy)
     

    Methods inherited from class java.lang.Object

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

    • COMMAND_LOGGER

      public static final org.apache.logging.log4j.Logger COMMAND_LOGGER
  • Method Details

    • sendCopyingAndCopy

      public static void sendCopyingAndCopy(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.MutableComponent component, String toCopy)
    • sendCopying

      public static void sendCopying(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.MutableComponent component, String toCopy)
    • send

      public static void send(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component component)
    • copy

      public static void copy(net.minecraft.commands.CommandSourceStack source, String toCopy)
    • open

      public static void open(net.minecraft.commands.CommandSourceStack source, String path)
    • openLogFile

      public static void openLogFile(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat, net.minecraft.network.chat.Component hover)
    • openLogFile

      public static void openLogFile(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat)
    • openLogfile

      public static void openLogfile(net.minecraft.commands.CommandSourceStack source)
    • open

      public static void open(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat, net.minecraft.network.chat.Component hover, String path)
    • copy

      public static net.minecraft.network.chat.Component copy(net.minecraft.network.chat.MutableComponent base, String toCopy)
    • run

      public static net.minecraft.network.chat.Component run(net.minecraft.network.chat.MutableComponent base, String command)
    • openingUrl

      public static net.minecraft.network.chat.Component openingUrl(net.minecraft.network.chat.MutableComponent base, String url)
    • getFormattedLogFile

      public static net.minecraft.network.chat.MutableComponent getFormattedLogFile()
    • makeNoticeable

      public static net.minecraft.network.chat.MutableComponent makeNoticeable(net.minecraft.network.chat.MutableComponent text)
    • makeNoticeable

      public static net.minecraft.network.chat.MutableComponent makeNoticeable(String text)