Skip to content

StorageInterface v11

Compare
Choose a tag to compare
@MineExplorer MineExplorer released this 01 Apr 23:30
· 28 commits to master since this release

This library adds interfaces for containers and liquid storages and methods to transfer items and liquids between them.
Documentation (Russian): https://wiki.mineprogramming.org/index.php/InnerCore/Libs/StorageInterface

Changelog

  • The library supports items with negative ids
  • Added fields to StorageInterface:
  • liquidUnitRatio parameter
  • getInputTank(side)
  • getOutputTank(side)
  • receiveLiquid(liquidStorage, liquid, amount)
  • extractLiquid(liquidStorage, liquid, amount)
  • Removed fields: addLiquid. getLiquid, getLiquidStored, getLiquidStorage