Namespace LiquidRegistry

Functions

  • Parameters

    • liquidId: string

    Returns number

    Numeric ID of the liquid block by given LiquidRegistry string ID.

    This function will return 0 if no liquid with given string ID exists.

    2.2.1b102

  • Parameters

    • liquidId: string
    • isStatic: boolean

      static liquid block ID will be returned, otherwise the dynamic block ID will be returned

    Returns number

    Numeric ID of the liquid block by given LiquidRegistry string ID.

    This function will return 0 if no liquid with given string ID exists.

    2.2.1b103

  • Parameters

    • id: number
    • data: number

    Returns {
        data: number;
        id: number;
        liquid: string;
    }

    • data: number
    • id: number
    • liquid: string
  • Parameters

    • id: number
    • data: number
    • liquid: string

    Returns {
        data: number;
        id: number;
    }

    • data: number
    • id: number
  • Parameters

    • id: number
    • data: number

    Returns string

  • Parameters

    • id: number

    Returns Nullable<string>

    String ID of a liquid for given block, or null, if a block with given ID is not a liquid.

    2.2.1b102

  • Parameters

    • key: string
    • width: number
    • height: number

    Returns string

  • Parameters

    • liquid: string
    • blockId: number
    • isDynamic: boolean

    Returns void

    2.2.1b102

  • Parameters

    • liquid: string
    • empty: {
          data: number;
          id: number;
      }
      • data: number
      • id: number
    • full: {
          data: number;
          id: number;
      }
      • data: number
      • id: number

    Returns void

  • Parameters

    • key: string
    • Optionalname: string
    • OptionaluiTextures: string[]
    • OptionalmodelTextures: string[]

    Returns void

Variables

LiquidByBlock: {
    [blockId: number]: string;
}

2.2.1b102

liquids: {
    [key: string]: LiquidData;
}

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