Lib39/README.md
3944Realms c653832a9c
docs: Update implementation section in README.md
Clarified implementation instructions for version 0.5.0+.
2026-03-16 12:35:31 +08:00

58 lines
1.6 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Lib39
![GitHub Release](https://img.shields.io/github/v/release/3944Realms/Lib39) [![License](https://img.shields.io/github/license/3944realms/lib39)]()
[![CurseForge Download](https://img.shields.io/curseforge/dt/1445917?logo=curseforge&label=CurseForge)](https://www.curseforge.com/minecraft/mc-mods/lib-39)
[![Modrinth Download](https://img.shields.io/modrinth/dt/n65Vs1Vk?logo=modrinth&label=Modrinth)](https://modrinth.com/mod/lib-39)
**Lib39** is a general-purpose dependency library for Minecraft mods.
It provides utility methods and core functionality that other mods can build upon.
### How to implementation? ( Only for Version 0.5.0+ )
#### **In repositories:**
```groovy
maven {
name = "LTD Maven"
url = "https://nexus.bot.leisuretimedock.top/repository/maven-public/"
}
```
#### **In dependencies:**
##### General
**gradle.properties**
```properties
lib39_version=0.5.1
````
##### For Loom
**build.gradle**
```groovy
dependencies {
modImplementation("top.r3944realms.lib39:lib39-fabric-1.20.1:${lib39_version}")
}
```
##### For ForgeGradle
**build.gradle**
```groovy
dependencies {
implementation fg.deof("top.r3944realms.lib39:lib39-forge-1.20.1:${lib39_version}")
}
```
##### For NeoForgeGradle / ModDevGradle
**build.gradle**
```groovy
dependencies {
modImplementation("top.r3944realms.lib39:lib39-forge-1.20.1:${lib39_version}")
}
```
##### For MultiLoader Project
Add this in your common subproject.
**build.gradle**
```groovy
dependencies {
implementation("top.r3944realms.lib39:lib39-common-1.20.1:${lib39_version}")
}
```