flan/README.md

37 lines
1.9 KiB
Markdown
Raw Normal View History

2021-09-04 09:46:16 -04:00
# Flan [![](http://cf.way2muchnoise.eu/full_404578_Fabric_%20.svg)![](http://cf.way2muchnoise.eu/versions/404578.svg)](https://www.curseforge.com/minecraft/mc-mods/flan) [![](http://cf.way2muchnoise.eu/full_493246_Forge_%20.svg)![](http://cf.way2muchnoise.eu/versions/493246.svg)](https://www.curseforge.com/minecraft/mc-mods/flan-forge) [![Discord](https://img.shields.io/discord/790631506313478155?color=0a48c4&label=discord)](https://discord.gg/8Cx26tfWNs)
2020-08-23 08:52:36 -04:00
2021-06-09 08:59:00 -04:00
Server side land claiming mod for fabric
2021-07-31 12:29:21 -04:00
To use flan in your dependencies add the following snippet to your build.gradle (1.16 version. see 1.17 branch for that)
2021-06-09 08:59:00 -04:00
```gradle
repositories {
maven {
name = "Flemmli97"
url "https://gitlab.com/api/v4/projects/21830712/packages/maven"
}
}
dependencies {
2021-07-31 12:17:30 -04:00
modImplementation "io.github.flemmli97:flan:${minecraft_version}-${flan_version}" // for version 1.5.0 below
2021-07-20 18:33:27 -04:00
//Fabric==========
2021-07-31 12:17:30 -04:00
modImplementation "io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}" // for version [1.5.0,1.6.0)
2021-07-20 18:33:27 -04:00
//Use the following lines for 1.6.0+
2021-07-31 12:17:30 -04:00
modCompileOnly("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}-api") {
2021-07-20 18:33:27 -04:00
transitive = false //Remove this if you want to have all those optional dependencies
}
2021-07-31 12:17:30 -04:00
modRuntime("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}") {
2021-07-20 18:33:27 -04:00
transitive = false //Remove this if you want to have all those optional dependencies
}
//Forge==========
2021-07-31 12:17:30 -04:00
compile fg.deobf("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}") // for version [1.5.0,1.6.0)
2021-07-20 18:33:27 -04:00
//Use the following lines for 1.6.0+
2021-07-31 12:17:30 -04:00
compileOnly fg.deobf("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}-api")
runtimeOnly fg.deobf("io.github.flemmli97:flan:${minecraft_version}-${flan_version}:${mod_loader}")
2021-06-09 08:59:00 -04:00
}
```