Provides reflection utilities and log4j libraries for the Minecraft fabric mod dev environment, at least Java 8.
Usage:
build.gradle
repositories {
maven {
url = "https://artifactory.kow08absty.com/artifactory/fabricmc"
}
}
dependencies {
implementation include("me.lonefelidae16:groominglib:1.0.0-SNAPSHOT")
}implements org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin
Allows you to specify whether to apply the entire Mixin package to the currently running version of Minecraft.
A java.lang.reflect utility for searching for compatible classes.
The search is based on package names, and version numbers must be converted to underscores (e.g., 1.21.11 → 1_21_11).
implements org.apache.logging.log4j.message.MessageFactory,
org.apache.logging.log4j.message.MessageFactory2
Provides a MessageFactory that adds [prefix] to every log output line to help distinguish entries in the Minecraft log file.
class YourModClass {
static final org.apache.logging.log4j.Logger LOGGER;
static {
LOGGER = org.apache.logging.log4j.LogManager.getLogger(
YourModClass.class,
new PrefixableMessageFactory(YourModClass.class.getSimpleName())
);
LOGGER.info("Hello from static initializer!");
}
}Outputs for example:
[12:34:56] [main/INFO]: [YourModClass] Hello from static initializer!