copyIcon

fun copyIcon(packConfig: Pack<*, *, *>)

Copies the server-icon.png into server pack. The sever-icon is automatically scaled to a resolution of 64x64 pixels.

Author

Griefed

Parameters

packConfig

Containing the modpack directory to acquire the destination of the server pack and the path to the server icon to copy.


abstract fun copyIcon(destination: String, pathToServerIcon: String)

Copies the server-icon.png into server pack. The sever-icon is automatically scaled to a resolution of 64x64 pixels.

Author

Griefed

Parameters

destination

The destination where the icon should be copied to.

pathToServerIcon

The path to the custom server-icon.