public class NPCGiveCommand extends NPCWorldCommandBase
Command for npcgiv operations. Registered with the command system and callable by players.
java.lang.Object > NPCWorldCommandBase > NPCGiveCommand
Field Summary
item
final
Item
item
Field item.
itemName
final
String
itemName
Field itemName.
Method Detail
NPCGiveCommand
public
public
NPCGiveCommand
()
Method NPCGiveCommand.
GiveNothingCommand
public
new
GiveNothingCommand
()
Method GiveNothingCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final NPCEntity npc, @Nonnull final World world, @Nonnull final Store store, @Nonnull final Ref ref)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final NPCEntitynpc@Nonnull final Worldworld@Nonnull final Storestore@Nonnull final Refref