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:
thisthis"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 CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
PrefabEditorLoadSettingsPage
public
new
PrefabEditorLoadSettingsPage
(playerRef)
Method PrefabEditorLoadSettingsPage.
- Parameters:
playerRefplayerRef
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 CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
PrefabEditorCreationSettings
public
new
PrefabEditorCreationSettings
(this.prefabPathArg.get(context)
Method PrefabEditorCreationSettings.
- Parameters:
this.prefabPathArg.get(contextthis.prefabPathArg.get(context