1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2026-04-20 05:51:22 +00:00
Files
CC-Tweaked/src/main
Jonathan Coates 08181f72d4 Generic peripherals for any tile entities (#478)
This exposes a basic peripheral for any tile entity which does not have methods
already registered. We currently provide the following methods:

 - Inventories: size, list, getItemMeta, pushItems, pullItems.
 - Energy storage: getEnergy, getEnergyCapacity
 - Fluid tanks: tanks(), pushFluid, pullFluid.

These methods are currently experimental - it must be enabled through 
`experimental.generic_peripherals`. While this is an initial step towards
implementing #452, but is by no means complete.
2020-06-27 10:47:31 +01:00
..
2020-06-27 01:59:35 +00:00