Class GiveMoneyCommand
java.lang.Object
com.pixelmonmod.pixelmon.command.PixelCommand
com.pixelmonmod.pixelmon.command.impl.econ.GiveMoneyCommand
Gives an amount of money to a player.
-
Constructor Summary
ConstructorDescriptionGiveMoneyCommand
(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.command.PixelCommand
executeCommand, getAliases, getName, getUsage, hasPermissionOtherTarget, setupTargetOrSourceAsTarget
-
Constructor Details
-
GiveMoneyCommand
public GiveMoneyCommand(com.mojang.brigadier.CommandDispatcher<net.minecraft.commands.CommandSourceStack> dispatcher)
-
-
Method Details
-
execute
public void execute(net.minecraft.commands.CommandSourceStack sender, String[] args) throws net.minecraft.commands.CommandRuntimeException, com.mojang.brigadier.exceptions.CommandSyntaxException - Overrides:
execute
in classPixelCommand
- Throws:
net.minecraft.commands.CommandRuntimeException
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 - Overrides:
getTabCompletions
in classPixelCommand
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-