Download AcornLib — Minecraft Mods — ModStock
AcornLib

AcornLib

Active

Downloads

1

Last update

1 month ago

Versions

1.21.4 — 1.21.5
Client and server
Fabric
Weapons and armor
Libraries
Utils

THANKS FOR 600 DOWNLOADS!!!!

Features

Item Attack 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, 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:acorn-lib:${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.