Commit graph

345 commits

Author SHA1 Message Date
Rseifert
0b132c19ce Fixed Pump power drain 2013-02-12 06:22:00 -05:00
Henry Mao
60db5c252e Update src/minecraft/liquidmechanics/resource/lang/en_US.properties 2013-02-12 11:31:13 +08:00
Henry Mao
2af185d795 Fixed wrong creative tab name 2013-02-12 11:30:23 +08:00
Rseifert
9d312ea04d Starting to create my own fluid network
will be similar to Calclavia's UE network for power except it uses
LiquidStack instead of watts.
2013-02-08 02:04:18 -05:00
Rseifert
17698f7fda build 16 2013-02-04 23:10:06 -05:00
Rseifert
6c1b16c5f4 Fixed Sink + Cleanedup imports
corrected sink item stack lose plus fixed potion to have a volume of 250
when used with my machines. Will take this a step better later to fix it
for all mods installed with my mod to correct the volume diffrence.
2013-02-03 20:45:40 -05:00
Rseifert
a7683ab2fd Sink Fixes? version bump
version bump just due to api changes.
Also i made a fix for the sink but have yet to test it should work since
its exactly the same as the cauldran but with meta turned into
liquidstack volume
2013-02-03 19:28:26 -05:00
Rseifert
3c0a93ed22 Moved -> Files & Fixed API
This screws up the history tab but save me soo much time
2013-02-02 19:36:19 -05:00
Rseifert
a57f3f9268 api changes and bug fixes
Fixed: Liquid register event
Fixed? Bucket and Vile stack lose on filling
Added: IPipe interface to help ID pipes
Added? Pipe drip effects
2013-02-01 16:59:14 -05:00
Rseifert
5075a97d10 Adding new liquids
Since oilcraft died and it was going to provid Oil/Fuel support i will
now be adding that to this mod. Other features like burning the fules
for energy will be added to steampower on a later date.

*reoginized api, will do some more of this later to make things easier
*added finite still and flowing liquid prefab class to the api folder
*added: oil, still ahve to add it in game
*added: milk, still have to add it in game
2013-01-23 20:30:50 -05:00
Rseifert
dda6237c89 Added wrench support and removed debug
forgot to remove a debug message for placement of meta for the pump
*Added: wrench rotation support for sink
*Added: wrench rotation support for pump
*Fixed: pump delay and reduce its time
2013-01-23 05:00:15 -05:00
Rseifert
ec8971b627 Pump Crafting change 2013-01-22 17:59:10 -05:00
Rseifert
f47c3b528c Changed the pump
*Set a new model for the water pump
*removed other liquid types from the pump, will change this back later
*removed the pumps liquid storage ablity, it will now directly pump
water to a container behind it
*changed wire connection to two side
*changed pipe connections to one side
*fixed infinite water glitch were you could pump a flowing block
2013-01-22 17:18:55 -05:00
Rseifert
eb923b84db Added sink block
simple, nicer looking way of filling buckets, water viels, cleaning
color off of armor.
2013-01-22 03:36:59 -05:00
Rseifert
79eb211126 bug Fixes
*corrected pipes connection issue with generic tanks
*corrected liquid lose when tank would try to create flow in pipes on
top or bottom side depending on liquid type.
*corrected the release valve crafting receipe
2013-01-18 08:09:05 -05:00
Rseifert
f1b03a167c miror corrections
Nothing major but every little bug needs fixed too.
2013-01-15 03:09:34 -05:00
Rseifert
2273dc425e Face Palm moment
Last few release due to my fail to bug check to most simple of things
the pipe nothing would function. Turns out that i fliped the checks on
the fill liquid method.

Also fixed more issues with crafting recipes, i really need someone to
sit and bug test my mods for me. It always seem i'm too focused on the
current part to check the rest for failures.
2013-01-15 00:52:07 -05:00
Rseifert
f493c4b4f2 Fixed Crafting
Forgot to make a crafting for all the pipes, also fixed and rebalanced
some receipes.
2013-01-11 22:30:41 -05:00
Rseifert
6db9138c5a Finally fixed names
took me all week too get the name to work for the lang file but now
there done. Still not sure why they didn't work, most likely i should
find out but meh. Also:
*Added a way to ID Milk if someone adds it to minecraft as a liquid
block, might make it into a block later if not don by LiQuid.
*Change: ColorCode and LiquidHandler method to work a little better so i
don't have to manual change each liquid that is added to the LiquidData
2013-01-09 21:52:52 -05:00
Rseifert
8b1179699f Added model to release valve
Model is not fully done since i want to get the valve to set on diffrent
faces when the top is in use. Also want it to rotate a bit when powered
by redstone.

