public class StatsReset extends PixelCommand
Constructor and Description |
---|
StatsReset(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 StatsReset(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
execute
in class PixelCommand
net.minecraft.command.CommandException
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) throws com.mojang.brigadier.exceptions.CommandSyntaxException
getTabCompletions
in class PixelCommand
com.mojang.brigadier.exceptions.CommandSyntaxException