Commit graph

540 commits

Author SHA1 Message Date
DarkGuardsman
0426aae859 sync
Not sure what is up with these files
2013-08-14 13:35:28 -04:00
DarkGuardsman
bbf5b92bec Added drop inv to BlockMachine
And somehow all the API files decided they wanted to binary change
2013-08-14 13:28:37 -04:00
DarkGuardsman
f23060f0c1 updated APIs 2013-08-08 09:35:27 -04:00
DarkGuardsman
95c0b099fb Added a helper to get Fluid levels in tanks
Useful for  tanks with multi-sub tanks per side
2013-08-06 11:30:35 -04:00
DarkGuardsman
794600d71f Added to tools set 2013-08-06 11:30:04 -04:00
DarkGuardsman
cec261a273 Worked on inv prefabs 2013-08-06 11:29:56 -04:00
DarkGuardsman
38e98bab59 Fixed a few issues with the is fillable methods 2013-07-30 23:10:13 -04:00
DarkGuardsman
d3c27ca6e9 Plan for the future
Later down the road i will need some wires for my machines. The idea is
to extends the UE one and insert several function to make it function
better.
2013-07-30 03:13:39 -04:00
DarkGuardsman
8d70cf177c Added to the drain block method
It now contains an extra update flag var allowing more control on how
the block is set after its was changes. This was mainly done to allow
the starter pump in FM to still function as an infinite water source
while drain several blocks at a time.
2013-07-30 03:12:58 -04:00
DarkGuardsman
4b9d5a8a14 Fixed some issues with NetworkShaedPower.class 2013-07-29 03:35:49 -04:00
DarkGuardsman
390562876c Added some contructors to TileEntityMachine
Mainly an easier way to set watt per tick, and max power stored.
2013-07-29 03:35:29 -04:00
DarkGuardsman
8e5e42d7bf finished up revised NetworkSharedPower 2013-07-29 02:45:14 -04:00
DarkGuardsman
e306156684 Added IPowerLess interface
Mainly worthless but is used to make it easier for other classes to
check if a tile runs without power. Example is in NetworkSharedPower
class were it need to check for to see if it can run power less based
off it network parts.
2013-07-29 02:35:10 -04:00
DarkGuardsman
4788e2d51a Worked on fill method in FluidHelper class 2013-07-29 02:33:09 -04:00
DarkGuardsman
38e0833a21 Added a read and write method to NetworkTile class
Should allow networks that extend this to read and write data from there
tiles when its called. Mainly used to store important info in tiles
while merging or splitting a network. However, it is used by
NetworkFluidTiles class in FM for reading/writing fluid volumes to the
tiles.
2013-07-29 02:32:52 -04:00
DarkGuardsman
ced2f8f142 Added consume power and client update to machine prefab
Though general its a bad idea to control packet handling in a prefab
class i though it be best seeing as most of my machines need a client
update. As well added a generic consume power method that is called per
tick server side.
2013-07-29 00:50:46 -04:00
DarkGuardsman
2fa69b1221 Fixed NPE and added Fill tank method to fluidhelper
Fixed a null point crash with getting the block when trying to fill a
tile.

