Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Storage

Index

Constructors

Properties

liquidAmounts: {}

Type declaration

  • [key: string]: number
liquidLimits: {}

Type declaration

  • [key: string]: number
tileEntity: TileEntity

Methods

  • _setContainerScale(container: UI.Container, scale: string, liquid: string, val: number): void
  • addLiquid(liquid: string, amount: number, onlyFullAmount?: boolean): number
  • Parameters

    • liquid: string
    • amount: number
    • Optional onlyFullAmount: boolean

    Returns number

  • getAmount(liquid: string): number
  • getLimit(liquid: string): number
  • getLiquid(liquid: string, amount: number, onlyFullAmount?: boolean): number
  • Parameters

    • liquid: string
    • amount: number
    • Optional onlyFullAmount: boolean

    Returns number

  • getLiquidStored(): string
  • getRelativeAmount(liquid: string): number
  • hasDataFor(liquid: string): boolean
  • isEmpty(liquid?: string): boolean
  • isFull(liquid?: string): boolean
  • setAmount(liquid: string, amount: number): void
  • setLimit(liquid: string, limit: number): void
  • updateUiScale(scale: string, liquid: string, container?: UI.Container): void

Generated using TypeDoc