This repository has been archived by the owner on Sep 12, 2022. It is now read-only.
Major change to Forge-loom Getting Started #1
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
priority: low
This does not immediately need to be resolved
https://architectury.github.io/architectury-documentations/docs/forge_loom/getting_started.html
My proposal is you don't try and create a forge (forge-loom) mod from the fabric example mod but the architectury example mod. It is extremely confusing for someone trying to create a forge only mod using forge-loom (mostly because the
Getting Started
does not state some things, i.e. changing the fabric resources to forge. and yes i was dumb not to think about it but it still happened and i had to learn it the hard way).The reason I think this is better is because its easily laid out for both forge and fabric (and architectury multi-mod) instead of having fabric in the focus and then confusion at the end for forge. what you would do for one is what you would do for the other, is what im trying to say.
OK on with the proposal. im just going to make a fast tutorial.
'Main:' = the
main
directory'Forge:' = the
forge
directory'Fabric:' = the
fabric
directoryML:
=Forge:
orFabric:
directory (Depending on which route you go)When I list a few things to copy but don't say were to place it read a little more down
I tested this by making forge version. though this was written after so there may be a mistake. but the concept is the same.
1 Make 'em copies
Clone architectury-example-mod
2 Fixing the main gradle files and choosing a side(Mod Loader)
In Main:build.gradle:
apply false
off ofid "forgified-fabric-loom" version "0.6.59" apply false
architectury
in it.dependencies
outside ofsubprojects
then deletesubprojects
all
the contents ofallprojects
then deleteallprojects
In Main:gradle.properties:
architectury_version=1.5.101
forge_version=36.0.1
)loom.forge=true
(don't worry fabric will get its extra step too)In Main:settings.gradle:
pluginManagment
. so theinclude()
's androotProject.name
3 The Pre-Split
common
directoryin ML:build.gradle:
processResources
group.in Main:build.gradle:
processResources
group4.1 For Forge
fabric
directoryIn Forge:build.gradle:
forge "net.minecraftforge:forge:${rootProject.minecraft_version}-${rootProject.forge_version}"
dependencyIn Main:build.gradle:
dependencies
Copy the
src
directory from theforge
directory to themain
directory and delete theforge
directoryNow your done and have a broken forge example mod (better than a fabric example mod though)
4.2 For Fabric
forge
directoryIn Fabric:build.gradle:
modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
dependencymodCompile "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
dependencyIn Main:build.gradle:
modCompile
tomodImplementation
on the dependencies you just pasted (remember the extra step I mentioned)Copy the
src
directory from thefabric
directory to themain
directory and delete thefabric
directoryNow your done and have a broken fabric example mod (better than a forge example mod though)
Finished
What you guys have going on here is amazing but there needs to be a better way to make either a fabric or a forge mod with a standard system were everyone can hop on and try, unlike how you have it now were its more fabric or both with the arch. plugin, where as forge kinda just gets left in the dust. anyway keep up the great work.
P.S. If i sound like a bit of a dick its not my intention, I'm just trying to improve this.
The text was updated successfully, but these errors were encountered: