CursedHeldItemCommand

public class CursedHeldItemCommand extends AbstractPlayerCommand

Command for cursedheldite operations. Registered with the command system and callable by players.

java.lang.Object > AbstractPlayerCommand > CursedHeldItemCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

inventory

final Inventory inventory

Field inventory.

inHandItemStack

final ItemStack inHandItemStack

Field inHandItemStack.

adventureMeta

final AdventureMetadata adventureMeta

Field adventureMeta.

edited

final ItemStack edited

Field edited.

Method Detail

CursedHeldItemCommand

public public CursedHeldItemCommand ()

Method CursedHeldItemCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world