Add the API to your project
We are going to see how to simply add the API and use it for your projet
Add thes lignes to the build.gradle:
repositories {
maven {
name = "leviathan"
url = "https://repo.leviathan-studio.com/leviathan/"
}
}
dependencies {
compile 'com.leviathanstudio:CraftStudio:[API-VERSION]-mc[MINECRAFT-VERSION][-beta]:dev'
}
Then change the two parameters:
Replace [API-VERSION]
by the version of the API (Ex: 0.3.0.86
)
Replace [MINECRAFT-VERSION]
by the minecraft version of the API, (Ex: 1.11.2
)
Remove the bracket of [-beta]
if you are using a beta version, completely remove it otherwise.
You should have something like this: com.leviathanstudio:CraftStudio:0.3.0.86-mc1.11.2-beta
You can find the list of all version here or directly on the maven
Once you've add these lignes, just launch a gradlew setupDecompWorkspace
and a gradlew eclipse
.
You are now ready to start your project !
○ CraftStudio
-
[EN] Export CraftStudio's Model(s), Animation(s) and Texture
-
[FR] Exporter les Modèles, Animations et Texture de CraftStudio
○ Minecraft Forge
-
JavaDoc(0.1)
-
[FR/EN] Example Mod
-
[EN] Tutorials
- Entities
- Blocks
- Add a render to a block (W.I.P)
- How to animate a block (W.I.P)
-
[FR] Tutoriels
- Entités
- Blocs
- Ajouter un rendu à un bloc (W.I.P)
- Comment animer un bloc (W.I.P)
○ [EN/FR] Version of the Api