Package net.minecraft.server.commands
Class BanPlayerCommands
java.lang.Object
net.minecraft.server.commands.BanPlayerCommands
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
banPlayers(CommandSourceStack p_136565_, Collection<com.mojang.authlib.GameProfile> p_136566_, Component p_136567_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136559_)
-
Field Details
-
ERROR_ALREADY_BANNED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_BANNED
-
-
Constructor Details
-
BanPlayerCommands
public BanPlayerCommands()
-
-
Method Details
-
register
-
banPlayers
private static int banPlayers(CommandSourceStack p_136565_, Collection<com.mojang.authlib.GameProfile> p_136566_, @Nullable Component p_136567_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-