ModelCommand

public class ModelCommand extends AbstractPlayerCommand

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

java.lang.Object > AbstractPlayerCommand > ModelCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

targetPlayerRef

final PlayerRef targetPlayerRef

Field targetPlayerRef.

ref

final Ref ref

Field ref.

store

final Store store

Field store.

world

final World world

Field world.

modelAsset

final ModelAsset modelAsset

Field modelAsset.

model

final Model model

Field model.

skinComponent

final PlayerSkinComponent skinComponent

Field skinComponent.

playerSkinComponent

final PlayerSkinComponent playerSkinComponent

Field playerSkinComponent.

cosmeticsModule

final CosmeticsModule cosmeticsModule

Field cosmeticsModule.

scale

final Float scale

Field scale.

newModel

final Model newModel

Field newModel.

newModel2

final Model newModel2

Field newModel2.

Method Detail

ModelCommand

public public ModelCommand ()

Method ModelCommand.

ModelOtherCommand

public new ModelOtherCommand ()

Method ModelOtherCommand.

ModelSetCommand

public new ModelSetCommand ()

Method ModelSetCommand.

ModelResetCommand

public new ModelResetCommand ()

Method ModelResetCommand.

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

ChangeModelPage

public new ChangeModelPage (playerRef)

Method ChangeModelPage.

Parameters:
playerRef playerRef

executeSync

protected void executeSync (@Nonnull final CommandContext context)

Method executeSync.

Parameters:
@Nonnull final CommandContext context

ModelSetOtherCommand

public new ModelSetOtherCommand ()

Method ModelSetOtherCommand.

ModelComponent

public new ModelComponent (model)

Method ModelComponent.

Parameters:
model model

ModelResetOtherCommand

public new ModelResetOtherCommand ()

Method ModelResetOtherCommand.