GithubHelp home page GithubHelp logo

yd278 / chococraft3sly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teamchikken/chococraft3-chknfork-1.12.2

0.0 0.0 0.0 1.95 MB

Continued developement branch for Chococraft 3.

License: Other

Java 100.00%

chococraft3sly's Introduction

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

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

chococraft3sly's People

Contributors

xalcon avatar mallrat208 avatar beilber avatar mattczyr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.