BlossomBridge API

Quick rating

BlossomBridge API

No reviews yet

A small API for Tywrap Studios Mods, that adds a few minor things.

API/Library
Mod Loaders
Fabric
Quilt
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
2.0.2
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

BlossomBridge

A small API for Tywrap Studios Mods, that adds a few minor things.


Since version 2.1.0 of BBAPI (which is currently only available as a master-SNAPSHOT), it is suggested to bundle the API with your project instead of depending on this mod, and depending on Fabric Language Kotlin instead. As such, the maximum downloadable version you will find on this page is 2.0.2. We will no longer release this as a mod jar to keep compatibility as high as possible.

For developers: please read our 2.1.0 update docs as soon as it becomes available for more information on how to update your BBAPI version correctly, then follow the update docs subsequently until you reach the latest version. Happy days!


Such As:

  • A fletched Config system utilizing Jankson and some logic magic.
  • A simple, yet niche Logging system, to maintain a consistent log format for all our mods.
  • Good JavaDocs, so you can actually properly understand the code.

For Devs:

Project Setup

Want to use this API in your mod?
Feel free to! But keep in mind that a lot of stuff in here is specific to our workflows, so it may not be applicable to your use case.
Plus, the code is pretty minimal the moment, so it's not really worth it half the time.

Gradle Setup

BlossomBridge can easily be depended on like any other Fabric mod.
Just add the following to your build.gradle file:

repositories {
    maven { url "https://jitpack.io" }
}

dependencies {
    // Other dependencies...
    
	modImplementation("com.github.Tywrap-Studios:BlossomBridge:${project.blossombridge_version}")
}

And you add this to your gradle.properties file:

blossombridge_version="1.1.1"
# Or whatever version you want to use :)

it is always recommended to use the latest STABLE version, so you don't get any unexpected hiccups of WIP features.
Last but not least, you need to add the following to your fabric.mod.json file:

{
    "depends": {
        "blossombridge": "1.1.1"
    }
}

Mod Setup

Once you've added the mod to your project, you can start using it!
All the code is well documented using JavaDoc, so you should be able to figure out how to use it.

But as a general line of thumb, you do the following: Make a Config class that extends AbstractConfig, and then you can make a new ConfigManager to load and use it. Alongside that, also construct a LoggingHandler and you're good to go!

Do not use the BlossomBridge class! Matter of fact, don't use anything from the main package!
ANYTHING IN THE main PACKAGE IS NOT PART OF THE API, AND IS INSTEAD FOR THE ACTUAL "MOD" PART OF THE CODE!
Everything that is api is inside the api package (of course)

As an example, I suggest taking a look at Constructra, which has a lot of this API's code implemented and used.

Screenshots

Gallery

  • icon
    icon

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works