macu lib
This is a library for my mods, like multi-platform item & block registering and adding supporter perks, like different cosmetics.
Here's an example on how to register an Item in minecraft version 1.20.1
public static final GuitaRegistry<Item> ITEMS = GuitaRegistries.create(Registries.ITEM, MOD_ID);
public static final GuitaRegistryEntry<Item> CUSTOM_ITEM = ITEMS.register("custom", () -> new Item(new Item.Settings()));
public static void init() { ITEMS.init(); }
where the init() method is the mod initializer
How to Use
Add this mod to your build.gradle using the Modrinth Maven like this
modImplementation "maven.modrinth:macu-lib:${project.maculib_version}"
Support
If you encounter any issues or have suggestions, feel free to:
-
Open an issue on GitHub.
-
Send me a DM on Discord @macuguita
-
Message me on any platform I linked in my website: macuguita.com
-
You are free to use this mod in any Modpack in this platform
Credits
- Developer: macuguita
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.21.1
1.20.1
Platforms
Fabric