Be Proud API

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/be-proud-api
资源信息

Minecraft 版本: 1.20.1

平台: fabric

标签: decoration library

资源介绍

Be Proud API

This is a relatively simple API wrapper for the be proud mod. You can install this alongside be proud, and use it to add your own custom flags using the foundations they put in place!

Please do not put issues relating to the original mod on this github page - I am not the original author of be proud.

This mod requires be proud installed to work.

Developer Documentation

Add the mod to build.gradle:

repositories { // Add modrinth's maven
    exclusiveContent {
        forRepository {
            maven {
                name = "Modrinth"
                url = "https://api.modrinth.com/maven"
            }
        }
        filter {
            includeGroup "maven.modrinth"
        }
    }
}

dependencies { // Add the mod as a dependency
    modImplementation "maven.modrinth:be-proud-api:DYeuzHlr" // Make sure to change the version to the one you want!
    modImplementation "maven.modrinth:be-proud:xOU4yztG" // Add be proud too
}

Now to add your custom flags, simply add this line of code

public static final Flag TEST_FLAG = createFlag("test", false);

This will create a new flag, with the id "test" - The flag is not an LGBT flag so it is not added to the book (the bool value)

To finish off - you need some json files.

resources/data/beproud/recipes/printer/test/large.json // Recipes, example from the mod author - https://github.com/Duqueeee/be-proud/tree/1.20.1/src/main/resources/data/beproud/recipes/printer/lesbian
resources/data/beproud/recipes/printer/test/standard.json
resources/data/beproud/recipes/printer/test/small.json

Now you have your flag! To add textures, they should go in:

resources/assets/beproud/textures/block/flag/test/large.json // Textures, example from the mod author - https://github.com/Duqueeee/be-proud/tree/1.20.1/src/main/resources/assets/beproud/textures/block/flag/trans
resources/assets/beproud/textures/block/flag/test/standard.json
resources/assets/beproud/textures/block/flag/test/small.json
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
ZN Vanila (Reborn)

价格:0 墨喵币
下载量:0

查看详情
Sand Physics

价格:0 墨喵币
下载量:0

查看详情
Keys4Macros

价格:0 墨喵币
下载量:0

查看详情
PYES Player

价格:0 墨喵币
下载量:0

查看详情