Class CommandUtilities
java.lang.Object
com.blamejared.crafttweaker.api.command.CommandUtilities
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.network.chat.Componentstatic voidstatic 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 net.minecraft.network.chat.Componentstatic voidstatic net.minecraft.network.chat.ComponentopeningFile(net.minecraft.network.chat.MutableComponent base, String path) static net.minecraft.network.chat.ComponentopeningLogFile(net.minecraft.network.chat.MutableComponent base) static net.minecraft.network.chat.ComponentopeningUrl(net.minecraft.network.chat.MutableComponent base, String url) static net.minecraft.network.chat.Componentstatic voidsend(net.minecraft.network.chat.Component component, net.minecraft.commands.CommandSourceStack source) static voidsend(net.minecraft.network.chat.Component component, net.minecraft.world.entity.player.Player player) static voidsendCopying(net.minecraft.network.chat.MutableComponent component, String toCopy, net.minecraft.world.entity.player.Player player) static voidsendCopyingAndCopy(net.minecraft.network.chat.MutableComponent component, String toCopy, net.minecraft.world.entity.player.Player player) static StringstripNewLine(String string) static StringstripNewLine(StringBuilder string)
-
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
-
open
-
stripNewLine
-
stripNewLine
-
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
-