Commit graph

4490 commits

Author SHA1 Message Date
Henry Mao
a4a54a784a Removed unused APIs 2013-01-08 16:56:52 +08: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
Henry Mao
dbe53cbe41 Fixed minor bugs 2013-01-06 17:20:11 +08: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
Henry Mao
cb22292c9a Encoder Texture Update 2013-01-06 02:22:42 +08:00
Henry Mao
25c417322e AS 0.2.2 Release 2013-01-06 00:57:28 +08: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
Henry Mao
41de6381e1 Fixed Imprinter Crafting 2013-01-06 00:33:07 +08:00
Henry Mao
589290c463 Fixed imprinter outputing only stacks of one 2013-01-06 00:03:41 +08:00
Henry Mao
23e432ac23 Added own creative tab 2013-01-05 23:19:56 +08:00
Henry Mao
0d978d5de4 Fixed Encoder Gui Render Issues 2013-01-05 23:07:35 +08:00
Henry Mao
351478ade7 Fixed crates connecting to wires 2013-01-05 12:09:04 +08: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
Brian Ricketts
9e528c8461 Fixed manipulator's "self-pulse" mode not being saved to the world data 2013-01-04 12:32:31 -06:00
Brian Ricketts
698847dfcd Semi-"hacky" fix for belt rotation getting out of sync between client
and server
2013-01-04 12:29:32 -06:00
Brian Ricketts
cb6cc049d2 Fixed duplication bug 2013-01-04 12:20:53 -06: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
Henry Mao
16d9bd48cd Build Bump 2013-01-05 00:10:40 +08:00
Henry Mao
2d3de9991c Added command subtraction 2013-01-05 00:08:16 +08:00
Henry Mao
f9ed7dbf60 Fixed oversized Gui and made packets work 2013-01-05 00:05:19 +08:00
Henry Mao
f2e0290c14 Removed useless variables 2013-01-04 23:26:46 +08:00
Rseifert
07d2c768b1 reMade the rejector model
not 100% done but will work on it more later and re push with textures.
Also might edit render code as well.
2013-01-04 09:19:53 -05:00
Henry Mao
6d8edae19f Added packet 2013-01-04 12:40:51 +08:00
Henry Mao
410e2c1c27 Moved tasks into commands 2013-01-04 12:32:24 +08:00
Henry Mao
be43631eae Version Bump 2013-01-04 12:26:59 +08:00
Henry Mao
1bd9e9096c Added Recipes 2013-01-04 12:25:40 +08:00
Henry Mao
180a811afa Format and Refactor 2013-01-04 12:24:31 +08:00
Henry Mao
4f1bd2ef73 Added Armbot Model Code 2013-01-04 12:16:49 +08:00
Brian Ricketts
8323cee352 Pretty sure this commit was to fix crates not obeying ISided, but I'm not quite sure... 2013-01-03 22:06:36 -06: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
Brian Ricketts
84c74bc589 Worked on encoder more
Also made Disks only show the number of commands on them
2013-01-02 14:12:27 -06: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
Brian Ricketts
e7a0d11263 More work on Encoder GUI 2012-12-30 23:45:53 -06:00
Brian Ricketts
f50698c57d Fixed filters and disks stacking (and messing up NBT data) 2012-12-30 15:45:34 -06:00
Brian Ricketts
433b06ea55 Started adding the programmer for the arm (it and disks need textures!) 2012-12-30 15:43:13 -06:00
Brian Ricketts
0ec1fd449d Promoted recommended build 0.2.1 #40 2012-12-30 00:48:23 -06:00
Brian Ricketts
35f73a7fff Yeah, that last commit didn't work. 2012-12-30 00:41:11 -06:00
Brian Ricketts
788b325312 Potential fix for tubes not obeying filters 2012-12-30 00:24:38 -06:00
Brian Ricketts
d0131218d8 Merge branch 'master' of https://github.com/calclavia/Assembly-Line
Conflicts:
	buildlocal.bat
2012-12-29 23:45:15 -06:00
Brian Ricketts
8491d8c6e6 Made a script based on "publish.bat" that simply packs a local-only test build 2012-12-29 23:43:34 -06:00
Brian Ricketts
0c5498ecb7 Made a script based on "publish.bat" that simply packs a local-only test build 2012-12-29 23:42:19 -06:00
Brian Ricketts
90024ad8c2 Crates now support imprints
(Code formatter comment max. length set to 9999 too...)
2012-12-29 23:39:17 -06:00
Brian Ricketts
2e9e4d0381 Detector is now rotatable 2012-12-29 22:39:46 -06:00