Reborn Core is a library used for many of the Tech Reborn team's mods, including Tech Reborn, Quantum Storage, Fluxed Redstone, Hardcore Map Reset, and many more.
MIT License
43
stars
51
forks
source link
Completely move FE support to an ExternalPowerManager, removing the special case #97
This PR resolves the hardcoding issue present in the previous PR in regards to FE support, and makes FE support done completely through ExternalPowerSystems. Also, TR blocks can be configured to not charge FE items, but this has the side effect of not charging TR items since they don't support EU yet.
General list of changes:
ExternalPowerManager API modified; passes EnumFacing to isPoweredTile query, adds item to item transfer
Note: This means that TechReborn-ModCompatibility will need to be updated since these are breaking API changes
FE support fully moved to an ExternalPowerManager with RebornRegistry
Uses of getCapability(CapabilityEnergy.ENERGY) replaced with ForgePowerItemManager in StackInfoHUD and ItemUtils
This PR resolves the hardcoding issue present in the previous PR in regards to FE support, and makes FE support done completely through ExternalPowerSystems. Also, TR blocks can be configured to not charge FE items, but this has the side effect of not charging TR items since they don't support EU yet.
General list of changes: