ModuleCategory

class ModuleCategory @JvmOverloads constructor(val tag: String, val inclusionGroup: OptionalInclusion? = null, val icon: Identifier? = null) : Tagged

Parameters

icon

an SVG or PNG shown by the ClickGUI, namespace:path for resources/<namespace>/<path> in the add-on's jar. Not Minecraft's assets/: those are visible to anything inspecting the loaded resource packs. The built-in categories have their icons in the theme instead.

Constructors

Link copied to clipboard
constructor(tag: String, inclusionGroup: OptionalInclusion? = null, icon: Identifier? = null)
constructor(tag: String, icon: Identifier)

Properties

Link copied to clipboard
val icon: Identifier?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val tag: String
Link copied to clipboard