Skip to content

Latest commit

 

History

History
66 lines (53 loc) · 2.24 KB

File metadata and controls

66 lines (53 loc) · 2.24 KB


Getting Started(NeoForge)

This tutorial assumes you are using Intellij(Highly Recommended)!

Setup:

1. Download & install Intellij Community Edition:

Intellij download page with arrow pointing to Community Edition

2. Install the Minecraft plugin:

Tip: Ctrl + Alt + s to open settings.

Minecraft Development plugin page on Intellij Marketplace

3. Create your mod project:

Select the "Minecraft" wizard

Intellij select wizard screen

Select NeoForge as the Template

Intellij neoforge create project screen

Fill in your information:

  • Name(ex. ExampleMod)
  • Group ID Build System Properties -> Group ID(ex. com.example OR com.github.yourusername)
  • Version Build System Properties -> Version(ex. 1.0.0 OR 1.0.0-alpha)

Hit Create:

Intellij project create button

Importing ShieldLib:

1. Version

Add shieldlib_version to your gradle.properties. Find Latest full release

shieldlib_version=[VERSION] (ex. 2.0.0-1.21.8)

2. Add to project

Add modrinth maven repository in build.gradle

repositories {
    //other stuff here
    maven {url = "https://api.modrinth.com/maven"}
}

Add to dependencies using modImplementation

dependencies {
    //other stuff here
    modImplementation "maven.modrinth:shieldlib:${project.shieldlib_version}-neoforge"
}

Creating your first shield: