Commit graph

107 commits

Author SHA1 Message Date
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
DarkGuardsman
0b5da1920b runnableMachine no longer drain its own network
If runable machine is an instance of INetworkPart it will not drain
power from any tile entity around it that shares the same network to
prevent self powering.
2013-07-07 05:06:34 -04:00
DarkGuardsman
b1fbad6201 minor edit 2013-07-06 02:18:31 -04:00
DarkGuardsman
cb320b6115 cleanup 2013-07-06 00:45:50 -04:00
DarkGuardsman
d4cdd93130 Working on my own power network class 2013-07-05 22:09:50 -04:00
DarkGuardsman
80dce03362 Added my own direction class
Same as ForgeDirection but with more directions
2013-07-05 22:09:40 -04:00
DarkGuardsman
f4e5f023ce random changes to runnable machine 2013-07-05 22:09:24 -04:00
DarkGuardsman
3510a37a90 changed path finder to use tileEntity lists
This should allow for more connections than the standard 6 sides that
most tiles seem to only use.
2013-07-05 22:09:08 -04:00
DarkGuardsman
b6c026b1ba cleanup 2013-07-05 22:08:22 -04:00
DarkGuardsman
ce76d225ee removed basic components 2013-07-01 19:05:40 -04:00
DarkGuardsman
296838857a updated basic component lib 2013-07-01 19:01:21 -04:00
DarkGuardsman
ac15cf12a0 Changed RunnableMachine to function diffrent 2013-07-01 19:00:36 -04:00
DarkGuardsman
fe90843d44 updated subs 2013-06-25 15:37:24 -04:00
Calclavia
43f54a3d5d Fixed Buildcraft energy issue 2013-06-21 19:41:13 -04:00
DarkGuardsman
cf1d9f4598 cleaned up and reduced library
@calclavia update submodules as i'm still working on getting Bitbucket
to clone ICBM threw sourceTree. Something about modding-lib will not
cloning... if you moved it to bitbucket might want to give me access.
2013-06-19 06:22:33 -04:00
Robert Seifert
ed2868d981 Fixed orbit manager radius 2013-06-15 11:38:18 -04:00
Robert Seifert
14d3054e5b Changed runnableMachine to not rely on Calc's code
Sorry @Calclavia if this looks like copying but i want to use this class
in all my mods without including your library. This way i can allow
other modders to work on my code without asking for your code.
2013-06-14 12:32:21 -04:00
Robert Seifert
6feb886340 Massive package and class rework 2013-06-11 20:45:04 -04:00
Robert Seifert
92a0c5248f Worked on Factions and factions prefabs 2013-06-11 19:43:28 -04:00
Robert Seifert
86ad98a2fb Possible fix to smp sentry issue 2013-06-11 00:48:33 -04:00
Robert Seifert
edfa4739e8 Changes to FakeEntityTile 2013-06-09 21:57:34 -04:00
Robert Seifert
41c1032226 Small change to damage entity
Still will need to be corrected later to pass the question to the tile
2013-06-09 10:29:30 -04:00
Robert Seifert
e4327c7cc2 Changed EntityTileDamage to extend entityLiving
This allow for entities to target this entity if it was an attack source
2013-06-09 07:49:11 -04:00
Robert Seifert
0c6b9153ca Passed right clicks onto the tile 2013-06-09 06:13:39 -04:00
Robert Seifert
3c43f66dd6 Added to IHpTile 2013-06-09 06:13:13 -04:00
Robert Seifert
1ef0ea0be2 Made basic machine class have an inf power mode
This mode should only be triggered by players in creative mode. This way
a creative mode player can force the machine to run without power.
2013-06-09 05:35:26 -04:00
Robert Seifert
022a1a0d75 Add IHeatObject
This is too be used by objects mainly block to store heat.
2013-06-09 05:34:16 -04:00
Robert Seifert
a8d4560cba Worked on custom damage and damage entity 2013-06-09 05:33:55 -04:00
Robert Seifert
e33f0b98e3 Added custom damage code
As well i added a way to create a fake entity for tile to be attacked by
vinalla and other mobs.
2013-06-08 03:02:53 -04:00
Robert Seifert
e84b7aa28f Getting somewhere with Quaternions
I think i still have a bit to work on to make this work as i'm not
getting a perfect circle in testing. Rather i'm getting a star shaped
pattern from the points.
2013-06-06 22:35:41 -04:00
Robert Seifert
dab331f042 Testing use of Quaternions for rotation
This doesn't seem to be going well however i don't really understand how
to use them yet. Looking at them though i think OpenGl uses these for
model rotation. I might want to look into there code later...
2013-06-06 15:45:28 -04:00
Robert Seifert
8724a1023d Possible solution to orbit (untested)
I'll test this after i make a test frame for it. Though i think this
might be it as long as i got the ideal down. After i tried to go to
sleep my brain broke down the changes pre rotation. If Y axis changes
the XZ distance change. If Z Axis changes YX distance changes. If X Axis
changes YZ axis changes. After figuring that out now i can use sin cos
to get the radian angles and times that by radius to get the delta
change in position.... or at least that is what i think. Testing will
prove me right or wrong.
2013-06-05 05:16:41 -04:00
Robert Seifert
10788a58b2 Worked on using sphere cords for orbit calcs (untested) 2013-06-05 03:27:06 -04:00
Robert Seifert
c3684dc952 Added math for Spherical coordinates
ref for math http://en.wikipedia.org/wiki/Spherical_coordinates

Might be adding more math methods later as i need them
2013-06-05 03:03:09 -04:00