delvr / Repose

Walkable hills in Minecraft.
https://minecraft.curseforge.com/projects/repose
6 stars 3 forks source link
minecraft minecraft-forge minecraft-forge-mod minecraft-mod

Repose

This mod introduces walkable slopes and more to Minecraft. This means you can now walk up gentle slopes of grass, sand etc. without continually jumping. This works by making granular blocks act as stairs, whose shape varies according to the elevation of neighboring blocks. Visually, these blocks are still the same cubes as before. A config option allows the same behavior for "natural" stone such as that found in caves.

Please note that the source code is in Scala (not Java). Keeping that in mind, if you have any questions about the code please send me (delvr) an email. 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

Repose 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 Repose'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 you get the error scalac: 'jvm-1.8' is not a valid choice for '-target' when running in IDEA, go in your Gradle Runner settings and check the option "Delegate IDE build/run actions to Gradle".

Testing

Run the generated Minecraft Client or Minecraft Server configuration.

Building

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