MountCheckCommand

public class MountCheckCommand extends AbstractTargetPlayerCommand

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

java.lang.Object > AbstractTargetPlayerCommand > MountCheckCommand

Field Summary

mountedComponent

final MountedComponent mountedComponent

Field mountedComponent.

Method Detail

MountCheckCommand

public public MountCheckCommand ()

Method MountCheckCommand.

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

if

public else if (mountedComponent.getMountedToBlock()

Method if.

Parameters:
mountedComponent.getMountedToBlock( mountedComponent.getMountedToBlock(