Also worked on connectionHelper and switch a few of the itemRenders to
an actual itemRenderHelper so they look nice in the inventory and in the
players hand.
2013-01-07 15:19:00 -05:00
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
42474bc8ec getting Closer to being done
I'm getting closer to making this mod more universal for all liquids.
Right now after a bit of coding i can say i have:
*Fixed Pipes
*Fixed Tanks
*Removed Mengenta as a color(no need for another simi red/pinkish color)
*Create a IColor interface for future use with other color selective
blocks
*Created a object feed version of get for PipeColor so you can use
numbers, Strings, or LiquidData to ID a color. Useful for
setColor(Object obj)
*Worked on some textures however i need to either make a better model
for tanks or find a texture artist for help
*Found the tank model files so they can be edited

Issues still to be worked on
*Lang file, still item names are not working
*Release Valve
*Pipe Changer tool, not sure if i should use a GUI with the tool or have
15 color brushs. The ladder seems wasteful
*Block, and bucket for Waste Liquid
*Textures need some help, especial Tanks so i can add the rest of the
colored version to the creative menu
*Crafting for all Pipes, Tanks, and items need redone or added for the
new system
*Pumps needs reworked to have a diffrent version for lava,water, and
large area pumping. Small version for filling system, large for draining
source pools for constuction. Lava pump will fall under large. Might add
an oil pump, or create one for oil craft using the same design.
*Tanks still need to be tested and fixed to create pressure for Pipes if
side == down and liquid || side == up and gas
*LiquidHandler needs worked on to pre catch and add liquids to the
allowed List similar to how e methain, oil, fuel are register.
2013-01-06 22:24:28 -05:00
Rseifert
183dc35c47 more Changes
*added Name to the color Enum
*added a new liquid call Waste liquid
*added effect for mixing liquids in pipes
*stored+filling=outcome
*lava+water = obby
*water+lava=cobble
*other+other=waste liquid
*Improve pipe render and create 14 new pipe textures
*Improved Tank render and creates some new textures
*Fixed lang file for all Blocks, items still don't work
*Fixed save issue using Compent Tags to save liquids
*Fixed Universal Pipe working with pumps
*Removed: Some crafting recipes plus fixed others
*Removed: Item version of pipe,tank, though a similar version is used
just for naming as a BlockItem
*Bug: Tanks don't work at all
2013-01-06 00:13:09 -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
Rseifert
77de6e6353 Making Changes for the better
Starting down the long road of making my mod even more compatable with
other mod's liquids. This will take some time, patience, and pain
killers.

Plan of action
*Release Valve will not store any liquids but rather direction output to
pipes from other TileEntities
*Release Valve will have a gui to restrict it to outputing one or more
types of Liquids that are predefined
*Pipes will go from being fully liquid restricted to color based(0-15)
and have a universal uncolor pipe that can accept all liquids
*Once a pipe is place a tool can be used to change its color just like
in other mods.
*Some colors will be restricted to select liquids for example Blue is
water, Red is Lava, Black is oil, Yellow Fuel, White Milk,
*Steam will have its own pipe made out of bronze to fit the machines it
goes too.
*Tanks will go in the same direction
*Pumps will still be liquid restricted but come with unique textures,
models, and animation per liquid type

Current issues to resolve that are broken with push
*Release valve doesn't work at all due to changes in progress
*back compatable must be added for pipes and old release valves
2013-01-04 19:03:34 -05:00
Henry Mao
cd45492d2d Create README.md 2013-01-04 08:37:31 -08:00
Rseifert
a536dda462 Model upload
Can't find the pump model but that doesn't mater its getting redone.
LargePipe is the current pipe model
Pipe is the old crappy one
EValve was a rough idea for a model for the release valve
Generator is the current, old one is missing
2013-01-04 11:11:20 -05:00
Rseifert
a3c43609ea Got rid of Enum system
What i have is not much diffrent but its a start to allowing more liquid
types without having to add them myself. The current method has 3
defualt liquids that are preset. The new system also uses String names
to ID liquid instead of Enums. A new class Called LiquidData will keep
track of the data need to ID, and use the Liquids.

In the process i also fixed a few crafting recipes that were
removed/messed up in a patch a while back.

Plan for new system
*Have default liquid type that come with textures/renders
*Have several univeral pipes that can accept all Liquid types
*Have a way of placeing a universal pipe and then converting to a
regulated pipe, pipe that only take one liquid type
*Have a tool for doing the above
*Change the release Valve to be univeral with a GUI to restrict flow and
Liquid type extracted
2013-01-03 12:18:47 -05:00
Rseifert
6401261e19 Basic Upload before i break everything
Ok i'm going to make an attempt to change how everything works. Before i
do that let backup the code.
2013-01-03 09:58:19 -05:00
Rseifert
a1ed4a5a4d BugFix: Fixed Tanks to drain correctly
Though it was the release valve but it turns out the Storage tanks
needed coding to drain themselves after giving the release valve the
liquid ammount present.

