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

EnergyGridBuilder

Index

Functions

buildGridForTile

buildWireGrid

  • buildWireGrid(region: BlockSource, x: number, y: number, z: number): EnergyGrid
  • Parameters

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

    Returns EnergyGrid

connectNodes

onWireDestroyed

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

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

    Returns void

onWirePlaced

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

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

    Returns void

rebuildForWire

  • rebuildForWire(region: BlockSource, x: number, y: number, z: number, wireID: number): EnergyGrid
  • Parameters

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

    Returns EnergyGrid

rebuildWireGrid

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

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

    Returns void