Commit graph

1787 commits

Author SHA1 Message Date
CovertJaguar
9daec45638 Fixed perdition issues 2013-07-01 15:26:57 -07:00
CovertJaguar
af89a9470b Power API Take 3 2013-07-01 14:21:51 -07:00
CovertJaguar
3a8c0f95c8 Significant rework of API
Moved everything not needed out of API package.
Rewrote BlockHandler and BlockSchematic to be more NBT dependant.
2013-07-01 05:40:51 -07:00
CovertJaguar
9262324160 Fix pipe plug select box + fill/drain
It should now be possible to add plugs to adjacent pipes without
breaking either pipe.
2013-07-01 00:44:38 -07:00
CovertJaguar
3cdcf094db Added color modifier support to Facades 2013-06-30 23:21:55 -07:00
CovertJaguar
670c2684e7 Fix Iron Engine heat issues 2013-06-30 17:52:57 -07:00
CovertJaguar
4a1469a055 Convert TileQuarry and EntityRobot to new API
Note this breaks the builder.
2013-06-30 17:49:20 -07:00
CovertJaguar
705798b744 Fix Iron Engine heat issues 2013-06-30 17:44:47 -07:00
CovertJaguar
6cdf94b109 First iteration of BlueprintBuilder
Some significant hurdles remain to be overcome in regard to how the
BlueprintBuilder interacts with EntityRobot.

Also, rotation and builder positioning is a massive headache that still
needs to be tackled.
2013-06-30 06:09:44 -07:00
CovertJaguar
2e4f27ba6a Merged Power into Builder 2013-06-30 00:48:33 -07:00
CovertJaguar
fd73836a67 Add Blueprint and Serialization
Also renabled the Builder for testing purposes.
2013-06-30 00:46:15 -07:00
CovertJaguar
88b98d044b Cleaned up buffer code a bit.
Just headers and stuff, and moved one of the slots out of the container
because it might be useful for other stuff.
2013-06-29 18:59:04 -07:00
SandGrainOne
370c33ee70 Adding FilteredBuffer 2013-06-29 19:03:36 +02:00
Zero
700fc14b85 Optimized image files. Saved 72.80 KB (47.86%) 2013-06-29 09:25:39 -04:00
CovertJaguar
b1041e19d6 Some minor bits 2013-06-29 03:22:55 -07:00
CovertJaguar
593d889468 Fixed Legacy code 2013-06-29 02:21:54 -07:00
CovertJaguar
f92576ed36 Forgot a minor bit the alt impl 2013-06-29 01:37:41 -07:00
CovertJaguar
b25b08c827 Engine rewrite
Killed Engine class, merged into TileEngine and subclasses.
Converted to Forge rotation API.
Split heat from stored energy and set proper temp bounds.
Rewrote IronEngineCoolant API, changed to degree based temp reductions
(its 0.0025 times the previous values). Added support for solid coolants
(they have to melt into a liquid coolant, like Ice to Water).
There is a commented out alternative implementation for constant power
output instead of pulsed.
2013-06-29 01:33:21 -07:00
Krapht
8867512f38 Removed crafting/Creative inventory for Blueprints, Architect table and blueprint library 2013-06-28 20:36:02 +02:00
SirSengir
365d9a27d6 Fix determination of crafting equivalency.
Items can be registered with multiple ore ids in the OreDictionary. A direct comparison of the ore ids may fail in that case.
2013-06-28 20:05:48 +02:00
CovertJaguar
f9374eb0e5 Fixed Wooden Item and Liquid Pipes 2013-06-27 14:33:33 -07:00
CovertJaguar
c8db1dcb19 Merge branch 'master' into power 2013-06-27 13:49:31 -07:00
CovertJaguar
12de71213a Convert Pipe Icon Prov to enum
And fixed a issue with the PowerProvider casting objects to TileEntities
that aren't TileEntities. Fixed by adding a getWorldObj() function to
IPowerReceptor.
2013-06-27 13:10:01 -07:00
SirSengir
01c4767727 Merge branch 'master' of github.com:BuildCraft/BuildCraft 2013-06-27 17:36:04 +02:00
SirSengir
3601df84df Changes for 3.7.1 build. 2013-06-27 17:35:40 +02:00
Christian
b17655da52 Fix output dir grrr 2013-06-26 17:05:11 -04:00
Christian
93c296326f Tweaks 2013-06-26 16:59:18 -04:00
Christian
804ef7458b Allow longer name building 2013-06-26 16:56:34 -04:00
CovertJaguar
42181dbc7f Remove min check on receive
The check broke pipes
2013-06-26 08:50:25 -07:00
CovertJaguar
1d7e160d2f Some cleanup 2013-06-26 08:35:34 -07:00
CovertJaguar
080a4d6ca4 Added bounds checks for set 2013-06-26 08:22:19 -07:00
CovertJaguar
fe6d2e6b3a Add some Javadocs 2013-06-26 08:02:05 -07:00
CovertJaguar
2b5dc5c9ff Minor stuff 2013-06-26 07:29:32 -07:00
CovertJaguar
b92c81f638 Changes for KL and cpw
Added set/add for KL

