Skip to content

Commit

Permalink
Fix index page (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n authored Dec 13, 2023
1 parent 171390c commit 3cfb86c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
24 changes: 4 additions & 20 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ description: |
# NeoForge installer files
You can find a direct link to our latest installer files below.

{{< files "1.20.1" >}}

Note: this file is still called forge because we're trying to maintain compatibility with launchers,
assuming they don't hardcode things too much.
{{<projects>}}

## The new version is here
{{< files "1.20.1" >}}

{{<files "20.2" >}}
Note: the file is still called forge in 1.20.1 to maintain compatibility with launchers.

# Using NeoForge for mod development

Expand All @@ -29,20 +26,7 @@ assuming they don't hardcode things too much.
2. Clone this project locally, and get started! Our [Documentation] and the [Modding Wiki] are great places to learn more.

## If you have an existing mod project
You can use neoforge in your existing mod development as well. To do so:
1. Update your repositories to use `https://maven.neoforged.net/releases` instead of `https://maven.minecraftforge.net`
2. Update your ForgeGradle to use NeoGradle 6.0.13 or above:
```
plugins {
...
id 'net.neoforged.gradle' version '[6.0.13, 6.2)'
}
```
3. Update your `minecraft` dependency to use `net.neoforged:forge` and the version as shown above.
### Some things to note
1. At the present time, mods built by either system should be intercompatible between forks.
2. Do note that recently, there were some changes in the recommended way to use ForgeGradle/NeoGradle. Note especially the way that `settings.gradle` has changed, as well as the removal of the `buildscript` section in `build.gradle`. Refer to [The MDK] for an example and more.
Refer to [The MDK] for an example of how to update your build script to use NeoForge.

[The MDK]: https://github.com/neoforged/MDK
[Documentation]: https://docs.neoforged.net
Expand Down
7 changes: 7 additions & 0 deletions layouts/shortcodes/projects.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div id="projectlink" class="fileinfo">
<div class="fileinfo__header">NeoForge for Minecraft 1.20.2 and newer</div>
<div class="fileinfo__body">
<a href="https://projects.neoforged.net/neoforged/neoforge"><span class="fileinfo__icon"><i class="bi-file-earmark-arrow-down-fill" style="font-size: 2rem;"></i></span>
<span class="fileinfo__content"><span>Click here to go to the version list!</span></span></a>
</div>
</div>

0 comments on commit 3cfb86c

Please sign in to comment.