▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/RPdepent
RPdepent

RPdepent

This is a simple Minecraft mod that checks whether the resource pack dependencies are present in your installed mods.

786
7

RPdepent title beta

Discord Server license codeberg repo Modrinth Version

how to use for resource pack and data pack creators: you just need to put in the root of your resource pack/data pack a file named "RPD.toml", like this:

and inside the file you need to do something like this:

[[Mods]]
id = "coolMod"
version = "1.2"

[[Mods]]
id = "anotherCoolMod"
version = "3.23"

to be noted:

the empty line between one mod and another is necessary, so configs like:

[[Mods]]
id = "coolMod"
version = "1.2"
[[Mods]]
id = "anotherCoolMod"
version = "3.23"

and

[[Mods]]
id = "coolMod"
version = "1.2"
id = "anotherCoolMod"
version = "3.23"

are WRONG!

you can also write "any" instead of the version to allow any mod version to be used

[[Mods]]
id = "coolMod"
version = "any"

[[Mods]]
id = "anotherCoolMod"
version = "3.23"

Mods alternatives

with this you can have multiple alternatives for a mod

[[Mods]]
id = "coolmod"
version = "any"

    [[Mods.Alternatives]] #the indentation is highly suggested
    first = {id = "mod", version = "1.21"}
    second = {id = "boringmod", version = "0.2"}


[[Mods]]
id = "leggenadarymod"
version = "any"

[[Mods.Alternatives]] # but as shown here, not necessary
potato = {id = "normalmod", version = "1.21"}

i suggest to use the indentation because it's more understandable for you and whoever read the file after you

this is the legacy config to allow alternative mods

i highly suggest you to use the new method, this one is here only for retro-compatibility

[[Mods]]
id = "coolMod||lessCoolMod"
version = "any"

[[Mods]]
id = "boringMod||epicMod||suckerMod"
version = "any"

so RPdepent will check if there is at least 1 of the mods be aware that it's suggested to just put "any" in the version field since you can't decide (yet) the version for each of them

TO BE NOTED:

it's highly suggested to just use "any" in the version field since there is no ">", "<" , ">=", "<=" operator, it's impossible to do with mods versions

how to build

You just need to clone the repository on your IDE and run the gradle task "build"

Icons made by Cyber, thank you Cyber :p

Совместимость

Minecraft: Java Edition

26.1.x1.21.x1.20.x

Платформы

Поддерживаемые окружения

Клиент

Создатели

Детали

Лицензия:GPL-3.0-only
Опубликован:6 месяцев назад
Обновлён:1 месяц назад
Главная