Server side land claiming mod for fabric.
Translations for Flan depends on the community. Submitting a translation to the mod is simple:
- Fork this repository
- Create a translation
.json
-file undercommon/src/main/resources/data/flan/lang
.
Use the english translation undercommon/src/generated/resources/data/flan/lang
as reference. - Create a PR to submit your translation
If you want to add integration to flan first add the following snippet to your build.gradle
repositories {
maven {
name = "Flemmli97"
url "https://gitlab.com/api/v4/projects/21830712/packages/maven"
}
}
dependencies {
//Fabric==========
modCompileOnly("io.github.flemmli97:flan:${minecraft_version}-${flan_version}-${mod_loader}:api") {
transitive = false //Remove this if you want to have all those optional dependencies
}
modRuntime("io.github.flemmli97:flan:${minecraft_version}-${flan_version}-${mod_loader}") {
transitive = false //Remove this if you want to have all those optional dependencies
}
//Forge==========
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}")
}
To check if an action can be done simply call ClaimHandler#canInteract(ServerPlayer player, BlockPos pos, ResourceLocation permission)