Interface FeedbackSender
public interface FeedbackSender
-
Method Summary
Modifier and TypeMethodDescriptionvoidbasic(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> command, String translationKey, Object... args) voidvoidstyled(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> command, net.minecraft.network.chat.Style style, String translationKey, Object... args) voidstyled(net.minecraft.server.level.ServerPlayer targetPlayer, net.minecraft.network.chat.Style style, String translationKey, Object... args) intthrowFailure(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> command, String translationKey, Object... args)
-
Method Details
-
throwFailure
int throwFailure(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> command, String translationKey, Object... args) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
basic
-
basic
-
styled
-
styled
-