Commit graph

636 commits

Author SHA1 Message Date
SirSengir
a817dab2d8 Merge pull request #530 from DeliciousJaffa/master
Filler Flatten only reaching 128
2013-01-01 16:10:09 -08:00
MrTJP
85644a33cf Made transactor alert inventory changes
Eliminates some client-server sync issues (given that the TE alerts server).
Also enables things like Factorization Barrels to update their item count.
2012-12-31 15:50:39 -05:00
SirSengir
f664ff8084 Fixed NBT data not synching when manipulating the diamond pipe gui. 2012-12-30 12:35:12 +01:00
SirSengir
e6a9ab6652 Mcp naming fix. 2012-12-30 10:08:06 +01:00
Kevin Murphy
e6009aed5c Stacked tanks no longer store different liquids 2012-12-30 01:03:03 -05:00
Christian
424329f164 Update for MCP updates with MC1.4.7 2012-12-28 15:29:35 -05:00
Jordan (DeliciousJaffaJaffa)
85a95543e4 Fix Filler Flatten
Now goes to the full 256 instead of 128, must have been overlooked,
2012-12-27 01:21:50 +00:00
tcooc
209f382aee Pipes replace blocks like grass, vines, etc.
Pipe place sound.
2012-12-21 16:28:37 -05:00
Octav Sandulescu
d6a0457368 Add way to query for refinery recipes 2012-12-19 15:02:00 +02:00
SirSengir
d8750a5d08 Fixed NPE when no recommended version is found. 2012-12-18 20:56:43 +01:00
SirSengir
a2d69bc4f8 Initial 1.4.6 port. 2012-12-18 20:43:22 +01:00
SirSengir
e42c71e9a3 Refactor/cleanup. 2012-12-17 23:30:54 +01:00
SirSengir
6ed78f37b2 Repackage for new Forge. 2012-12-17 23:29:42 +01:00
NeverCast
7d8efe6296 Liquid Pipes do a full update periodically for client sync
Added config option in BuildCraftCore regarding long update period
Added to core as it may be used for other things in future too
2012-12-15 21:47:42 +13:00
NeverCast
f23ddb476a Liquid Packets should not send before chunks on client join 2012-12-15 21:04:25 +13:00
NeverCast
3dbc451f31 Redudent null check on instanceof 2012-12-15 19:27:31 +13:00
NeverCast
8073fed1d1 Fix some NPEs on TileEngine when it has not be initialized 2012-12-15 17:32:58 +13:00
gishicrafter
93f9c25ba8 Fixed EngineIron fuel acceptance problem. 2012-12-14 20:59:49 +09:00
CovertJaguar
9c0e9205cf Power Pipes now display power stored too
There is now a visual indicator that a pipe will soon explode.
2012-12-14 02:15:26 -08:00
SirSengir
c1089e5e8a Added update notice. Will only display once per update and not annoy the player on each startup. 2012-12-13 20:46:20 +01:00
CovertJaguar
9fbdd4040b Some more minor opts 2012-12-12 23:10:56 -08:00
CovertJaguar
2c888525d6 Minor opt to TileEngine.fill() 2012-12-12 22:51:54 -08:00
CovertJaguar
4773280c5b More Item Pipe opt to net and cpu
PipedItem IDs reduced to Short.MIN - Short.MAX to shave bytes off the
packet size. It could in theory be reduced to a byte and changed to a
per pipe ID, but that would require a larger rewrite.

The packet no longer send the pipe location and instead derives the pipe
location from the item location.

In total, 13 bytes were removed from the item packet size.

