Class CommandUtilities
java.lang.Object
com.blamejared.crafttweaker.api.command.CommandUtilities
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic net.minecraft.network.chat.Componentstatic net.minecraft.network.chat.MutableComponentstatic net.minecraft.network.chat.MutableComponentmakeNoticeable(String text) static net.minecraft.network.chat.MutableComponentmakeNoticeable(net.minecraft.network.chat.MutableComponent text) static voidstatic voidopen(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat, net.minecraft.network.chat.Component hover, String path) static net.minecraft.network.chat.ComponentopeningUrl(net.minecraft.network.chat.MutableComponent base, String url) static voidopenLogfile(net.minecraft.commands.CommandSourceStack source) static voidopenLogFile(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat) static voidopenLogFile(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component chat, net.minecraft.network.chat.Component hover) static net.minecraft.network.chat.Componentstatic voidsend(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.Component component) static voidsendCopying(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.MutableComponent component, String toCopy) static voidsendCopyingAndCopy(net.minecraft.commands.CommandSourceStack source, net.minecraft.network.chat.MutableComponent component, String toCopy)
-
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
-
open
-
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
-