Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Storage

Index

Constructors

constructor

Properties

liquidAmounts

liquidAmounts: {}

Type declaration

  • [key: string]: number

liquidLimits

liquidLimits: {}

Type declaration

  • [key: string]: number

tileEntity

tileEntity: TileEntity

Methods

_setContainerScale

  • _setContainerScale(container: Container, scale: string, liquid: string, val: number): void

addLiquid

  • addLiquid(liquid: string, amount: number, onlyFullAmount?: boolean): number
  • Parameters

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

    Returns number

getAmount

  • getAmount(liquid: string): number

getLimit

  • getLimit(liquid: string): number

getLiquid

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

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

    Returns number

getLiquidStored

getParent

getRelativeAmount

  • getRelativeAmount(liquid: string): number

hasDataFor

  • hasDataFor(liquid: string): boolean

isEmpty

  • isEmpty(liquid?: string): boolean

isFull

  • isFull(liquid?: string): boolean

setAmount

  • setAmount(liquid: string, amount: number): void

setLimit

  • setLimit(liquid: Nullable<string>, limit: number): void

setParent

updateUiScale

  • updateUiScale(scale: string, liquid: string, container?: Container): void

Generated using TypeDoc