Skip to content

Commit 201e4bc

Browse files
committed
goofy library import guide
1 parent 7c767e1 commit 201e4bc

2 files changed

Lines changed: 36 additions & 2 deletions

File tree

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,31 @@ This project was orignally a fork of All the Trims, until I realized I did not n
1010
what I _did_ need I was better off writing myself. All the Trims was heavily used as a reference for some features, however. Some code
1111
may appear very similar, as the base concept of what All the Trims does is similar to what Simple Trims does for material types.
1212

13+
---
14+
15+
## Include in Project
16+
_To embed SimpleTrims in your mod (JiJ'd):_
17+
18+
### In `build.gradle`
19+
#### top `repositories` block
20+
```
21+
repositories {
22+
maven { url "https://jitpack.io" } // Fetch from jitpack
23+
}
24+
```
25+
#### `dependencies` block
26+
```
27+
repositories {
28+
include(implementation("com.github.diamonddevv:simple-trims:${project.simple_trims_version}"));
29+
}
30+
```
31+
### In `gradle.properties`
32+
```
33+
simple_trims_version=<Insert version you wish to use here!>
34+
```
35+
36+
---
37+
1338
## **This is a work in Progress!**
1439
_Here be dragons_
1540
- There are a parts of this mod incomplete:
@@ -27,5 +52,7 @@ _Here be dragons_
2752
- Once the system is functional, I will be creating a wiki on how to use this system.
2853
- Vanilla Packs for armor trims _should_ still work.
2954

30-
# Credits
31-
- [Benjamin Norton](https://github.com/Benjamin-Norton) for their mod All the Trims, of which this is heavily inspired and referenced from.
55+
---
56+
57+
# Credits
58+
- [Benjamin Norton](https://github.com/Benjamin-Norton) for their mod All the Trims, of which this is heavily inspired and referenced from.

src/main/resources/fabric.mod.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
"mixins": [
3030
"simpletrims.mixins.json"
3131
],
32+
33+
"custom": {
34+
"modmenu": {
35+
"badges": [ "library" ]
36+
}
37+
},
38+
3239
"accessWidener": "simpletrims.accesswidener",
3340
"depends": {
3441
"fabricloader": ">=0.14.21",

0 commit comments

Comments
 (0)