GithubHelp home page GithubHelp logo

architectury / architectury-documentations Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 10.0 156 KB

Source of documentations of architectury.

Home Page: https://architectury.github.io/architectury-documentations/

HTML 6.21% Ruby 17.32% SCSS 76.48%

architectury-documentations's People

Contributors

algorithmlx avatar dependabot[bot] avatar juuxel avatar maxneedssnacks avatar piemanau avatar shedaniel avatar slexom avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

architectury-documentations's Issues

Major change to Forge-loom Getting Started

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 directory
ML: = Forge: or Fabric: 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:

  • in plugins remove apply false off of id "forgified-fabric-loom" version "0.6.59" apply false
  • delete everything that has architectury in it.
  • move dependencies outside of subprojects then delete subprojects
  • move all the contents of allprojects then delete allprojects
    In Main:gradle.properties:
  • delete architectury_version=1.5.101
  • Depending on which side you chose delete the all of other sides properties(i.e. for fabric delete forge_version=36.0.1)
  • if you chose forge add loom.forge=true (don't worry fabric will get its extra step too)
    In Main:settings.gradle:
  • delete everythng past pluginManagment. so the include()'s and rootProject.name

3 The Pre-Split

  • Delete the common directory
    in ML:build.gradle:
  • copy the whole processResources group.
    in Main:build.gradle:
  • paste the processResources group

4.1 For Forge

  • Delete the fabric directory
    In Forge:build.gradle:
  • copy forge "net.minecraftforge:forge:${rootProject.minecraft_version}-${rootProject.forge_version}" dependency
    In Main:build.gradle:
  • paste the forge dependency in dependencies
    Copy the src directory from the forge directory to the main directory and delete the forge directory
    Now your done and have a broken forge example mod (better than a fabric example mod though)

4.2 For Fabric

  • delete the forge directory
    In Fabric:build.gradle:
  • copy modCompile "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}" dependency
  • copy modCompile "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}" dependency
    In Main:build.gradle:
  • paste both the dependencies in the dependencies group
  • change modCompile to modImplementation on the dependencies you just pasted (remember the extra step I mentioned)
    Copy the src directory from the fabric directory to the main directory and delete the fabric directory
    Now 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.