Also a number of cpu optimizations were performed, mainly by using more
appropriate collections and cleaning up some simple but often called
functions.
2012-12-12 22:28:22 -08:00
pahimar
4cec777807 ACTs now play the item break sound for all entities nearby them when they break a tool 2012-12-11 14:03:00 -05:00
pahimar
6ff25b24e4 Missed the case where an item could be used up when it reaches its max durability. Also made it throw a PlayerDestroyItemEvent with the Buildcraft user when a damageable item is used up in autocrafting. 2012-12-11 13:06:51 -05:00
pahimar
b0fc220cef Merge remote-tracking branch 'origin/master' 2012-12-11 12:29:06 -05:00
pahimar
2446d7a3d6 Updated ACT to properly handle container itemstacks 2012-12-11 12:28:45 -05:00
CovertJaguar
8478177503 Added Oil/Fuel to Liquid Dictionary 2012-12-10 11:31:07 -08:00
CovertJaguar
9a465cff69 Fixed liquid junction issue
Closes #336
2012-12-09 13:53:31 -08:00
CovertJaguar
5886faecc4 Power pipes shouldn't check connections every tick 2012-12-09 12:28:17 -08:00
CovertJaguar
965112a4d9 ForgeDirection optimizations in the Power pipes 2012-12-09 12:00:27 -08:00
SirSengir
be3ed84657 Imports! 2012-12-09 19:23:08 +01:00
SirSengir
3751149fe0 Fixed incorrect item rendering. Still failing to display correctly since the item stack contained in EntityPassiveItem seems to be missing the NBT data client side. 2012-12-09 17:09:46 +01:00
CovertJaguar
462f7e9226 Power packet optimization
By increasing the number of display stages to 100, I was able to easily
map internal power to display stage by sending a byte representing the
display stage rather that the amount of power in the pipe. This allows
me to reduce the packet size in half by converting from Shorts to Bytes.

Additionally, I created an alternative display list that uses a red
texture to indicate that pipe is nearing maximum capacity.
Unfortunately, this still gives no visual cue that a wooden pipe is
about to explode, becasue for some reason wooden pipes don't render the
power they contain when connected to an engine. This should probably be
rectified in the future.
2012-12-08 16:13:13 -08:00
Octav Sandulescu
ad341592dd Moved default oil block ID to 1520 and 1521 2012-12-07 08:54:57 +02:00
CovertJaguar
f5cd8053e4 Fixed decrStackSize bug on crafting table 2012-12-06 22:25:38 -08:00
CovertJaguar
729b69592e Fixed decrStackSize issue with engines
Closes #485
2012-12-06 10:13:32 -08:00
Christian
d91305cdb2 Refactor the quarry algorithm: it now stores the next few planned blocks, and only searches the direct
column above the target on each target hit. It forces the list to recompute only if it finds a block.

Behaviour is almost identical to before, but should be a lot more efficient in terms of computing resources.
2012-12-06 08:41:49 -05:00
Christian
3b53947381 Fix power provider 2012-12-06 07:46:02 -05:00
CovertJaguar
2d7f4f6a8a Fixed Autarchic Gate exploit
There is no reason for them to power Wooden Conductive Pipes.
2012-12-05 15:09:26 -08:00
CovertJaguar
b4e7451ad1 Moved default IDs to safer ranges 2012-12-05 15:07:37 -08:00
gishicrafter
57d2d78b0f Use liquid block metadata for rendering 2012-12-05 00:05:40 +09:00
aznhe21
e209377ee6 Fixed wire not updating. 2012-12-03 18:51:12 +09:00
CovertJaguar
2c1b0ffda8 Fixed Facade InterModComs
It was adding a zero size stack to the recipe list.

Also cleaned up some formatting.
2012-12-02 19:17:00 -08:00
CovertJaguar
97caa8f3ad Pipe capacity stuff + packet tweaks
Should completely fix addon pipes with different capacities.

Might also fix some issues people are seeing with pipes not renderering,
see #473
2012-12-02 18:47:33 -08:00
den
02caa137ba Fixed RenderPipe crash if pipe has a higher capacity than normal. (needed for Valve Pipe (and more!)'s Industrial Pipes) 2012-12-02 19:31:11 -05:00
NeverCast
c693948c49 Removed Redudent Server side check
Was not aware that it was only called server side so the check wasn't
required.
2012-12-02 14:03:46 +13:00
NeverCast
b0003a082c Gate GUI is now calculated server-side
Gate GUI gets it's state from the server
SuppressWarnings on ItemGate
failonerror for build.xml to prevent packaging bad jars
Gate GUI now uses boolean array for indicators which is updated via
progressBar
2012-12-02 13:47:07 +13:00
SirSengir
475719d2f3 Merge pull request #464 from nevercast/issue-280
Make RenderTank respect Block Metadata
2012-12-01 02:57:11 -08:00
CovertJaguar
198fa9b7ed Added a null check in PipeRender
Catches non-existant liquids, but I expect it will still crash elsewhere
if the liquid doesn't exist.
2012-11-30 15:00:58 -08:00