StaticEquipmentLayerBuilder

Properties

Functions

Link copied to clipboard
fun dyeable(defaultColor: Color?)

Makes the armor layer dyeable, using the defaultColor if undyed. Setting defaultColor to null makes undyed armor layers invisible.

Link copied to clipboard
fun emissivityMap(emissivityMap: String)

Ues the emissivity map under textures/entity/equipment/<type>/<texture>.png. The emissivity map is used to determine the brightness of the layer.

fun emissivityMap(emissivityMap: ResourcePath<T>)

Ues the emissivity map under assets/<namespace>/textures/entity/equipment/<type>/<texture>.png. The emissivity map is used to determine the brightness of the layer.

Link copied to clipboard
fun texture(texture: String, usePlayerTexture: Boolean = false)

Uses the texture under textures/entity/equipment/<type>/<texture>.png, where texture is defined by texture and type is the current entity type.

fun texture(texture: ResourcePath<T>, usePlayerTexture: Boolean = false)

Uses the texture under assets/<namespace>/textures/entity/equipment/<type>/<texture>.png, where namespace and texture are defined by texture and type is the current entity type.