Back to mods
BlossomBridge API project artwork

Modrinth · Minecraft mod

BlossomBridge API

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which BlossomBridge API release matches 1.20.2?

Updated 1 year ago
Best match for your filters 2.0.2
Game version 1.19.2, 1.19.3, 1.19.4
Loader Fabric, Quilt

BlossomBridge API 2.0.2 targets 1.19.2, 1.19.3, 1.19.4 with Fabric, Quilt. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is BlossomBridge API required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does BlossomBridge API 2.0.2 need?

2.0.2 on 1.20.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric Language Kotlin first. We found matching files for this game-version and loader setup.

Fabric Language Kotlin Needed by BlossomBridge API 2.0.2
required
Matching file found Matched file: 1.14.2+kotlin.2.4.21

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add BlossomBridge API without breaking your instance.

Built for BlossomBridge API 2.0.2 on 1.20.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.2. It targets 1.19.2, 1.19.3, 1.19.4 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric Language Kotlin first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.2. It opens that exact file at the source.

About this project

What does BlossomBridge API add?

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.

Project description from Modrinth.

Pick your setup

BlossomBridge API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

38 available setups

Showing the newest 12 of 19 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

BlossomBridge API versions and loaders

2 of 6 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.