Skip to content

delvr/Streams

Repository files navigation

Streams

The Streams mod introduces real flowing rivers, with a true current, to Minecraft. These rivers are generated in the world using custom non-decaying flowing blocks and are much larger than anything the player could create using buckets. They originate in multiple sources and flow down the terrain through slopes and waterfalls, joining together into wider rivers until they reach a body of water at sea level.

Please note that the source code is in Scala (not Java), and that most of it will be replaced as part of an upcoming major rewrite. Keeping that in mind, if you have any questions about the code please send me (delvr) a message here on GitHub. For help with the build process please read Getting started with ForgeGradle first.

Questions about the mod itself are best posted to the discussion thread.

Note: IDE-specific instructions are for IntelliJ IDEA; see the ForgeGradle documentation for Eclipse equivalents.

Dependencies Setup

Streams requires Farseek. Compatible versions are specified using Maven version range syntax in the modDependencies properties of gradle.properties. The build process of Farseek will output -deobf and -sources jars; place both jars in Streams's libs subdirectory before running setupDecompWorkspace.

IDE Setup

The IDEA Update run configuration will run setupDecompWorkspace and genIntellijRuns. After running Update, synchronize Gradle in IntelliJ IDEA to set up module configs. If using IntelliJ 2016 or later, make sure the Gradle plugin setting "Create separate module per source set" is NOT checked.

Testing

Run the generated Minecraft Client or Minecraft Server configuration.

Building

Run the build configuration. Jars will be generated in build/libs.