Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App
Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
macu lib

macu lib

Library for my mods and adding supporter perks

4,847
2
AboutChangelogVersions

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
Forge
NeoForge
Quilt

Supported environments

Server only
Singleplayer

Links

Report issues View source
Donate on Ko-fi

Creators

macuguita
macuguita Member

Details

Licensed LGPL-3.0-only
Published 2 months ago
Updated last month

Modrinth is open source.

new-project-page@ac78952

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.