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
ConstructorsConstructorDescriptionWrappedCommand1_12_2(mods.thecomputerizer.theimpossiblelibrary.api.server.CommandAPI wrapped) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(net.minecraft.server.MinecraftServer server, net.minecraft.command.ICommandSender sender, String[] args) getName()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
-
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
-
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:
getTabCompletionsin interfacenet.minecraft.command.ICommand- Overrides:
getTabCompletionsin classnet.minecraft.command.CommandBase
-
getUsage
-