Package emu.grasscutter.command.commands
Class GiveAllCommand
java.lang.Object
emu.grasscutter.command.commands.GiveAllCommand
- All Implemented Interfaces:
CommandHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when a player/console invokes a command.voidgiveAllItems(Player player, int amount) booleanisTestAvatar(int avatarId) booleanisTestItem(int itemId)
-
Constructor Details
-
GiveAllCommand
public GiveAllCommand()
-
-
Method Details
-
execute
Description copied from interface:CommandHandlerCalled when a player/console invokes a command.- Specified by:
executein interfaceCommandHandler- Parameters:
sender- The player/console that invoked the command.args- The arguments to the command.
-
giveAllItems
-
isTestAvatar
public boolean isTestAvatar(int avatarId) -
isTestItem
public boolean isTestItem(int itemId)
-