macu lib

macu lib

Mod

Library for my mods and adding supporter perks

Client and server

10.2k downloads
2 followers
Follow Save

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

Member

Details

Licensed LGPL-3.0-only
Published 6 months ago
Updated 5 months ago