Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

jesmores/Repose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 and TerraFirmaCraft (TFC) at compile time. Compatible versions are specified using Maven version range syntax in the farseekDependency and tfcDependency properties of gradle.properties. The build process of both Farseek and TFC will output -deobf and -src jars; for each dependency place both jars in Streams's lib subdirectory before running setupDecompWorkspace.

IDE Setup

The IDEA Update run configuration will run setupDecompWorkspace. After running setupDecompWorkspace, synchronize Gradle in IntelliJ IDEA to set up module configs.

Building

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

Testing

Run configs are not in source control but you can create your own using these properties for the client-side:

  • Main class: net.minecraft.launchwrapper.Launch
  • VM options: -Djava.library.path=$USER_HOME$/.gradle/caches/minecraft/net/minecraft/minecraft_natives/1.7.10 -Dfml.coreMods.load=farseek.core.FarseekCoreMod,com.bioxx.tfc.TFCASMLoadingPlugin,repose.core.ReposeCoreMod
  • Program arguments: --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --assetsDir $USER_HOME$/.gradle/caches/minecraft/assets --assetIndex 1.7.10 --accessToken=1234 --userProperties={}

Note: TFC is required at compile time but optional at runtime. To test without TFC in IDEA, switch the TFC dependencies from Compile to Provided in your module properties after synchronizing Gradle.