Class representing model used by BlockRenderer.

Constructors

Methods

Constructors

Methods

  • Adds new box to the model using specified block's textures.

    Parameters

    • x1: number
    • y1: number
    • z1: number
    • x2: number
    • y2: number
    • z2: number
    • id: number
    • data: number

    Returns void

  • Adds new box to the model using specified textures for the six sides of the box.

    Parameters

    • x1: number
    • y1: number
    • z1: number
    • x2: number
    • y2: number
    • z2: number
    • descr: ModelTextureSet

    Returns void

  • Adds new box to the model using specified block texture name and ID.

    Parameters

    • x1: number
    • y1: number
    • z1: number
    • x2: number
    • y2: number
    • z2: number
    • texName: string
    • texId: number

    Returns void

  • Adds new block with specified block's textures.

    Parameters

    • id: number
    • Optionaldata: number

    Returns void

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