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 CommandContextcontext@Nullable final RefsourceRef@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld@Nonnull final Storestore
if
public
else
if
(mountedComponent.getMountedToBlock()
Method if.
- Parameters:
mountedComponent.getMountedToBlock(mountedComponent.getMountedToBlock(