Official successor of ChocoCraft2 https://minecraft.curseforge.com/projects/chococraft
Switch branches/tags
Nothing to show
Clone or download
Xalcon Merge pull request #16 from beilber/feature/Egg_Rework
Starting with a basic clean slate
Latest commit 68e2648 Sep 26, 2017
Permalink
Failed to load latest commit information.
assets
docs
gradle
src/main
.gitignore
LICENSE-art.md
LICENSE-code.md
README.md
build.gradle
changelog.md
gradle.properties
gradlew
gradlew.bat
intellij_codestyle_settings.xml

README.md

Chococraft 3

This mod is rewritten from scratch and is based on Chococraft 1 and 2.

Due to the massive changes in MC Forge, Chococraft 3 is created mostly from scratch.

License information

The source code of this mod, which is located under src/main/java, is licensed under the MIT license, see LICENSE-code.md

https://licensebuttons.net/l/by-sa/3.0/88x31.png The assets in this mod are licensed under CC-BY-SA 4.0 with one exception: The chocobo "kweh" sound, located under src/main/resources/assets/chococraft/sounds/entities/chocobo/chocobo.ogg is was taken from Final Fantasy 7 and is property of SquareEnix CO., LTD

Setting up a development workspace

  1. Ensure that Java (found here), Git (found here) are installed correctly on your system.
  • Clone this repository into a new folder using your IDE, a git gui or the git command line.
  • navigate to the folder using a commandline terminal and run the following command, depending on your IDE:
    • Eclipse: gradlew setupDecompWorkspace eclipse
    • IntelliJ IDEA: gradlew setupDecompWorkspace idea
  • You can now open the project in your IDE
  • IntelliJ IDEA Only: Due to a bug(?) in ForgeGradle, it generates invalid run configurations. To fix this, goto run -> edit configurations. You should see 2 configurations: one for the client and one for the server. Select one of the configurations and set the Use classpath of module to chococraft3

Alternative IntelliJ IDEA Setup using the Gradle Import

IntelliJ IDEA supports running gradle commands from the IDE as well.

  1. Ensure that Java (found here), Git (found here) are installed correctly on your system.
  • Clone this repository into a new folder using your IDE, a git gui or the git command line.
  • In IDEA, import the build.gradle from the chococraft project
  • In the Import Project from Gradle Window, make sure you disable Create separate module per source set and select use the default gradle wrapper (recommended)
  • In IDEA, goto View -> Tool Windows -> Gradle
  • Expand the Node Chococraf3 -> Tasks -> forgegradle and execute the setupDecompWorkspace task via rightlick -> run (this may take a few minutes)
  • When this task completes, we need to generate the run configurations, which you can do by executing the genIntellijRuns task in the same node
  • Due to a bug(?) in ForgeGradle, it generates invalid run configurations. To fix this, goto run -> edit configurations. You should see 2 configurations: one for the client and one for the server. Select the client configuration and set the Use classpath of module to chococraft3. Repeat this for the server configuration as well.

Credits