Class ClientCommandEvents
java.lang.Object
net.ixdarklord.coolcatcore.api.event.v2.client.ClientCommandEvents
Client-side commands. The loaders use different command sources (Fabric's
FabricClientCommandSource,
Forge's CommandSourceStack); both are SharedSuggestionProviders, which is the type commands are
built with here. Reply through sendFeedback(net.minecraft.network.chat.Component) / sendError(net.minecraft.network.chat.Component).-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsendError(net.minecraft.network.chat.Component message) An error reply, in red.static voidsendFeedback(net.minecraft.network.chat.Component message) A message in the chat, as a command's reply.
-
Field Details
-
REGISTER
-
-
Method Details
-
sendFeedback
public static void sendFeedback(net.minecraft.network.chat.Component message) A message in the chat, as a command's reply. -
sendError
public static void sendError(net.minecraft.network.chat.Component message) An error reply, in red.
-