Yes.
improved iron farm stuff(village markers and some commands) thanks to Vales.
add some features and commands, see here
some features are ported from fabric-carpet and Carpet-TIS-Addition
- Clone this repository.
- Run
gradlew setupCarpetmod
in the root project directory.
- To use Eclipse, run
gradlew eclipse
, then import the project in Eclipse. - To use Intellij, run
gradlew idea
, then import the project in Intellij.
Edit the files in the src
folder, like you would for a normal project. The only special things you have to do are as follows:
Use gradlew genPatches
Use gradlew setupCarpetmod
. It WILL overwrite your local changes to src, so be careful.
In case you made changes to the local copy of the code in src
, run genPatches
to update the project according to your src.
Use gradlew createRelease
. The release will be a ZIP file containing all modified classes, obfuscated, in the build/distributions
folder.
Use mktest.cmd
to run the modified server with generated patches as a localhost server. It requires gradlew createRelease
to finish successfully as well as using default paths for your minecraft installation folder.
In case you use different paths, you might need to modify the build script. This will leave a ready server jar file in your saves folder.
It requires to have 7za installed in your paths