Перейти к основному содержанию

RubberTreeGenerator

Index

Variables

biomeData

biomeData: {}

Type declaration

    Functions

    generateRubberTree

    • generateRubberTree(region: BlockSource, x: number, y: number, z: number, random: Random, replacePlants?: boolean): void
    • Parameters

      • region: BlockSource
      • x: number
      • y: number
      • z: number
      • random: Random
      • optionalreplacePlants: boolean

      Returns void

    getBiomeChance

    • getBiomeChance(biomeID: number): number
    • Parameters

      • biomeID: number

      Returns number

    getGrowHeight

    • getGrowHeight(region: BlockSource, x: number, y: number, z: number, max: number, replacePlants: boolean): number
    • Parameters

      • region: BlockSource
      • x: number
      • y: number
      • z: number
      • max: number
      • replacePlants: boolean

      Returns number

    growRubberTree

    • growRubberTree(region: BlockSource, x: number, y: number, z: number): void
    • Parameters

      • region: BlockSource
      • x: number
      • y: number
      • z: number

      Returns void

    readRubberTreeConfig

    • readRubberTreeConfig(): void
    • Returns void

    setLeaves

    • setLeaves(region: BlockSource, x: number, y: number, z: number): void
    • Parameters

      • region: BlockSource
      • x: number
      • y: number
      • z: number

      Returns void