public class DevScoreboardCommand extends PixelCommand
Constructor and Description |
---|
DevScoreboardCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.command.CommandSource> dispatcher) |
Modifier and Type | Method and Description |
---|---|
void |
execute(net.minecraft.command.CommandSource sender,
java.lang.String[] args) |
java.lang.String |
getName() |
int |
getRequiredPermissionLevel() |
java.util.List<java.lang.String> |
getTabCompletions(net.minecraft.server.MinecraftServer server,
net.minecraft.command.CommandSource sender,
java.lang.String[] args,
net.minecraft.util.math.BlockPos pos) |
java.lang.String |
getUsage(net.minecraft.command.CommandSource sender) |
getAliases, hasPermissionOtherTarget, setupTargetOrSourceAsTarget
public DevScoreboardCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.command.CommandSource> dispatcher)
public java.lang.String getName()
getName
in class PixelCommand
public java.lang.String getUsage(net.minecraft.command.CommandSource sender)
getUsage
in class PixelCommand
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class PixelCommand
public void execute(net.minecraft.command.CommandSource sender, java.lang.String[] args) throws net.minecraft.command.CommandException, com.mojang.brigadier.exceptions.CommandSyntaxException
execute
in class PixelCommand
net.minecraft.command.CommandException
com.mojang.brigadier.exceptions.CommandSyntaxException
public java.util.List<java.lang.String> getTabCompletions(net.minecraft.server.MinecraftServer server, net.minecraft.command.CommandSource sender, java.lang.String[] args, net.minecraft.util.math.BlockPos pos)
getTabCompletions
in class PixelCommand