PrefabEditLoadCommand

public class PrefabEditLoadCommand extends AbstractAsyncPlayerCommand

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

java.lang.Object > AbstractAsyncPlayerCommand > PrefabEditLoadCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

prefabEditorLoadCommandSettings

final PrefabEditorCreationSettings prefabEditorLoadCommandSettings

Field prefabEditorLoadCommandSettings.

Method Detail

PrefabEditLoadCommand

public public PrefabEditLoadCommand ()

Method PrefabEditLoadCommand.

AbstractPlayerCommand

public new AbstractPlayerCommand (this, "server.commands.editprefab.load.desc")

Method AbstractPlayerCommand.

Parameters:
this this
"server.commands.editprefab.load.desc" "server.commands.editprefab.load.desc"

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

PrefabEditorLoadSettingsPage

public new PrefabEditorLoadSettingsPage (playerRef)

Method PrefabEditorLoadSettingsPage.

Parameters:
playerRef playerRef

executeAsync

protected CompletableFuture executeAsync (@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)

Method executeAsync.

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

PrefabEditorCreationSettings

public new PrefabEditorCreationSettings (this.prefabPathArg.get(context)

Method PrefabEditorCreationSettings.

Parameters:
this.prefabPathArg.get(context this.prefabPathArg.get(context