Class ClientSchematicLoader
java.lang.Object
com.simibubi.create.content.schematics.client.ClientSchematicLoader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<net.minecraft.network.chat.Component> static booleanisGZIPEncoded(File file) Checks if a given file is GZIP-encoded by checking its header, of which the first two bytes should contain the magic number (0x1F, 0x8B)voidrefresh()voidstartNewUpload(String schematic) voidtick()static booleanvalidateSizeLimitation(long size)
-
Field Details
-
PACKET_DELAY
public static final int PACKET_DELAY- See Also:
-
-
Constructor Details
-
ClientSchematicLoader
public ClientSchematicLoader()
-
-
Method Details
-
tick
public void tick() -
startNewUpload
-
validateSizeLimitation
public static boolean validateSizeLimitation(long size) -
isGZIPEncoded
Checks if a given file is GZIP-encoded by checking its header, of which the first two bytes should contain the magic number (0x1F, 0x8B) -
refresh
public void refresh() -
getAvailableSchematics
-