Commit graph

4 commits

Author SHA1 Message Date
Rseifert
064ef38db9 changes/fixed stuff
*Finished basic version of new release valve
*Fixed a tank render issue
*Changed PipeColor to ColorCode
2013-01-07 11:37:13 -05:00
Rseifert
1e5c47ad3f nothing much
Moved some stuff around, and made LiquidHandler able to be used in the
api folder to help other people work with this mod. The api is not
actual needed to work with this mod but it contains helpers to make life
easier.

Also added a method to LiquidHandler to get the name of a LiquidStack
which for some reason can't be directly gotten from the liquidStack
itself. Too get it i had to iterate over the hashMap used to store
liquids. If the LiquidStack is linked to a LiquidData it will use the
LiquidData name first.

Also removed PipeInstance since its not actual needed anymore now that
PipeColor is directly linked the pipe as well as the PipeBlock metadata.
2013-01-06 23:15:21 -05:00
Rseifert
b9833f6327 more changes of the last
Still working on moving everything over to my new system. So far i've
got it mostly done for the tank and pipe though i have no way to test
them yet.

I would list the change but meh its break time, i'm tired and the code
says everything

Things that are still broken
*Lang file
*release Valve
*pipe
*Tank
*Some crafting
2013-01-05 15:05:53 -05:00
Rseifert
30c461bbea more changes
Still working on converting to a more universal liquid system.
*Added a enum to tack colors without having to use strings or #s
*Fixed LiquidData to not need to feed a LiquidData to get vars of itself
*Started Converting Pipes to new system. They will use metadata now to
select colors, this will remove any need to use packets.
*Created a Update Converter so that older version pipe/tank/etc will be
converted to the new system automaticly

Issues with push
*Just about everything is broken at the moment just backing code up
2013-01-05 11:47:53 -05:00