Download macu lib — Minecraft Mods — ModStock

macu lib

Active

Downloads

0

Last update

2 months ago

Versions

1.20.1 — 1.21.5
Client and server
Fabric
Forge
Neoforge
Quilt
Libraries

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
Project members
macuguita

macuguita

Developer