Commit graph

1467 commits

Author SHA1 Message Date
Jesper Jensen
eaae07352b Optimized pulser disable slightly 2013-06-11 23:10:06 +02:00
Jesper Jensen
d9b3fd1842 Fixed gate pulser texture update 2013-06-11 23:01:17 +02:00
SandGrainOne
a1340f864c Fix for duplication bug.
It was possible to get the item in a phantom slot with the new inventory
management features. This prevents for example the item double click
feature (make stack) to take items from the ghosted inventory.
2013-06-11 23:00:08 +02:00
CovertJaguar
8854353da3 Fix ACT eating Minium Stones
Closes #931
2013-06-11 12:41:28 -07:00
CovertJaguar
b34c96cc06 Fix Filler pipe interaction 2013-06-11 00:58:58 -07:00
CovertJaguar
2b0588fe5f Fixed minor GUI issue with AWB 2013-06-10 17:12:02 -07:00
Christian
e6c0361f4f Add support for rotated log textures. To change a facade, put it in your crafting grid- it'll turn around..
Works with any mod logs using render 31 as well..
2013-06-10 20:02:38 -04:00
CovertJaguar
3ea39c78bb NPEs must die!
Closes #927
2013-06-10 14:16:41 -07:00
CovertJaguar
8d5e520c96 Randomize potential oil biome spawns on worldseed
Also reduced Oil Ocean Biome chances again.

Previously it was using the same noise field for all seeds. Now it
randomly offsets the noise field based on the world seed. Its not truly
random, but at least you won't be able to travel to the same coordinates
in every world and find an Oil Biome.
2013-06-10 13:52:14 -07:00
CovertJaguar
f404eccb3d Fix possible NPE in Wrench 2013-06-10 11:40:05 -07:00
CovertJaguar
8a9314a8f6 Fix critical dupe bug in AWB
Closes #895
2013-06-10 03:37:44 -07:00
CovertJaguar
f19ab165ef Oil Tweaks
Fix Oil being consumed by Fire.
Reduce Oil Biome oil spawn bonus: 40x -> 30x.
Nerf Ocean Oil Field spawns a bit.
Fix Oil on Water, Closes #919
2013-06-10 03:27:58 -07:00
Christian
af4ef23e10 Another build.xml tweak 2013-06-09 16:13:48 -04:00
Christian
627618ff3e Clean up versioning a bit in the build.xml, the version of buildcraft is properly set now 2013-06-09 15:47:08 -04:00
Christian
659d8b0407 Fix git tag version parsing. Sengir: commit your tags!! 2013-06-08 16:55:09 -04:00
Christian
0da145308d Tweak build.xml for jenkins running 2013-06-08 16:08:56 -04:00
Christian
d1531d1f7b Tweak build file for jenkins building @ Forge Jenkins 2013-06-08 15:39:22 -04:00
Christian
0bb43992d7 Attempt to workaround trigger api change for backward compatibility 2013-06-08 13:37:41 -04:00
Krapht
5662741cd2 Remove old double-chest detection code and use the vanilla approach. Fixes #914 2013-06-07 02:17:31 +02:00
Player
f04af071b8 Fix pump not passing through air blocks 2013-06-01 02:11:38 +02:00
SirSengir
e22bc0b381 Changes for 3.6.0 build. 2013-05-30 15:21:43 +02:00
CovertJaguar
fa3d0bb7b6 Smarter space check for buffer. 2013-05-29 09:49:53 -07:00
CovertJaguar
e43cf0a2b6 Add legacy migration to AWB
This should prevent wiping of the crafting grid on upgrade.
2013-05-28 23:16:56 -07:00
CovertJaguar
02e2fadcf4 Tweaks and code cleanup 2013-05-28 22:54:59 -07:00
CovertJaguar
8a6022962c Name crafting fake players just in case 2013-05-28 20:21:22 -07:00
CovertJaguar
f581682158 Added some comments 2013-05-28 19:00:24 -07:00
CovertJaguar
2451b6925f Complete reimagining of the ACT
Renamed "Auto Workbench" to reduce confusion with the "Advanced Crafting
Table".

Once again I barrowed liberally from Railcraft. This time from the
Rolling Machine. You will recognize the new GUI.

Auto Workbenches are 100% compatible with vanilla Hoppers, or whatever
you want to use to interface with it. It no longer implements
ISpecialInventory at all. Even RP2 would work with it now.

Implemented the same "Sample Output" vs "Real Output" design that the
Rolling Machine uses. If there are enough items to craft multiple times,
it will craft automatically. But if there are only enough items for one
craft job, you must click the sample output slot to start the process.
Separating the display from the output helps reduce the complexity of
the code by a large factor.

