No description
Find a file
snyke7 1afcf370b5 Fix fuel burning mechanic in EngineIron
Old implementation was not as intended I think. For example, lava as fuel should have outputted 20000 MJ, but actually outputted 20980 MJ.
This was because burnTime's value went 20,19,...2,1,0,20 - so that it had actually outputted 21 MJ for each amount of fuel.
Also, when the last amount of fuel was burned, burnTime would be 20 but fuel would be null, and so would currentFuel so that the last cycle was skipped.
So the actual output of some fuel was:
powerPerCycle * ((amount - 1) * (totalBurnTime/1000 + 1) + 1).
There probably are better ways to fix it but this is what seemed best to me.
2013-01-21 14:27:38 +01:00
buildcraft_resources Fix part of issue #552 2013-01-16 19:41:57 -05:00
common/buildcraft Fix fuel burning mechanic in EngineIron 2013-01-21 14:27:38 +01:00
.classpath Item Facades now use the IMC comms system to know about custom facade 2012-10-24 21:57:31 -04:00
.gitattributes Cached Orientations arrays for perf improvements 2012-10-27 22:50:03 -07:00
.gitignore Updated /build.xml for 1.4.7, allows recompiling without full forge setup. 2013-01-04 02:21:25 +00:00
.project Item Facades now use the IMC comms system to know about custom facade 2012-10-24 21:57:31 -04:00
build.xml Remove incorrect filters from /build.xml 2013-01-07 19:16:17 +00:00
README.md Updated readme. 2012-11-21 19:37:50 +01:00

Welcome to Buildcraft on GitHub

Contributing

If you wish to submit a pull request to fix bugs or broken behaivor feel free to do so. If you would like to add features or change existing behaivour or balance, please discuss it with Sengir or Krapht before submiting the pull request.

Compiling and packaging Buildcraft

  1. Ensure that Apache Ant (found here) is installed correctly on your system.
  • Linux users will need the latest version of astyle installed as well.
  1. Create a base directory for the build
  2. Clone the Buildcraft repository into basedir/BuildCraft/
  • Optional: Copy BuildCraft localization repository into basedir/BuildCraft-Localization
  1. Copy the minecraft bin dir and minecraft_server.jar into basedir/jars/
  2. Navigate to basedir/Buildcraft in a shell and run ant (this will take 2-5 minutes)
  3. The compiled and obfuscated jar will be in basedir/build/dist

Your directory structure should look like this:


basedir
\- jars
 |- minecraft_server.jar
 \- bin
  |- minecraft.jar
  |- ...
\- BuildCraft
 |- buildcraft_resources
 |- common
 |- ...
\- BuildCraft-Localization
 |- lang

Localizations

Localizations can be submitted here. Localization PRs against this repository will have to be rejected.