Package net.minecraft.command.impl
Class BanCommand
- java.lang.Object
-
- net.minecraft.command.impl.BanCommand
-
public class BanCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_BANNED
-
Constructor Summary
Constructors Constructor Description BanCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
banPlayers(CommandSource p_198236_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198236_1_, ITextComponent p_198236_2_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198235_0_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198235_0_)
-
banPlayers
private static int banPlayers(CommandSource p_198236_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198236_1_, @Nullable ITextComponent p_198236_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-