Commit graph

3296 commits

Author SHA1 Message Date
Krapht
618e04a910 Merge branch 'master' into FacadesRefactor 2012-07-18 17:40:22 +02:00
SirSengir
a617ef9ef9 Moved power framework API to new format. 2012-07-18 17:17:10 +02:00
SirSengir
4078a8367c Refactored LiquidTank to be an interface, added fill and drain functions. 2012-07-18 13:42:51 +02:00
Krapht
ef3f12d333 Fixed display power sync, liquid sync still broken 2012-07-18 02:26:34 +02:00
SirSengir
6ac8ec1db6 Moved assembly table recipes to API. 2012-07-17 22:40:36 +02:00
SirSengir
8bf5f2b703 Added function to set liquid on LiquidTank.java 2012-07-17 21:28:56 +02:00
SirSengir
305947fe66 Converted refinery, tank and pump to use ITankContainer. 2012-07-17 18:21:11 +02:00
SirSengir
45a4c299dd Completing new API for liquids. 2012-07-17 17:49:05 +02:00
Krapht
24e342abbc Adds sync to renderstate (works in SMP), however, pipe-content sync is now broken, as are any gate interfaces for gates that you have not placed yourself. Also fixes autarchic gates being converted to non-autarchic gates. 2012-07-17 00:12:15 +02:00
Krapht
68a911f36a Fixed hardcoded texturefile 2012-07-16 17:48:06 +02:00
Krapht
6138cd3811 Merge branch 'FacadesRefactor' of github.com:SirSengir/BuildCraft into FacadesRefactor 2012-07-16 01:26:01 +02:00
Krapht
86115c745b Removed redundant placeholder image 2012-07-16 01:24:29 +02:00
Krapht
5c450bf0cf Massive change to Pipe baseclasses which will require substantial refactorings of submods, minor refactorings and general dogfooding 2012-07-16 01:23:19 +02:00
Krapht
cd4dfad71b Add refresh renderstate to Wood and Iron logic for input/output direction switching 2012-07-16 00:59:14 +02:00
SirSengir
2f33943438 Tank liquids drop down into empty tanks below. 2012-07-15 23:00:35 +02:00
SirSengir
53cc613c9f Merge branch 'master' of github.com:SirSengir/BuildCraft 2012-07-15 22:24:51 +02:00
SirSengir
45a4449c1c Fixed incorrect bucket registrations, liquid container handling. Closes #105 2012-07-15 22:23:40 +02:00
Kyprus
eb5fb522e1 Fixed assembly table lasers not showing up in SSP.
Closes #89
2012-07-15 14:55:06 -04:00
SirSengir
40a5536edf Merge pull request #104 from psxlover/AssemblyTableNPE
NPE on assembly table.
2012-07-15 10:56:31 -07:00
psxlover
1033d817ab Fixed an null pointer exception when clicking an empty slot in the recipes of the assembly table reported by iamamitten. 2012-07-15 20:52:52 +03:00
psxlover
44d166f382 Set the brightness before rendering a marker.
Should fix issue #73
2012-07-15 19:44:25 +03:00
Krapht
eb78ff7efa Fixed z-fighting issue on the inside of hollow facades and reduced the offset a bit to reduce long-range fighting 2012-07-15 02:24:10 +02:00
Krapht
f112d90363 Pipes now drop the Facades when destroyed 2012-07-15 02:09:52 +02:00
Krapht
9840c0e406 Moved facade adding to onItemUseFirst() in order to be able to add them to pipes with gates 2012-07-15 01:37:50 +02:00
Krapht
ebe9e3a020 Shift clicking a facade with facade equipped will now remove the facade from the pipe 2012-07-15 01:32:00 +02:00
Krapht
c8aa189aa8 First implementation of hollow facades + some generic rotation code. Known issue: wrong parts of textures are displaying on some hollow facade directions 2012-07-15 01:12:19 +02:00
SirSengir
8b8471fca2 Fixed infinite fuel production. 2012-07-14 18:04:30 +02:00
SirSengir
760dcf1d17 Cleaned up code. 2012-07-14 17:12:52 +02:00
SirSengir
8653702e84 Steam engines accept vanilla fuels again. 2012-07-14 17:06:00 +02:00
SirSengir
6566cae096 Merge pull request #99 from CovertJaguar/patch-2
Added putting liquid in the tank from non-standard capacity containers.
2012-07-14 07:54:31 -07:00
SirSengir
977988e5b2 Merge branch 'master' of github.com:SirSengir/BuildCraft 2012-07-14 16:48:14 +02:00
SirSengir
503e1242c5 Merge pull request #98 from CovertJaguar/patch-1
Added support for non-standard capacity liquid container filling.
2012-07-14 16:47:47 +02:00
CovertJaguar
74d4be1b11 Fixed liquid id. 2012-07-14 07:37:31 -07:00
CovertJaguar
18ba26eff2 Added ability to put liquid in the tank from non-standard capacity containers. 2012-07-14 07:33:54 -07:00
SirSengir
29b074acf5 Merge pull request #98 from CovertJaguar/patch-1
Added support for non-standard capacity liquid container filling.
2012-07-14 06:56:57 -07:00
CovertJaguar
5e5c3dba08 Added support for non-standard capacity liquid container filling. 2012-07-14 06:11:40 -07:00
SirSengir
69412830a7 Merge branch 'master' of github.com:SirSengir/BuildCraft
Conflicts:
	common/net/minecraft/src/buildcraft/api/recipes/RefineryRecipe.java
