StorageDescriptor
Hierarchy
- StorageDescriptor
Index
Properties
optionalliquidUnitRatio
optionalslots
Type declaration
[key string]: SlotData
Methods
optionaladdItem
Parameters
item: ItemInstance
optionalside: number
optionalmaxCount: number
Returns number
optionalcanReceiveLiquid
Parameters
liquid: string
side: number
Returns boolean
optionalcanTransportLiquid
Parameters
liquid: string
side: number
Returns boolean
optionalextractLiquid
Parameters
liquidStorage: ILiquidStorage
liquid: string
amount: number
Returns number
optionalgetInputSlots
Parameters
optionalside: number
Returns string[] | number[]
optionalgetInputTank
Parameters
side: number
Returns ILiquidStorage
optionalgetOutputSlots
Parameters
optionalside: number
Returns string[] | number[]
optionalgetOutputTank
Parameters
side: number
Returns ILiquidStorage
optionalisValidInput
Parameters
item: ItemInstance
side: number
tileEntity: TileEntity
Returns boolean
optionalreceiveLiquid
Parameters
liquidStorage: ILiquidStorage
liquid: string
amount: number
Returns number