Skip to content

ConvertPrefabsCommand

Package: com.hypixel.hytale.server.core.command.commands.utility

public class ConvertPrefabsCommand extends AbstractAsyncCommand
ModifierTypeName
private static finalStringUNABLE_TO_LOAD_MODEL
private static finalStringFAILED_TO_FIND_BLOCK
private static finalintBATCH_SIZE
private static finallongDELAY_BETWEEN_BATCHES_MS
ModifierReturn TypeSignature
publicConvertPrefabsCommand()
protectedCompletableFuture<Void>executeAsync(@Nonnull CommandContext context)
privatevoidsendCompletionMessages(@Nonnull CommandContext context, @Nonnull Path assetPath, @Nonnull List<String> failed, @Nonnull List<String> skipped)
privateCompletableFuture<Void>convertPath( @Nonnull Path assetPath, boolean blocks, boolean filler, boolean relative, boolean entities, boolean destructive, @Nonnull List<String> failed, @Nonnull List<String> skipped )
privateCompletableFuture<Void>processPrefabsInBatches( @Nonnull List<Path> prefabPaths, boolean blocks, boolean filler, boolean relative, boolean entities, boolean destructive, @Nullable CompletableFuture<World> conversionWorldFuture, @Nonnull List<String> failed, @Nonnull List<String> skipped )
privateCompletableFuture<Void>processPrefab( @Nonnull Path path, boolean blocks, boolean filler, boolean relative, boolean entities, boolean destructive, @Nullable CompletableFuture<World> conversionWorldFuture, @Nonnull List<String> failed, @Nonnull List<String> skipped )
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.