2012-07-14 14:33:55 +02:00
SirSengir
639aceb5d9 Fixed refinery recipes not working. Closes #95. 2012-07-14 14:32:12 +02:00
SirSengir
90cc4999d4 Stopping gates from updating client side. 2012-07-14 11:25:17 +02:00
SirSengir
a9674e6c24 Fixed refinery recipes not working. 2012-07-14 09:18:04 +02:00
Krapht
f6e9377bc5 Do not render the structure support pipe if the pipe is connected in that direction, Added AssemblyTable recipes for all facades, Made using facades decrese the stacksize, Made replacing a facade pop off the previous one, 2012-07-14 00:40:16 +02:00
SirSengir
a0a542a669 Merge branch 'FacadesRefactor' of github.com:SirSengir/BuildCraft into FacadesRefactor 2012-07-13 22:28:36 +02:00
SirSengir
7dbd03e34c Merge branch 'master' into FacadesRefactor 2012-07-13 22:23:36 +02:00
Krapht
db1619c416 Merge branch 'FacadesRefactor' of github.com:SirSengir/BuildCraft into FacadesRefactor
Conflicts:
	buildcraft_client/net/minecraft/src/buildcraft/transport/PipeWorldRenderer.java
	buildcraft_client/net/minecraft/src/mod_BuildCraftCore.java
	buildcraft_client/net/minecraft/src/mod_BuildCraftTransport.java
	common/net/minecraft/src/BuildCraftTransport.java
	common/net/minecraft/src/buildcraft/transport/PipeRenderState.java
	common/net/minecraft/src/buildcraft/transport/TileGenericPipe.java
2012-07-13 22:05:38 +02:00
Krapht
1df6245237 Implemented facades.
Still to do:
Proper names
Hollow facades
Bounding boxes
Crafing recipe (assembly table?)
Look into multiple bounding boxes for pipes to be able to access stuff through the gaps
2012-07-13 21:55:26 +02:00
Krapht
8365d1ca35 Rewrote pipe world renderer to render from a state object instead of containing logic to calculate what to render. This state object can then be synced to the client to completely overwrite the client's view of the world 2012-07-13 21:55:25 +02:00
Krapht
19c4de5a1c Refactoring of PipeWorldRenderer and initial commit of PipeRenderState 2012-07-13 21:55:25 +02:00
Krapht
eec4aa0323 Pulled the pipe world renderer out of core and put it in transport, also made the actual rendering a class of its own. Legacy world rendering not touched (quarry frames) 2012-07-13 21:55:25 +02:00
Krapht
9758782f19 Moved the rendering of Pipe items from mod_BuildcraftTransport to its own class 2012-07-13 21:55:24 +02:00
SirSengir
604fa62374 Merge branch 'master' of github.com:SirSengir/BuildCraft 2012-07-12 14:33:59 +02:00