Commit graph

33 commits

Author SHA1 Message Date
CovertJaguar
a88692a0f2 Possible NPE if the liquid isn't in the LD
https://github.com/BuildCraft/BuildCraft/issues/787
2013-05-11 04:27:52 -06:00
LexManos
b66d3b6b0f Added NBT data to liquid stacks. Closes #501 2013-04-10 16:44:31 -07:00
Krapht
1ec2810bac Remove unneeded SideOnly. ref: Buildcraft/Buildcraft#710 2013-03-31 09:04:49 +02:00
Christian
5ad133c664 Sanity check the item ID for loaded liquid stacks better. 2013-03-29 21:43:59 -04:00
Christian
8a4a62ab4e Add in persistence code for LiquidTank. Using it should protect against liquids that get removed f.e. Closes #395 2013-03-29 16:21:17 -04:00
Christian
b1e7248a67 Make liquidstacks immutable in their type data. Sorry about this, but it makes things a lot easier. 2013-03-29 15:40:45 -04:00
Christian
fc976c7714 Fix up liquidstack so it knows about the texture sheet for it's icon 2013-03-29 12:42:55 -04:00
Christian
a7108bc2ff Fix up some liquid logic 2013-03-28 08:07:09 -04:00
Flow86
41ed59f424 fix bug #489 from #429 2013-03-28 08:07:09 -04:00
Christian
7cfb28fecb Fix hashCode 2013-03-27 19:27:00 -04:00
Christian
91cecec28a Use the liquid name in liquid stack persistence. Closes #429 2013-03-27 19:09:57 -04:00
Christian
83d4be5a05 Some tweaks to the liquid dictionary, to allow for canonical liquid stacks for things like rendering 2013-03-12 20:33:50 -04:00
Christian
e5913fb29f Add an Icon to the LiquidStack, for rendering the liquid in various ways 2013-03-06 20:54:24 -05:00
LexManos
0f696c3739 Add water and lava to liquid dictionary by default, closes #419 2013-02-23 13:53:05 -08:00
LexManos
0a2e78d0c6 Made LiquidStack.isLiquidEqual(ItemStack) properly check the contained liquid, in addition to obvious id/meta closes #399 and closes #403 2013-02-15 04:00:46 -08:00
Christian
c40c81924a Some javadoc fixes 2013-01-21 21:57:48 -05:00
LexManos
170585960b Some small code cleanups. 2013-01-01 20:57:45 -08:00
Christian
19347c5322 Update for MC 1.4.7
Update FML: f7cc50b
2012-12-28 12:06:56 -05:00
Christian
0b9727305e Fix accidentally removed not-deprecated methods.
Update FML: d604e44
d604e44 InterModComms now supports a runtime polling based model for inter-mod comms at runtime. Deprecate method that shouldn't be used. COPY it's content to your mod. Don't CALL it.
8b7778c Don't be as alarming about item overwrites.
2012-12-18 14:17:56 -05:00
LexManos
9833c5652c Removed all functions marked as deperacted for the new MC version 2012-12-18 05:28:09 -08:00
LexManos
061ab81041 Automatically resolved imports. 2012-12-12 21:58:35 -08:00
Christian
6bc367f005 Fix static method, closes #271
Don't spam the log if a mod requests a ticket beyond their maximum. A single message is fine.
2012-12-06 16:14:15 -05:00
Christian
ca16b4b1bd Some liquid events. Non-API breaking. Add them at your leisure. This helps liquids know
what's happening to them. In case they're volatile or something ;)
2012-11-16 01:28:29 -05:00
Christian
da00985e5f Another difference 2012-11-15 21:54:19 -05:00
Christian
5a72d49359 Fix fillLiquidContainer - return null, not the empty container for
previous API compatibility
2012-11-15 21:46:38 -05:00
Christian
0f7811624b Change name to LiquidContainerRegistry. Fix up missing API. This better be it now! 2012-11-15 06:43:16 -05:00
King Lemming
213fb9bd1a Fixed oversights in liquid registry, added functionality for instant checks as requested by CJ.
Liquid list return is now secure.

Signed-off-by: King Lemming <kinglemming@gmail.com>
2012-11-15 02:43:35 -05:00
Christian
223aca8a28 Rename some liquid stuff for more sensible naming. Tweak API slightly. 2012-11-14 21:22:44 -05:00
King Lemming
73a2a5d78a Liquid Manager Rewrite - slightly more memory usage, loads more efficient at runtime.
Added default Lava and Water registrations to Liquid Manager.
Removed method which relied on flawed assumption that a given liquid only had a single type of container.

Signed-off-by: King Lemming <kinglemming@gmail.com>
2012-11-14 20:27:47 -05:00
Christian
a759353afa Add in the basic IBlockLiquid interface. The actual block implementation
will follow.
2012-11-13 21:54:57 -05:00
Christian
1072a8f0ae Some new stuff on the liquid API for better RP2 interaction. Coming soon: blocks! 2012-11-13 14:27:31 -05:00
Christian
52ac3c1af8 Tweak liquidcontainer API for sidedness capability 2012-11-12 21:41:46 -05:00
Christian
58fc306bf2 As agreed, liquid API from BuildCraft has been migrated to minecraft forge. There will be cleanups to follow,
including sided handling and client rendering tweaks. Stay tuned!
Tweak forgedirection for a couple of naming constants
2012-11-10 21:27:08 -05:00