Back to mods
BedRacketAPI project artwork

CurseForge · Minecraft mod

BedRacketAPI

BedRacketAPI provides you powerful events features in the fabric development environment, helping you achieve your amazing ideas.

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

Quick answer

Which BedRacketAPI release should I use?

Updated 3 years ago
Latest stable file BedRacket-1.0.0.jar
Game version 1.19.3
Loader Fabric

BedRacketAPI BedRacket-1.0.0.jar targets 1.19.3 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is BedRacketAPI required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

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

The source does not explicitly classify this release as client-only or server-only.

What else does BedRacketAPI BedRacket-1.0.0.jar need?

BedRacket-1.0.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add BedRacketAPI without breaking your instance.

Built for BedRacketAPI BedRacket-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use BedRacket-1.0.0.jar. It targets 1.19.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside BedRacket-1.0.0.jar. It opens that exact file at the source.

About this project

What does BedRacketAPI add?

BedRacketAPI

Description

Because fabric lacks a powerful event system like forge, it will be very tedious for developers to register events each time, and it will also cause a lot of confusion for developers who are used to using forge. Our team developed BedRacketAPI, a Fabric-based mod, and provided a large number of event systems to prevent developers from repeatedly making wheels.

Requirements

Minecraft == 1.19.3

Fabric Version >= 0.75.1+1.19.3

Examples of Use

Register events you wanted


public static void onItemTick(ItemTickEvent event) {

if (event.getEntity().getItem().is(Items.STICK)) {

    BedRacket.LOGGER.info(event.getEventName() + " test Successfully!");

}

}

@EventHandler

public static void onLivingJump(LivingJumpEvent event) {

if (event.getEntity() instanceof final Player player) {

    if (!player.isCreative()) {

        player.sendSystemMessage(Component.literal(event.getEventName() + " test Successfully!"));

    }

}

}

@EventHandler

public static void onLivingTick(LivingTickEvent event) {

if (event.getEntity().getType() == EntityType.PIG) {

    if (event.getEntity().isInWater()) {

        BedRacket.LOGGER.info(event.getEventName() + " test Successfully!");

    }

}

}


Register listeners with your main class just like you would with bukkit


@Override

public void onInitialize() {

BedRacket.EVENT_BUS.register(new TestListerner());

}


You can get more information form the source code of BedRacketAPI

TODO

javadoc described each event class

open source code on github

Project description from CurseForge.

Pick your setup

BedRacketAPI by Minecraft version and loader

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

1 available setups

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

Recent files

BedRacketAPI versions and loaders

2 of 2 releases match

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