public class PrefabEditSaveAsCommand extends AbstractAsyncPlayerCommand
Command for prefabeditsavea operations. Registered with the command system and callable by players.
java.lang.Object > AbstractAsyncPlayerCommand > PrefabEditSaveAsCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
uuid
final
UUID
uuid
Field uuid.
prefabEditSessionManager
final
PrefabEditSessionManager
prefabEditSessionManager
Field prefabEditSessionManager.
prefabEditSession
final
PrefabEditSession
prefabEditSession
Field prefabEditSession.
prefabSaverSettings
final
PrefabSaverSettings
prefabSaverSettings
Field prefabSaverSettings.
prefabRootPath
final
Path
prefabRootPath
Field prefabRootPath.
selectedPrefab
final
PrefabEditingMetadata
selectedPrefab
Field selectedPrefab.
selection
final
BlockSelection
selection
Field selection.
Method Detail
PrefabEditSaveAsCommand
public
public
PrefabEditSaveAsCommand
()
Method PrefabEditSaveAsCommand.
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