Gels+
Just playing around making the gels from Portal 2 for fun.
How to compile
- Download and install JDK and Gradle
- There is an excellent tutorial on how to do this on Equivalent Exchange 3 github page. see here for java and here for gradle.
- Download the source. It is recommended you use
git clone https://github.com/Lomeli12/GelsPlus
to download. - Go into the folder where you have downloaded the source.
- Run
gradle clean setupCIWorkspace
- Run
gradle build
. Will require an internet connection to download libraries. - Compiled jar should be in build/libs.
Using the API
- Setup your environment like normal.
- Include
dependencies = "after:GelsPlus"
in your @Mod annotation. - Make a class for each gel that you want to make that extends GelAbility, making sure to fill all the methods that apply.
- To register your gel, use the following function in your FMLInitializationEvent or FMLPostInitializationEvent.
GelAbility.gelRegistry.addGel(new YourCustomGel());
Note
This mod is not related to Portal Gun by iChun and does not require it to run. However, it was made with Portal Gun in mind.