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.
convertPrefabs
public
>
convertPrefabs
(context, PathUtil.get(path)
Method convertPrefabs.
- Parameters:
contextcontextPathUtil.get(pathPathUtil.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