Перейти к содержимому
Mineforgian

AcornLib

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

Загрузки
9K
Подписчики
13
Обновлён
20 августа 2026 г.
Лицензия
AcoYT-License

Опубликован 21 декабря 2024 г.

THANKS FOR 8,800 DOWNLOADS!!!!

fabric-api modmenu ko-fi

Features

  • Mixin annotations for only loading when a certain mod is loaded, or only when in dev env

  • Builder system for making data generation of data classes (damage types, jukebox songs, tags, etc.) a ton easier! (As well as one specifically for making model layers easier, though it's a bit funky)

  • A sound instance that changes volume depending on how close players are to a specified location

  • Screen alignments for rendering images at certain locations on the screen

  • All easings from easings.net in an interface class

  • An interface that you can implement in your mob effect class to make it unclearable

  • Many events (See here for a full list)

  • An armor attributes helper, for adding attributes to certain

  • Kill effect items (normal and no die [will run the effect, but will keep them alive, as if they used a totem])

  • Events

    • Can consume event (disallows entities to eat if false)
    • Can entity heal event (disallows entities to heal if false)
    • Custom riptide event (returns an optional identifier [will not render if empty])
    • Render screen overlay event (renders an overlay over the player's screen)
  • Custom item settings class (allows easy application of components)

  • Advanced burning item (applies fire before damage, meaning entities will drop cooked food when one-shot)

  • Base item with skins

  • Shield-breaker item (returns the number of seconds to disable the shield, as a float)

  • Utility classes

    • ItemUtils
    • MiscUtils
    • ParticleUtils
    • PortingUtils
    • VelocityUtils
  • ModMenu compat helper

    • Ability to change mod name color in ModMenu
    • Ability to add (up to) two icons for your mod

Extra Item Components

  • Two-handed component (Pretty Self-Explanatory)
  • "Follows camera" holding component (Makes the item be pointed at the holder's look direction, like a loaded crossbow)
  • Show hand component (Shows the hand when holding an item)
  • Undroppable component
  • Item skin component (string)
  • Custom hit particle component (example below)
  • Custom hit sound component
  • Sweep particle component (example below)
  • Secondary model component (displays a custom item with identical components and display context to the parent stack)
  • Tertiary model component (same as secondary model, example below)

More Commands

  • Velocity command (exact & directional)
  • AcornLib command (dev env only, checks if player is a supporter)

Supporter System

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

Credits

The Acorn Texture is made by ShinyEmerald, in a resource pack listed here. Apples2Acorns is listed under the license CC-BY-SA-4.0

Ченджлог

1.0.5+1.21.1Релиз1.21, 1.21.1 · 20 августа 2026 г.
  • Fixed Acorn & Golden Acorn showing up at the end of the food tab
  • Fixed SupporterUtils resetting all values when one is missing
  • Fixed Gui textures being broken for LayeredModelItem
1.0.5+1.21.11Релиз1.21.11 · 20 августа 2026 г.
  • Fixed Acorn & Golden Acorn showing up at the end of the food tab
  • Fixed SupporterUtils resetting all values when one is missing
  • Fixed Gui textures being broken for LayeredModelItem
1.0.5+26.1.2Релиз26.1.2 · 20 августа 2026 г.
  • Fixed Acorn & Golden Acorn showing up at the end of the food tab
  • Fixed SupporterUtils resetting all values when one is missing
  • Fixed Gui textures being broken for LayeredModelItem
1.0.4+26.1.2Релиз26.1.2 · 20 августа 2026 г.
  • Fixed Acorn & Golden Acorn showing up at the end of the food tab
  • Fixed SupporterUtils resetting all values when one is missing
  • Fixed Gui textures being broken for LayeredModelItem
1.0.4+1.21.11Релиз1.21.11 · 20 августа 2026 г.
  • Fixed Acorn & Golden Acorn showing up at the end of the food tab
  • Fixed SupporterUtils resetting all values when one is missing
  • Fixed Gui textures being broken for LayeredModelItem
1.0.4+1.21.1Релиз1.21, 1.21.1 · 20 августа 2026 г.
  • Fixed Acorn & Golden Acorn showing up at the end of the food tab
  • Fixed SupporterUtils resetting all values when one is missing
  • Fixed Gui textures being broken for LayeredModelItem
1.0.3+26.1.2Релиз26.1.2 · 8 августа 2026 г.
  • Fixed game crashing on launch
  • Added more util methods to:
    • MiscUtils
    • ParticleUtils
    • PortingUtils
1.0.3+1.21.11Релиз1.21.11 · 8 августа 2026 г.
  • Fixed game crashing on launch
  • Added more util methods to:
    • MiscUtils
    • ParticleUtils
    • PortingUtils

Комментарии

Загружаем…