Other than that the rest of the changes are just renaming from past push
2013-01-03 07:34:57 -05:00
Rseifert
3eb57983d2 Pushing code changed by Calc
Have yet to find all the changes but so far
Bug: Release Valve creates infinite stream
2013-01-02 13:55:29 -05:00
Rseifert
e1a095be34 version change :p
nothing inportant just checking if everything is synced
2012-12-25 23:30:03 -05:00
Rseifert
558ed1bda8 Face Lift
Added: Item Render for Pipe
Added: Item Render for Tank
Changed: Improve motor model
Changed: Tank vol to use global var
Disabled: Motor rotation( tempary)
Fixed: Pick Block for all blocks except pipe which picks to steam pipe
etc etc normal cleanup and derps
2012-12-24 00:20:30 -05:00
Rseifert
f2c04a007d update to 1.4.6 lol
Nothing really change for updating to 1.4.5 to 1.4.6 only had to fix 3
errors related to UE Vector3. However i did correct a config file bug as
well as fix pump wire connect to work better.
2012-12-23 07:27:58 -05:00
Rseifert
5787f65148 Reformating, and rebalance of tanks, Final 1.4.5
Did some file changes to make finding things easier
Added: Custom creative tab
Changed: File root system, :p to many files
Changed: Tank liquid trade method to balance out instead of full trade
Changed: the packet update rate of the Tank to try to fix Render Lag
Fixed: Tank Render so Liquid levels can be seen
BugIgnorable: uneven levels of liquid will not show up on tank render
but are present
BugIgnorable: eValve names sometime glitch and call all instances Empty
XXX
TODO: Fix Textures, and add model for eValve
TODO: Finish One way valve
TODO: Finish OIL,STEAM,FUEL liquid/gas blocks
2012-12-23 05:28:26 -05:00
Rseifert
b9b23fc63f Recipes,Names, and Liquid tank fixes
Fixed: the pipes having the same name as eValves
Fixed: Liquid tank trading system
Fixed: Tank being full and not filling next tank
Fixed: empty version of things showing up for Liquid type default
Added: eValve recipes
CleanedUP: Recipes, and convered most # to enum data to make things
easier to read
2012-12-23 04:26:36 -05:00
Rseifert
c93aa22dfe Almost done with 1.4.5 update
Everything is now converted to Forge Liquid API system. Everything also
works too some degree, but more bug testing is need.

Fixed: Issue with pump pumping none still sources
Fixed: Issue with EValve no getting powered on map load
ReAdded: StorageTank
etc etc minor cleanup, changes, stuff
2012-12-23 02:49:37 -05:00
Rseifert
2ca16920ec fixed issues, and finished preversion of eValve
fixed some issues with pipes but the main change is the addition of the
extractor valve(better name to come). This valve cause a machine to
start to output liqiud to basic Utilities pipes at a pressure so they
work. The Valve can also be turned off by redstone input to act as a
output control of storage tanks.
2012-12-22 08:46:23 -05:00
Rseifert
494d98bb05 where do i begin
I've made a mess of changes since last upload. Main big change is change
in forge file formate that merged minecraft and common folder. The other
is the complete rewrite to Forge Liquid api. So far only the pump,
boiler, and pipe are converted to the new system. The pipe will actual
not fully work with most machines since it can't drain liquids out of
machines. In future update there will be a block to do this called a
pipe pump. Other than those changes nothing much is diffrent.
2012-12-22 04:44:17 -05:00
Rseifert
a688f25511 Change how Pipe Guage works
Changed it so that the block being clicked on now supplies the custom
readout message. This way each block can have its own message instead of
a general one for the TE type.
2012-12-07 13:09:27 -05:00
Rseifert
680203f2b6 more rewriting of the base mod
most of this is just continued rewrites in an attempt to better the mod.
Some of the basic changes are:
removed HeatProducer / merged it with IProducer
removed Liquid from some of the interfaces name
renamed IMehcanical to IForce
moved around files
add generator from steampower to where it should be
and finally normal ctrl+shift+f formating
2012-12-02 00:30:56 -05:00
Rseifert
e70f8c52c9 bug fixes
fixed pipes not trading liquid to lower presure pipes
fixed a pump  issue that caused it to no have presure or connected
correctly
2012-11-14 13:58:33 -05:00
Rseifert
28f62284a0 moved over from other repo
got around to moving this so Calc could help me with the clean up of it.
So far i havn't changed much but will soon. The main focus for the next
week on the mod will be just cleanup and bug fixing. I will also be
moving the motor from steam power to here. The mod has alos been renamed
since now it contains more than just pipes.
2012-11-14 13:16:22 -05:00