About creating an addon or an add-on to ic2c
proxima812 opened this issue · 5 comments
How can I write (create a new item for the addon, or in ic2 1.19.2 itself, let's say a "quantum solar panel" to make a craft and its parameters, and so on? Please tell me. How can I do this via the ic2 API?
- 1: Install your dev enviorment
- 2: Include these entries in your gradle.build file. Make sure not to blindly copy paste it, but merge it together properly.
repositories {
maven {
url "https://www.cursemaven.com"
content {
includeGroup "curse.maven"
}
}
}
dependencies {
implementation fg.deobf("curse.maven:ic2_classic-242942:5612597")
}
- 3: Make sure this code is present within your runs area in gradle.build Reference
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
- 4: Refresh your gradle. ic2c should now be included.
- 5: Make sure you include a decompiling plugin that way you can also look at the source.
- 6: Look how ic2c implemented the features you wanted. (You are to vague that i can't give better instructions)
- 7: IMPORTANT: Make sure not to blindly copy paste ic2c code otherwise i will have to take your project down. If there is somehting where you have 0 choice (i have to agree with that by the way) then its fine to copy but if not then leave it.
- 8: There is a discord with addon devs present.
OK. I'll try to make an addon separately, like advanced solars panels.
https://www.curseforge.com/minecraft/mc-mods/advanced-solars-classic
OK. I'll try to make an addon separately, like advanced solars panels.
https://www.curseforge.com/minecraft/mc-mods/advanced-solars-classic
Yes, I'm just studying its source code. I'll just add what I need there.
- 1: Install your dev enviorment
- 2: Include these entries in your gradle.build file. Make sure not to blindly copy paste it, but merge it together properly.
repositories { maven { url "https://www.cursemaven.com" content { includeGroup "curse.maven" } } } dependencies { implementation fg.deobf("curse.maven:ic2_classic-242942:5612597") }
- 3: Make sure this code is present within your runs area in gradle.build Reference
property 'mixin.env.remapRefMap', 'true' property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
- 4: Refresh your gradle. ic2c should now be included.
- 5: Make sure you include a decompiling plugin that way you can also look at the source.
- 6: Look how ic2c implemented the features you wanted. (You are to vague that i can't give better instructions)
- 7: IMPORTANT: Make sure not to blindly copy paste ic2c code otherwise i will have to take your project down. If there is somehting where you have 0 choice (i have to agree with that by the way) then its fine to copy but if not then leave it.
- 8: There is a discord with addon devs present.
OK. I'll try to make an addon separately, like advanced solars panels.
OK. I'll try to make an addon separately, like advanced solars panels.
https://www.curseforge.com/minecraft/mc-mods/advanced-solars-classic