Banned all items that can't stack or that have containers from being
used in the Auto Workbench. Supporting these types of items is the major
reason the previous version was so buggy. The Advanced Crafting Table
does a much better job with that kind of thing, use it instead.

Crafting now has a time cost. It take 256 ticks to craft an item. Unlike
the Rolling Machine, it DOES NOT require power.

Removed ability to pull from adjacent inventories. Its laggy, complex,
and unnecessary now. If you need more capacity, use a Hopper or Chute.
2013-05-28 18:50:03 -07:00
CovertJaguar
95114cf79a Added BiomeDictionary support to Oil gen
Can't believe I didn't see this thing sooner.
2013-05-28 05:11:05 -07:00
CovertJaguar
7e8bcadbb2 Added BiomeDictionary support to Oil gen 2013-05-28 04:53:19 -07:00
CovertJaguar
56567d73af Made Inv Iterator subclasses private 2013-05-28 04:52:58 -07:00
CovertJaguar
e3420842fe Transactor Optimization
It was an O(n^2) operation to insert an item. Now its just O(n). The
functions for checking to see if a stack is valid in a slot are
expensive and should never be called more than once per slot, let alone
n^2 times (where n is the length of the inventory).

Additionally, by wrapping inventory in a slot iterator, I was able to
eliminate the need to handle FSided and VSided differently from
IInventory.
2013-05-27 20:06:27 -07:00
CovertJaguar
0a18ae34ff Adjusted Shift code to support Phantom slots
Yes, this also was stolen from Railcraft. Its also much more robust than
the code BC was using.
2013-05-27 18:08:17 -07:00
CovertJaguar
6d6e05044c Transactors should obey isValid() for partials 2013-05-27 16:37:51 -07:00
CovertJaguar
6169b8b9b5 Clean up var names in Laser Table 2013-05-27 15:56:16 -07:00
CovertJaguar
a989d00223 Various fixes to the Laser Crafting Table
It no longer eats Golden Tickets or dupes items, yay!
2013-05-27 15:52:27 -07:00
CovertJaguar
f1fcd6a0db Added RC's Phantom Slot System
And replaced BC's Advanced Slot System in Advanced Crafting Tables,
Emerald Pipes and Diamond Pipes.

The advantages of the Phantom Slot System is that it uses the same
Mojang code for net sync that normal Slots do. This results in much
simpler code and the slots can be treated just like any other inventory
slot instead of all the special case code that Advanced Slot does.

The Advanced Slot System is still used in several places (Assembly
Tables, Refineries, etc...), Gates but in these cases the Slot often
contains non-ItemStacks. So I'm not going to touch them for the moment.

Additionally, I cleaned up the names of some of the classes in the
Silicon package.
2013-05-27 14:19:51 -07:00
CovertJaguar
0723ab4b17 Minor build.xml jar name change 2013-05-26 10:37:15 -07:00
Krapht
3d460705ea Fixed combustion engines not dropping its inventory when broken 2013-05-25 10:15:44 +02:00
Krapht
3f7dc90e04 Made Combustion engines only accept Liquid containers and Ice 2013-05-25 09:09:50 +02:00
Krapht
2606aaccf9 Made the stirling engine accept only fuel-type items 2013-05-25 08:58:08 +02:00
Krapht
47cbc9fab0 Removed isStackValidForSlot from TileBuildCraft and moved it to subclasses. Fixes #878 2013-05-25 08:52:07 +02:00
Christian
9a68dcc304 Fix canonical liquid if there isn't one. gah! 2013-05-24 22:57:53 -04:00
CovertJaguar
a70eacc7fc Make addToRandomInventory type safe
Better, Faster, Stronger

Closes #877
2013-05-24 19:40:42 -07:00
Flow86
3cf2ff96d0 fix to addToRandomInventory not providing the correct side
fixed some space/tabs things (exactly eclipse did it for me...)
fixes #875
2013-05-23 14:13:08 +02:00
CovertJaguar
3e2a232f47 Pipe Chunk Boundary Optimization
Liquid and Power pipes will no longer query unloaded chunks for
neighbors. Item pipes however will continue to do in order to prevent
item spewing.
2013-05-22 12:10:57 -07:00
CovertJaguar
91e7edc256 Merge branch 'master' of https://github.com/BuildCraft/BuildCraft 2013-05-22 12:06:53 -07:00
CovertJaguar
b142a11917 Better Error for Pipe Render 2013-05-22 11:57:57 -07:00
Flow86
fb3cac293d fix smp-crash on pipe with facade removal
fixes #871
2013-05-22 09:07:51 +02:00
Flow86
a237829c3a cleaned up format and var names as requested by @CovertJaguar at #872 2013-05-22 08:11:05 +02:00
Flow86
bece4fb77f Merge pull request #872 from viliml/patch-1
Add ISpecialInventory support to gate triggers
2013-05-21 12:10:06 -07:00