Package org.cloudburstmc.server.command
Class CommandUtils
java.lang.Object
org.cloudburstmc.server.command.CommandUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbroadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source, String message)static voidbroadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source, String message, boolean sendToSource)static voidbroadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source, org.cloudburstmc.api.locale.TextContainer message)static voidbroadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source, org.cloudburstmc.api.locale.TextContainer message, boolean sendToSource)static floatgetPosition(String pos, float relative)static Optional<com.nukkitx.math.vector.Vector3f>parseVector3f(String[] args, com.nukkitx.math.vector.Vector3f relative)
-
Constructor Details
-
CommandUtils
public CommandUtils()
-
-
Method Details
-
parseVector3f
-
getPosition
- Throws:
IllegalArgumentException
-
broadcastCommandMessage
public static void broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source, String message) -
broadcastCommandMessage
public static void broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source, String message, boolean sendToSource) -
broadcastCommandMessage
public static void broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source, org.cloudburstmc.api.locale.TextContainer message) -
broadcastCommandMessage
public static void broadcastCommandMessage(org.cloudburstmc.api.command.CommandSender source, org.cloudburstmc.api.locale.TextContainer message, boolean sendToSource)
-