Update README.MD

This commit is contained in:
Armamem0t 2025-07-14 21:21:22 +08:00
parent 187ca0de0e
commit a3c0a63c5b
Signed by: minglipro
GPG Key ID: 5F355A77B22AA93B

View File

@ -30,8 +30,19 @@
]
}
```
- mod 开发者适配 Demo
### mod 开发者适配 Demo
- 仓库
```groovy
maven {
name "mingliqiye-maven-repo-gitee"
url "https://gitee.com/minglipro/maven-repository-raw/raw/master"
}
```
- 添加依赖
```groovy
modImplementation "com.mingliqiye.minecraft.enchantment.conflict:enchantmentdoesnotconflict:1.21-1.4"
```
- Demo
```java
import com.mingliqiye.minecraft.enchantment.conflict.enchantment.Enchantment;