Class WrappedCommand1_12_2

java.lang.Object
net.minecraft.command.CommandBase
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.server.WrappedCommand1_12_2
All Implemented Interfaces:
Comparable<net.minecraft.command.ICommand>, net.minecraft.command.ICommand

@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public class WrappedCommand1_12_2 extends net.minecraft.command.CommandBase
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.command.CommandBase

    net.minecraft.command.CommandBase.CoordinateArg
  • Constructor Summary

    Constructors
    Constructor
    Description
    WrappedCommand1_12_2(mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI wrapped)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(net.minecraft.server.MinecraftServer server, net.minecraft.command.ICommandSender sender, String[] args)
     
     
    getTabCompletions(net.minecraft.server.MinecraftServer server, net.minecraft.command.ICommandSender sender, String[] args, net.minecraft.util.math.BlockPos pos)
     
    getUsage(net.minecraft.command.ICommandSender sender)
     

    Methods inherited from class net.minecraft.command.CommandBase

    buildString, checkPermission, compareTo, convertArgToBlockState, convertArgToBlockStatePredicate, doesStringStartWith, entityToNBT, getAliases, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandSenderAsPlayer, getEntity, getEntity, getEntityList, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getPlayers, getRequiredPermissionLevel, getTabCompletionCoordinate, getTabCompletionCoordinateXZ, isUsernameIndex, join, joinNiceString, joinNiceStringFromCollection, notifyCommandListener, notifyCommandListener, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setCommandListener, toSyntaxException

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WrappedCommand1_12_2

      public WrappedCommand1_12_2(mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI wrapped)
  • Method Details

    • execute

      public void execute(net.minecraft.server.MinecraftServer server, net.minecraft.command.ICommandSender sender, String[] args) throws net.minecraft.command.CommandException
      Throws:
      net.minecraft.command.CommandException
    • getName

      public String getName()
    • getTabCompletions

      public List<String> getTabCompletions(net.minecraft.server.MinecraftServer server, net.minecraft.command.ICommandSender sender, String[] args, @Nullable net.minecraft.util.math.BlockPos pos)
      Specified by:
      getTabCompletions in interface net.minecraft.command.ICommand
      Overrides:
      getTabCompletions in class net.minecraft.command.CommandBase
    • getUsage

      public String getUsage(net.minecraft.command.ICommandSender sender)