public class PrefabEditCreateNewCommand extends AbstractAsyncPlayerCommand
Command for prefabeditcreatene operations. Registered with the command system and callable by players.
java.lang.Object > AbstractAsyncPlayerCommand > PrefabEditCreateNewCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
prefabBaseDirectory
final
Path
prefabBaseDirectory
Field prefabBaseDirectory.
prefabPath
final
Path
prefabPath
Field prefabPath.
prefabEditorLoadCommandSettings
final
PrefabEditorCreationSettings
prefabEditorLoadCommandSettings
Field prefabEditorLoadCommandSettings.
Method Detail
PrefabEditCreateNewCommand
public
public
PrefabEditCreateNewCommand
()
Method PrefabEditCreateNewCommand.
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