Package net.minecraft.command.impl
Class OpCommand
- java.lang.Object
-
- net.minecraft.command.impl.OpCommand
-
public class OpCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_ALREADY_OP
-
Constructor Summary
Constructors Constructor Description OpCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
opPlayers(CommandSource p_198542_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198542_1_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198541_0_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198541_0_)
-
opPlayers
private static int opPlayers(CommandSource p_198542_0_, java.util.Collection<com.mojang.authlib.GameProfile> p_198542_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-