ValidateCPBCommand

public class ValidateCPBCommand extends AbstractAsyncCommand

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

java.lang.Object > AbstractAsyncCommand > ValidateCPBCommand

Field Summary

path

final String path

Field path.

failed

final List failed

Field failed.

stream

final Stream stream

Field stream.

futures

final CompletableFuture[] futures

Field futures.

message

final String message

Field message.

Method Detail

ValidateCPBCommand

public public ValidateCPBCommand ()

Method ValidateCPBCommand.

executeAsync

protected CompletableFuture executeAsync (@Nonnull final CommandContext context)

Method executeAsync.

Parameters:
@Nonnull final CommandContext context

convertPrefabs

public > convertPrefabs (context, PathUtil.get(path)

Method convertPrefabs.

Parameters:
context context
PathUtil.get(path PathUtil.get(path

if

public else if (message.contains("Unable to load entity with model ")

Method if.

Parameters:
message.contains("Unable to load entity with model "

Exception

public new Exception ("Failed to load " + String.valueOf(path)

Method Exception.

Parameters:
"Failed to load " + String.valueOf(path