AnimatedEquipmentLayoutBuilder

Properties

Functions

Link copied to clipboard
fun cameraOverlay(ticksPerFrame: Int, interpolationMode: InterpolationMode, vararg frames: String)
fun cameraOverlay(ticksPerFrame: Int, interpolationMode: InterpolationMode, vararg frames: ResourcePath<ResourceType.Texture>)

Uses the textures under textures/<frame>.png for the camera overlay, which is an image that will be rendered over the entire screen when the player is wearing the armor and in first person mode.

fun cameraOverlay(frames: Int, ticksPerFrame: Int, interpolationMode: InterpolationMode, getCameraOverlay: (frame: Int) -> String)
@JvmName(name = "cameraOverlayResourcePath")
fun cameraOverlay(frames: Int, ticksPerFrame: Int, interpolationMode: InterpolationMode, getCameraOverlay: (frame: Int) -> ResourcePath<ResourceType.Texture>)

For each frame, getCameraOverlay supplies the textures under textures/<texture>.png to be used for the camera overlay, which is an image that will be rendered over the entire screen when the player is wearing the armor and in first person mode.

Link copied to clipboard

Defines horse equipment layers. Textures are expected to be located under textures/entity/equipment/horse_body/.

Link copied to clipboard

Defines humanoid equipment layers. Textures are expected to be located under textures/entity/equipment/humanoid/.

Link copied to clipboard

Defines humanoid leggings equipment layers. Textures are expected to be located under textures/entity/equipment/humanoid_leggings/.

Link copied to clipboard

Defines llama equipment layers. Textures are expected to be located under textures/entity/equipment/llama_body/.

Link copied to clipboard

Defines elytra equipment layers. Textures are expected to be located under textures/entity/equipment/elytra/.

Link copied to clipboard

Defines wolf equipment layers. Textures are expected to be located under textures/entity/equipment/wolf_body/.