ModsJava
RepositoryKit
Minecraft Java mod. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotThe RepositoryKit provides a ServiceManager and a HookManager for BungeeCord as well as Bukkit in one single API. The API of the ServiceManager is the good old known one form the Bukkit API. This Kit brings it also to BungeeCord. That means you are now able to create one API that can be used on Bukkit as well as on BungeeCord! The goal of this idea is to give developers a uniform possibility to create APIs for Bukkit and BungeeCord and unify the registration.
The API for Services
Registering a service:
Code (Text):
RepositoryKit.getServicesManager().register(SomeAPI.class, new SomeAPIImplementation(), null, ServicePriority.NORMAL);
Getting a registration:
Code (Text):
SomeAPI api = RepositoryKit.getServicesManager().getRegistration(SomeAPI.class);
The API for Hooks:
Registering a hook:
Code (Text):
RepositoryKit.getHookManager().registerHook("SomePlugin", new MyHook(), ImportanceLevel.OPTIONAL);
Code (Text):
public class MyHook implements Hook {
@Override
public void onHook(String pluginName, ImportanceLevel importanceLevel, boolean successfullyHooked) {
if (successfullyHooked) {
// DO SOMETHING
} else {
// TO SOMETHING ELSE
}
}
}
@Override
public void onHook(String pluginName, ImportanceLevel importanceLevel, boolean successfullyHooked) {
if (successfullyHooked) {
// DO SOMETHING
} else {
// TO SOMETHING ELSE
}
}
}
Will be available with the next update.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
RepositoryKit is a free Minecraft Java mod. Downloaded 101 times (via Spigot). Download it and open it directly in the game.