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 net.minecraft.network.chat.Component
    copy(net.minecraft.network.chat.MutableComponent base, String toCopy)
     
    static void
    copy(net.minecraft.world.entity.player.Player player, 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 net.minecraft.network.chat.Component
    open(net.minecraft.network.chat.MutableComponent base, String path)
     
    static void
    open(net.minecraft.world.entity.player.Player player, Path path)
     
    static net.minecraft.network.chat.Component
    openingFile(net.minecraft.network.chat.MutableComponent base, String path)
     
    static net.minecraft.network.chat.Component
    openingLogFile(net.minecraft.network.chat.MutableComponent base)
     
    static net.minecraft.network.chat.Component
    openingUrl(net.minecraft.network.chat.MutableComponent base, String url)
     
    static net.minecraft.network.chat.Component
    run(net.minecraft.network.chat.MutableComponent base, String command)
     
    static void
    send(net.minecraft.network.chat.Component component, net.minecraft.commands.CommandSourceStack source)
     
    static void
    send(net.minecraft.network.chat.Component component, net.minecraft.world.entity.player.Player player)
     
    static void
    sendCopying(net.minecraft.network.chat.MutableComponent component, String toCopy, net.minecraft.world.entity.player.Player player)
     
    static void
    sendCopyingAndCopy(net.minecraft.network.chat.MutableComponent component, String toCopy, net.minecraft.world.entity.player.Player player)
     
    static String
     
    static String
     

    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.network.chat.MutableComponent component, String toCopy, net.minecraft.world.entity.player.Player player)
    • sendCopying

      public static void sendCopying(net.minecraft.network.chat.MutableComponent component, String toCopy, net.minecraft.world.entity.player.Player player)
    • send

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

      public static void send(net.minecraft.network.chat.Component component, net.minecraft.world.entity.player.Player player)
    • copy

      public static void copy(net.minecraft.world.entity.player.Player player, String toCopy)
    • open

      public static void open(net.minecraft.world.entity.player.Player player, Path path)
    • stripNewLine

      public static String stripNewLine(String string)
    • stripNewLine

      public static String stripNewLine(StringBuilder string)
    • copy

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

      public static net.minecraft.network.chat.Component open(net.minecraft.network.chat.MutableComponent base, String path)
    • 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)
    • openingFile

      public static net.minecraft.network.chat.Component openingFile(net.minecraft.network.chat.MutableComponent base, String path)
    • openingLogFile

      public static net.minecraft.network.chat.Component openingLogFile(net.minecraft.network.chat.MutableComponent base)
    • 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)