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

IUpgrade

Implemented by

Index

Properties

type

type: string

Methods

optionalgetEnergyDemandMultiplier

  • getEnergyDemandMultiplier(item: ItemInstance, machine: TileEntity): number
  • Parameters

    • item: ItemInstance
    • machine: TileEntity

    Returns number

optionalgetExtraEnergyStorage

  • getExtraEnergyStorage(item: ItemInstance, machine: TileEntity): number
  • Parameters

    • item: ItemInstance
    • machine: TileEntity

    Returns number

optionalgetExtraTier

  • getExtraTier(item: ItemInstance, machine: TileEntity): number
  • Parameters

    • item: ItemInstance
    • machine: TileEntity

    Returns number

optionalgetProcessTimeMultiplier

  • getProcessTimeMultiplier(item: ItemInstance, machine: TileEntity): number
  • Parameters

    • item: ItemInstance
    • machine: TileEntity

    Returns number

optionalgetSpeedModifier

  • getSpeedModifier(item: ItemInstance, machine: TileEntity): number
  • Parameters

    • item: ItemInstance
    • machine: TileEntity

    Returns number

optionalonTick

  • onTick(item: ItemInstance, machine: TileEntity): void
  • Parameters

    • item: ItemInstance
    • machine: TileEntity

    Returns void