Blockbench Reference Docs
    Preparing search index...

    Interface TextureData

    interface TextureData {
        folder?: string;
        frame_interpolate?: boolean;
        frame_order?: string;
        frame_order_type?: "loop" | "custom" | "backwards" | "back_and_forth";
        frame_time?: number;
        group?: string;
        height?: number;
        id?: string;
        internal?: boolean;
        keep_size?: boolean;
        name?: string;
        namespace?: string;
        particle?: boolean;
        path?: string;
        pbr_channel?: "color" | "normal" | "height" | "mer";
        relative_path?: string;
        render_mode?: string;
        render_sides?: string;
        saved?: boolean;
        source?: string;
        standalone?: boolean;
        uuid?: string;
        visible?: boolean;
        width?: number;
    }
    Index

    Properties

    folder?: string

    Relative path to the file's directory, used by some formats such as Java Block/Item

    frame_interpolate?: boolean

    Interpolate between frames

    frame_order?: string

    Custom frame order

    frame_order_type?: "loop" | "custom" | "backwards" | "back_and_forth"
    frame_time?: number

    Texture animation frame time

    group?: string

    UUID of the texture group that the texture is in

    height?: number
    id?: string

    Texture ID or key, used by some formats. By default this is a number that increases with every texture that is added

    internal?: boolean

    If true, the texture is loaded internally. If false, the texture is loaded directly from a file

    keep_size?: boolean

    Flag to indicate that the texture was manually resized, and on load it should not try to automatically adjust UV size

    name?: string
    namespace?: string
    particle?: boolean

    Whether the texture is used for the models particle system. Used by some formats such as Java Block/Item

    path?: string
    pbr_channel?: "color" | "normal" | "height" | "mer"
    relative_path?: string
    render_mode?: string
    render_sides?: string
    saved?: boolean

    Whether the texture is saved

    source?: string
    standalone?: boolean
    uuid?: string
    visible?: boolean
    width?: number