com.mojang.realmsclient.client.worldupload

public class RealmsUploadWorldPacker

fhu
com.mojang.realmsclient.client.worldupload.RealmsUploadWorldPacker
net.minecraft.class_10237
net.minecraft.client.realms.util.UploadCompressor

Field summary

Modifier and TypeField
private static final long
a
SIZE_LIMIT
field_54368
MAX_SIZE
private static final String
b
WORLD_FOLDER_NAME
field_54369
field_54369
private final BooleanSupplier
c
isCanceled
field_54370
cancellationSupplier
private final Path
d
directoryToPack
field_54371
directory

Constructor summary

ModifierConstructor
private (Path directory, BooleanSupplier cancellationSupplier)

Method summary

Modifier and TypeMethod
public static File
a(Path arg0, BooleanSupplier arg1)
pack(Path arg0, BooleanSupplier arg1)
method_64342(Path arg0, BooleanSupplier arg1)
compress(Path directory, BooleanSupplier cancellationSupplier)
private File
a()
tarGzipArchive()
method_64340()
run()
private void
a(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream arg0, Path arg1, String arg2, boolean arg3)
addFileToTarGz(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream arg0, Path arg1, String arg2, boolean arg3)
method_64343(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream arg0, Path arg1, String arg2, boolean arg3)
compress(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream stream, Path directory, String prefix, boolean root)
private void
a(long arg0)
verifyBelowSizeLimit(long arg0)
method_64341(long arg0)
validateSize(long size)