Blockbench Reference Docs
    Preparing search index...

    Interface TextureEditOptions

    interface TextureEditOptions {
        edit_name?: string;
        method?: "canvas" | "jimp";
        no_undo?: boolean;
        no_undo_finish?: boolean;
        no_undo_init?: boolean;
        no_update?: boolean;
        use_cache?: boolean;
    }
    Index

    Properties

    edit_name?: string

    Name of the undo entry that is created

    method?: "canvas" | "jimp"

    Edit method. 'canvas' is default

    no_undo?: boolean

    If true, no undo point is created. Default is false

    no_undo_finish?: boolean
    no_undo_init?: boolean
    no_update?: boolean

    If true, the texture is not updated visually

    use_cache?: boolean

    Whether to use the cached canvas/jimp instance