-
Notifications
You must be signed in to change notification settings - Fork 9
Ajouter l'API à votre projet
Nous allons voir comment simplement ajouter l'API et ainsi l'utiliser pour votre projet
Ajoutez ces lignes dans le 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'
}Puis changez deux paramètres:
[API-VERSION] par la version de l'API (Ex: 0.3.0.86)
[MINECRAFT-VERSION] par la version de Minecraft, (Ex: 1.11.2)
[-beta] à ajouter si vous utiliser une version beta.
Vous devriez avoir: com.leviathanstudio:CraftStudio:0.3.0.86-mc1.11.2-beta
Pas de panique vous pourrez retrouver la liste des versions ICI ou directement sur le maven
Une fois ces lignes ajoutées, lancez simplement un gradlew setupDecompWorkspace suivit de gradlew eclipse
Vous voilà prêt pour démarrer votre projet !
○ 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
