HotbarSwitchCommand

public class HotbarSwitchCommand extends AbstractPlayerCommand

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

java.lang.Object > AbstractPlayerCommand > HotbarSwitchCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

hotbarManager

final HotbarManager hotbarManager

Field hotbarManager.

Method Detail

HotbarSwitchCommand

public public HotbarSwitchCommand ()

Method HotbarSwitchCommand.

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