Added: FillTanksAllSides to make it easy for tiles to fill
IFluidHandlers around them
2013-07-27 18:17:50 -04:00
DarkGuardsman
472a6894db Changed drain and added fill method to FluidHelper 2013-07-26 21:53:54 -04:00
DarkGuardsman
1c234740eb reformatting and cleanup 2013-07-26 02:17:17 -04:00
DarkGuardsman
a1400a1a12 Add init() to network after merge/split
This should remove the need for other networks to have custom split or
merge code just to add a few lines of code. Example was the removal of
the needed for Fluid networks in FM to have custom split/merge code to
add balanceTanks() method.
2013-07-25 07:19:55 -04:00
DarkGuardsman
c6dcab98a6 Added an auto block ID finder
This should prevent issues with config files generating but will not
prevent Block ID conflict with other mods. However, later i might expand
this to try to pre-register the block and correct its block ID if
something goes wrong.
2013-07-24 15:26:41 -04:00
DarkGuardsman
81c1d78ac1 attempted to fix a load error 2013-07-23 23:50:07 -04:00
DarkGuardsman
533fef288e Fixed errors with Domain and recipe loader 2013-07-23 03:38:55 -04:00
DarkGuardsman
18cd9b1319 Developed a way to load recipes easier 2013-07-23 01:46:27 -04:00
DarkGuardsman
27acf3287e Created a Triple class 2013-07-23 01:45:38 -04:00
DarkGuardsman
b52de99572 reworked recipe system and main class file 2013-07-22 18:25:01 -04:00
DarkGuardsman
75b5ace914 updated ICBM api 2013-07-22 18:24:55 -04:00
DarkGuardsman
090c84b48f moved API file 2013-07-22 01:20:20 -04:00
Robert WC Seifert
505472fd98 Update README.md 2013-07-22 01:12:45 -04:00
DarkGuardsman
7f130d330f uploading license.txt 2013-07-22 01:11:21 -04:00
Robert WC Seifert
9883d971f7 Update README.md 2013-07-22 01:10:30 -04:00
DarkGuardsman
fb37031651 Moved APIs over from API bank to reduce repo count 2013-07-22 01:05:40 -04:00
DarkGuardsman
7e1ef517b9 massive package and file movement 2013-07-22 01:00:00 -04:00
DarkGuardsman
b44b1d709f registered Multi-block 2013-07-22 00:44:26 -04:00
DarkGuardsman
bb0d5b6fad Merged TheDarkMachine into core
At first i was going to keep the core as a simple loader but seeing that
need for content out of my DarkMachine mod i merged the two. This will
cause a bit of extra stuff for the player to deal with. However, i did
add configs to disable the ore and ore Items from the mod.
2013-07-21 23:43:56 -04:00
DarkGuardsman
609954e058 updated code for UE api
Removed TileEntityElectricMachine and replaced it with the UE
UniversalMachine class
Removed the BC to UE class as it is no longer needed or functional

Added NetworkSharedPower so that tileEntities can share power in a
network allowing things like Electric Fences or battery box grids.
However, it doesn't unloaded power then it is removed so should only be
used for running machines
2013-07-21 22:53:49 -04:00
DarkGuardsman
6365e06b08 Cleanup and restructure of machine block 2013-07-19 11:37:50 -04:00
DarkGuardsman
8538476bc9 cleanup 2013-07-19 10:04:41 -04:00
DarkGuardsman
3d82011b96 Fixed Liquid renderer
This was at one point in time the BuildCraft fluid renderer. However, i
have rewrote most of it in order to fix it. BuiltCraft staff is welcome
to take anything from the render code they want.
2013-07-18 14:32:31 -04:00
DarkGuardsman
e3300615a6 Turned Lib into a mod 2013-07-18 14:31:28 -04:00
DarkGuardsman
d9a74730ab Edit, changes, etc..
Forgot to push while i still remember what i did and what each change
was. Guess it will due just to have it synced
2013-07-14 10:50:35 -04:00
DarkGuardsman
7a3fc461d0 removed all update errors from MC1.6 2013-07-11 04:40:07 -04:00
DarkGuardsman
bbcc18dd9c added multi-block code from old UE 2013-07-10 04:35:08 -04:00
DarkGuardsman
eac9b1ee8c Added BC fluid render and fixed them 2013-07-10 04:34:55 -04:00
DarkGuardsman
5d12db00be changed consumeItem to be static 2013-07-10 02:05:34 -04:00
DarkGuardsman
c20acfc473 added to fluid Helper 2013-07-09 23:44:59 -04:00
DarkGuardsman
c961f3634e removed more errors 2013-07-09 14:27:00 -04:00
DarkGuardsman
485ca799d8 Oh joy of updating to 1.6
This is going to take a lot of time to get working 100%
2013-07-09 13:10:09 -04:00
DarkGuardsman
30161f90f1 Fixed some power math 2013-07-08 01:28:37 -04:00
DarkGuardsman
0db6bb803d changed power network and machine 2013-07-07 09:26:51 -04:00