PlayerStatsSetCommand

public class PlayerStatsSetCommand extends AbstractTargetPlayerCommand

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

java.lang.Object > AbstractTargetPlayerCommand > PlayerStatsSetCommand

Field Summary

newStatValue

final int newStatValue

Field newStatValue.

entityStat

final String entityStat

Field entityStat.

Method Detail

PlayerStatsSetCommand

public public PlayerStatsSetCommand ()

Method PlayerStatsSetCommand.

execute

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

Method execute.

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