CurseForge · Minecraft mod
BedRacketAPI
BedRacketAPI provides you powerful events features in the fabric development environment, helping you achieve your amazing ideas.
Quick answer
Which BedRacketAPI release should I use?
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.
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.
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.
- 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.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 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.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
BedRacketAPI versions and loaders
BedRacket-1.0.2.jar
14 Mar 2023
BedRacket-1.0.0.jar
13 Mar 2023
Looking for an older file? The official CurseForge project page is in Resources.