Added perdition calculator for cpw
2013-06-26 07:26:07 -07:00
CovertJaguar
91a3ac95c6 Don't need to pass receptor, already have it 2013-06-25 20:54:21 -07:00
CovertJaguar
5cc052fdbb Merge pull request #973 from viliml/patch-4
Update BlockQuarry.java
2013-06-25 20:39:33 -07:00
CovertJaguar
2d281c56d1 Opts 2013-06-25 20:25:03 -07:00
CovertJaguar
73aa6260a6 Removed update return value, meaningless, unused 2013-06-25 20:21:01 -07:00
CovertJaguar
475d6cd2f5 Make receptor public 2013-06-25 20:08:22 -07:00
CovertJaguar
013fe4ecb4 Possible Tickless compatible system PowerProvider
doWork() callback is now handled in receiveEnergy() as well as in the
tick update. So you can respond more effectively even if you don't want
to tick.
2013-06-25 19:46:07 -07:00
viliml
1d0a902217 Update BlockQuarry.java
Fixes https://github.com/BuildCraft/BuildCraft/issues/972
2013-06-25 19:31:28 +03:00
CovertJaguar
4f6ba954cd Better connection rules 2013-06-25 05:23:41 -07:00
CovertJaguar
8d1b33b268 Pipes won't connect to a receptor with no provider
And a tweak to powerRequest()
2013-06-25 01:29:11 -07:00
CovertJaguar
1f8c9f78ee Power API rewrite
PowerFrameWork is gone.
PowerProvider is final.
Can have multiple PowerProviders (one for each block side).
PowerProviders can either accept power from pipes or they can't, defined
in constructor.
Removed a bunch of excess code that just cluttered the API.
2013-06-25 01:00:24 -07:00
CovertJaguar
d7fb14b8a8 *cough* oops 2013-06-24 21:52:41 -07:00
CovertJaguar
0e08788461 Don't delete dirs we need later
Hopefully this will get rid of my folder corruption issues.
2013-06-24 21:44:33 -07:00
CovertJaguar
ee02561cd0 Adjust pump for new default 2013-06-24 21:22:45 -07:00
CovertJaguar
b223fd4440 Increased default power perdition to 1 MJ/t 2013-06-24 21:15:49 -07:00
CovertJaguar
8b6546a8bd Fixed Power Request Trigger
Its now restricted to Wooden Power pipes.

Before:
The trigger was useless because it was triggering off the powerQuery
array which was always true so long as there was any device on the
network requesting power. This made it rather useless for scaling
production to demand.

After:
It now triggers whenever the Wooden Power Pipe's internal power buffer
drops below a certain point. This however required a modification of the
wooden pipe's internals because it was getting stuck in the "Off" state
due to how it handled transferring power from the buffer to the pipe
network.

Anyway, it works now and is somewhat useful.

Note: The Wooden Power Pipe's internal buffer stores 1500 MJ, this was
true even before this commit.
2013-06-24 21:02:48 -07:00
CovertJaguar
5f58280e5f Merge branch 'master' of https://github.com/BuildCraft/BuildCraft 2013-06-24 18:15:06 -07:00