Interface RenderParameters

An interface of the object that is used as Render.constructor parameter.

interface RenderParameters {
    item?: number;
    name?: string;
    raw?: boolean;
    scale?: number;
    skin?: string;
}

Properties

item?: number

Item ID for Item Sprite render type.

name?: string

Name of the cached Render object to be used.

Unavailable feature, renderers must be saved independently.

raw?: boolean

If set to true, a humanoid render is constructed, empty otherwise.

scale?: number

Render scale multiplier.

skin?: string

Relative path to the texture used by render, e.g. "textures/entity/zombie.png".

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.