Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dxxxxy/1.8.9forgetemplate
A fixed and ready to use template for minecraft forge modding on 1.8.9 with shadow plugin integrated including two useful artifacts. Tested flawlessly on IntelliJ IDEA Ultimate 2022.2
https://github.com/dxxxxy/1.8.9forgetemplate
artifacts fixed forge gradle intellij-idea java minecraft modding shadow template
Last synced: 3 months ago
JSON representation
A fixed and ready to use template for minecraft forge modding on 1.8.9 with shadow plugin integrated including two useful artifacts. Tested flawlessly on IntelliJ IDEA Ultimate 2022.2
- Host: GitHub
- URL: https://github.com/dxxxxy/1.8.9forgetemplate
- Owner: dxxxxy
- Created: 2021-12-19T00:06:14.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-24T05:27:09.000Z (about 1 year ago)
- Last Synced: 2024-10-09T18:40:17.023Z (3 months ago)
- Topics: artifacts, fixed, forge, gradle, intellij-idea, java, minecraft, modding, shadow, template
- Language: Java
- Homepage:
- Size: 243 KB
- Stars: 43
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 1.8.9ForgeTemplate
A fixed and ready to use template for minecraft forge modding on `1.8.9`
with `shadow` plugin integrated including two useful `artifacts`. Tested flawlessly on `IntelliJ IDEA Ultimate 2022.2````js
java 8
gradle 3.1
shadow 2.0.4
minecraft 1.8.9
forgegradle 2.1-SNAPSHOT
```## Setup
1. Clone this repository.
2. Import `build.gradle` as a project.
3. Let it configure.
4. Run `setupDecompWorkspace` in Gradle: `Tasks > forgegradle > setupDecompWorkspace`
5. Reload gradle project.
> *Check out [#build](#build), [#run](#run) and [#artifacts](#artifacts) for more information.*## Build
> *Note: If the build ever finishes with an error looking like `duplicate entry`, then run `clean` in Gradle: `Tasks > build > clean`*Run `build` in Gradle: `Tasks > build > build`
> Output .jar will be located in `build/libs/`## Run
Run `genIntellijRuns` in Gradle: `Tasks > forgegradle > genIntellijRuns`
> This will create the run configurations.
*Note: you will need to change the classpath module to `.main`*> You should add `CopyResources` from [#artifacts](#artifacts) as a `Task before launch` and drag it in front of build.
## Artifacts
> *Note: If the artifacts are not detected on setup, you might need to restart your IntelliJ.*I have included two useful artifacts that I always use when developing mods:
- `CopyMod` copies the mod from your [#build](#build) folder into your `%appdata%/.minecraft/mods`
- `CopyResources` copies the resources folder to your `build/classes/main` so they are accessible in the development environment