Mineuniverse
Mods
BedRacketAPI

BedRacketAPI

MOD
BedRacketAPI provides you powerful events features in the fabric development environment, helping you achieve your amazing ideas.
by thaumstrial
Download Claim this project
Add a badge to your pageLink to BedRacketAPI from a README, website or forum post.
Preview: Badge

Badges update automatically and link to the mod page on MineUniverse.

140 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
API and Library Server Utility Twitch Integration Utility & QoL
Advertisement Remove ads with Premium →

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

```java @EventHandler

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

```java

@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

BedRacket-1.0.2.jar
MC 1.19.3, Fabric, Client, Server
Alpha 2023-03-14 Get
BedRacket-1.0.0.jar
MC 1.19.3, Fabric, Client, Server
Release 2023-03-13 Get
Advertisement Remove ads with Premium →

You Might Also Like