AcornLib

AcornLib

Mod

An API with features to make modding easier, including new Components, Particles, and Weapon Skins, and Supporter Perks.

Client and server DecorationEquipmentGame MechanicsLibraryManagementTransportationUtility

1,270 downloads
7 followers
Follow Save

THANKS FOR 1200 DOWNLOADS!!!!

fabric-api modmenu discord ko-fi

Features

Item Kill Customization [Developers Only]

  • Support for custom attacking particles & sounds
  • Kill effect items (both killing the entity, and not)

Extra Item Components

  • Two-Handed Component (Pretty Self-Explanatory)
  • Crossbow Holding Components (Makes item be pointed at the holder's look direction)
  • Show Hand (Shows the hand when holding an item)
  • Undroppable Component
  • Item Skin Component (string)
  • Custom Hit Particle Component (example below)

More Commands

  • Velocity command (exact & directional)

Supporter System

  • Ability to make mods supporter only
  • Custom perks for supporters and friends in other mods using this library

Oh yeah, and to make this even more like a Ratatouille ripoff, have a (few) custom plushie of me (and my friends), on the house :]

(THIS IS A JOKE, I TRIED TO DIFFERENTIATE FROM RATATOULIE, RAT PLEASE DON'T SUE ME)

Baby on ma' Head :3

Examples

Custom Hit Particle Component Give Command

give @s acornlib:gnarp_plush[acornlib:hit_particle={particle:"acornlib:green_sweep"}]

Notice: You have to put a valid identifier in the sweep particle, otherwise it sends an invalid packet, and kicks you from the game, might even crash your server, haven't checked

Example on how to implement

Put this in your repositories

repositories {
    // Modrinth
    exclusiveContent {
        forRepository {
            maven {
                name = "Modrinth"
                url = "https://api.modrinth.com/maven"
            }
        }
        filter {
            includeGroup "maven.modrinth"
        }
    }

    // Mod Menu
    maven {
        name = "Terraformers"
        url = "https://maven.terraformersmc.com/"
    }
}

Put this in your dependencies

dependencies {
    // AcornLib
    modImplementation "maven.modrinth:acornlib:${project.acornlib_version}"

    // Config
    modApi ("com.terraformersmc:modmenu:${project.modmenu_version}")
    modImplementation ("maven.modrinth:midnightlib:${project.midnightlib_version}+1.21.4-fabric")
}

Credits

The Acorn Texture is made by ShinyEmerald, in a resource pack listed here.


Project members

AcoYT

Owner / Mod Developer

Mythorical

Non-plush bro

Details

Licensed AcoYT License
Published 8 months ago
Updated 10 days ago