Interface CommandHelper<SOURCE extends net.minecraft.commands.SharedSuggestionProvider>
- All Known Subinterfaces:
ClientCommandHelper<SOURCE>, ServerCommandHelper
- All Known Implementing Classes:
FabricClientCommandHelper, FabricServerCommandHelper
public interface CommandHelper<SOURCE extends net.minecraft.commands.SharedSuggestionProvider>
-
Method Summary
Modifier and TypeMethodDescription<T> com.mojang.brigadier.builder.RequiredArgumentBuilder<SOURCE, T> net.minecraft.world.entity.player.Playercom.mojang.brigadier.builder.LiteralArgumentBuilder<SOURCE> voidsendFailure(SOURCE source, net.minecraft.network.chat.Component message) voidsendSystemMessage(SOURCE source, net.minecraft.network.chat.Component message)
-
Method Details
-
literal
-
argument
-
getPlayer
net.minecraft.world.entity.player.Player getPlayer(SOURCE source) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
sendSystemMessage
-
sendFailure
-