Skip to content

boredhero/morefuelsmod

Repository files navigation

mf-logo

morefuelsmod

branch - 1.16.5

This is the active developemnt repo for MoreFuelsMod for Minecraft 1.12.2 and Onwards

Author

License

  • GNU GPLv3

Basic Setup Instructions

Dependencies

  • Eclipse for Java Developers
  • JDK 8 (preferred), 9, or 10+
    • Linux users of the world, yes, OpenJDK is just fine.
    • Special Note: 1.12.x and below versions will most likely only work with Java 8!
  • git command line tools (preferred) OR GUI git client

Steps

  • If using Windows, use your Git Bash app to do the git commands! You can also do this via the Git GUI Client!
  • run command: git clone https://github.com/boredhero/morefuelsmod
  • cd into morefuelsmod folder
  • git checkout {branchNameHere}
    • We have five branches: 1.16.5, 1.15.2, 1.14.4, 1.13.2, and 1.12.x
  • run chmod +x gradlew if using Linux or Mac

VSCode/Code-OSS

  • run command: gradlew genVSCodeRuns (Windows) or ./gradlew genVSCodeRuns (Linux/Mac)
  • Open as folder in VSCode/Code-OSS

Eclipse

  • run command: gradlew eclipse (Windows) or ./gradlew eclipse (Linux/Mac)
  • run command: gradlew genEclipseRuns (Windows) or ./gradlew genEclipseRuns (Linux/Mac)
  • Open Eclipse, File > Import > Existing Project > Select Folder > Import

IntelliJ IDEA

  • run command: gradlew idea (Windows) or ./gradlew idea (Linux/Mac)
  • run command: gradlew genIntellijRuns (Windows) or ./gradlew genIntellijRuns
  • Import to IntelliJ IDEA

Further Notes

  • You can configure the amount of RAM used for script operations/build operations in gradle.properties. Default for this repo is 5 GB but adjust accordingly.

Building a Jar

Basic Instructions

  • cd into morefuelsmod directory
  • run command: gradlew build (Windows) or ./gradlew build (Linux/Mac)
  • jar file will be in /morefuelsmod/build/libs/

Advanced

  • jar filename is set to modid-minecraftversion-version.jar
  • You can change these variables in the file "build.gradle"
    • version = 'minecraftversion-version"
  • Please use something like Semantic Versioning for the "version" part of this!
    • group = 'io.modid'
      • The packaging format for forge mods must be this way.
      • Your main class file should be your modid.
      • The last level/directory name of your package should be your modid.
    • archivesBaseName = 'modid'
      • This can actually be whatever you want but should be your modid.
      • It will show up on the other side of the - before the version in the outputted built jar file.

Test in Game without building

  • Use the run tasks we made.
  • If all else fails, run the commands above again to make new runs.
  • If even this fails, there's always ./gradlew runClient and ./gradlew runServer but these are slower and shouldn't be default.

TODO

  • Make a stripped down version and release as More Fuels Mod Light
    • Try to do this as a branch on this GitHub repo for better organization going forward

Planned Features for v1.8.0

  • Look into dynamically generating all json files ala this to help aid in making them enableable/disableable via a config switch.
  • GUI Config
  • Allow RFtL disable from config.
  • Investigate supporting Forge 1.14.2 and 1.14.3 as one jar
  • Investigate support Forge 1.16.x as one jar (likely not possible due to the different ore generation issues)
    • This may be a little more complicated now because of the mods.toml format. Not sure if it'll allow this at all.
  • Make chorus and purpur flammable using rEfLeCtIoN (or Block Properties??)
  • Add scrap metal
    • Make a furance that burns all the wood and outputs scrap metal
  • Add processing methods for scrap metal to return back to usable ingots