Package com.pixelmonmod.pixelmon.command
Class PixelCommand
java.lang.Object
com.pixelmonmod.pixelmon.command.PixelCommand
- Direct Known Subclasses:
BankTransferCommand,BattleCommand,BattleLogCommand,BattleTestsCommand,BreedCommand,CatchingCharmCommand,CheckSpawnsCommand,CompEditCommand,CompSearchCommand,CompSeeCommand,CompTakeCommand,CompTestCommand,DevScoreboardCommand,DevTempPartyCommand,DexCheckCommand,DisableBattleCommand,DoLegendarySpawnCommand,DynamaxBandCommand,EggStepsCommand,EndBattleCommand,EvolveCommand,EvsCommand,ExpCharmCommand,FaintCommand,FillCurryDexCommand,FreezeCommand,GenerateStorageTestFileCommand,GiftCommand,GiveMoneyCommand,GivePixelSpriteCommand,HatchCommand,HiddenPowerCommand,IvsCommand,LearnMoveCommand,LevellingCommand,MarkCharmCommand,MegaRingCommand,MoveListCommand,OvalCharmCommand,PcCommand,PokeBombCommand,PokeCloneCommand,PokeColorCommand,PokeDelCommand,PokeEditCommand,PokeGiveCommand,PokeKillCommand,PokeResetCommand,PokeRestartCommand,PokeRetrieveCommand,PokeSeeCommand,PokeSpawnCommand,PokeTakeCommand,RedeemFossilCommand,ReloadMoveAnimations,SetPartyCommand,ShinyCharmCommand,SpawningCommand,SpectateCommand,SpecTestCommand,StarterCommand,Stats,StatsReset,StatueSpawnCommand,TCGCommand,TeachCommand,TMCommand,TradeSimCommand,WarpPlateCommand,WikiCommand
-
Constructor Summary
ConstructorsConstructorDescriptionPixelCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) PixelCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher, String name, String usage, int permissionLevel) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanexecuteCommand(net.minecraft.commands.CommandSourceStack sender, String[] args) getName()getTabCompletions(net.minecraft.server.MinecraftServer server, net.minecraft.commands.CommandSourceStack sender, String[] args, net.minecraft.core.BlockPos pos) getUsage(net.minecraft.commands.CommandSourceStack sender) booleanhasPermissionOtherTarget(net.minecraft.commands.CommandSourceStack sender) String[]setupTargetOrSourceAsTarget(net.minecraft.commands.CommandSourceStack sender, String[] args, int playerIndex)
-
Constructor Details
-
PixelCommand
-
PixelCommand
public PixelCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher)
-
-
Method Details
-
getName
-
getUsage
-
getAliases
-
executeCommand
public boolean executeCommand(net.minecraft.commands.CommandSourceStack sender, String[] args) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
execute
public void execute(net.minecraft.commands.CommandSourceStack sender, String[] args) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getTabCompletions
public List<String> getTabCompletions(net.minecraft.server.MinecraftServer server, net.minecraft.commands.CommandSourceStack sender, String[] args, net.minecraft.core.BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
setupTargetOrSourceAsTarget
public String[] setupTargetOrSourceAsTarget(net.minecraft.commands.CommandSourceStack sender, String[] args, int playerIndex) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
hasPermissionOtherTarget
public boolean hasPermissionOtherTarget(net.minecraft.commands.CommandSourceStack sender)
-