public class CommandUtils extends Object
| Constructor and Description |
|---|
CommandUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source,
String message) |
static void |
broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source,
String message,
boolean sendToSource) |
static void |
broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source,
org.cloudburstmc.api.locale.TextContainer message) |
static void |
broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source,
org.cloudburstmc.api.locale.TextContainer message,
boolean sendToSource) |
static float |
getPosition(String pos,
float relative) |
static Optional<com.nukkitx.math.vector.Vector3f> |
parseVector3f(String[] args,
com.nukkitx.math.vector.Vector3f relative) |
public static Optional<com.nukkitx.math.vector.Vector3f> parseVector3f(String[] args, com.nukkitx.math.vector.Vector3f relative)
public static float getPosition(String pos, float relative) throws IllegalArgumentException
IllegalArgumentExceptionpublic static void broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source,
String message)
public static void broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source,
String message,
boolean sendToSource)
public static void broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source,
org.cloudburstmc.api.locale.TextContainer message)
public static void broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source,
org.cloudburstmc.api.locale.TextContainer message,
boolean sendToSource)
Copyright © 2021. All rights reserved.