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

Amethyst Core

Library mod that powers the Amethyst Imbuement family of mods; can be used to create your very own Magic-themed Mod!

833K загрузок34 подписчиковMITfabricquilt

Обновлён 22 апреля 2024 г. · опубликован 4 июля 2022 г.

  • Grinding Modifiers

Main Header

Welcome to Amethyst Core, a library mod focused on building magically-themed mods! It currently powers Amethyst Imbuement and other upcoming mods in that family. While being magically themed, this library has a lot of other functionality too!

See the wiki for more details, as well as the KDoc within the source.

Bisect Hosting Banner

There is a lot you can do with Amethyst Core, including but not limited to:

  • Implementing your own Modifier System; a parallel alternative to Minecraft's Enchantment system
  • Creating extensions for Amethyst Imbuement
  • Creating distinct magic mods that have compatibility with Amethyst Imbuement
  • Implementing a consistent and auto-syncing configuration system
  • Building a magical wand with any number of abilities
  • Building modular Trinkets
  • Easily registering custom item models a la the Trident
  • Registering to a ticking Event Registry
  • Building and registering additions to loot tables easily
  • Spawn particles that track the player and visually appear where desired on the player's screen
  • Register persistent effects that you want to trigger over time without needing to track the effect within custom ticking code

And much more!

Modifiers

The Modifier Framework is a flexible and extensible system designed as a parallel to the vanilla Enchanting system. Modifiers aim to solve two of the biggest problems I found with Enchanting: They are easily removable, and they do not internalize their functionality (besides a couple damage methods). Enchantments are also more boring than they could be, displaying their tier with a simple number. Modifiers aim to fix all of those issues!

  • Modifiers are designed to be permanent, acting more like affixes. Grindstones can't remove them, for example.
  • Modifiers internalize their functions, and can be called as one unit rather than piecemeal.
  • Modifiers act via a "family tree" that allow for flavorful tiers. Think of a sword going from "Rusty" to "Shiny" to "Gleaming" etc.

The library comes with builtin helper method for displaying modifiers An example tooltip with modifiers shown in gold text

See the wiki link above for more details on these features. Once implemented, a Modifier system can do just about anything. Amethyst Cores built-in AugmentModifier does things from affecting mana cost and cooldown, to changing spell damage or range, to even triggering advanced effects like afflicting every mob in a 12 block radius around the caster with Wither upon any successful spell cast.

Modifers can be as simple as a container for passing vanilla AttributeModifiers, or much more complex than the AugmentModifier described above. They could even be used purely for flavor, if desired!

Magic Mod Utilities

Amethyst Core contains everything you need to develop a magic-themed mod in the style of Amethyst Imbuement. The library, however, does not include any crafting or progression systems. This is up to you! YOu can either follow along exactly how Amethyst Imbuement does, with imbuing recipes, and tiered augments in scepters, or craft your own unique systems. Blood rituals maybe? Nature-themed magic? Sky's the limit.

Scepters

A framework for building a wide array of Amethyst Imbuement style Scepters is included, from the most barebone AbstractScepterItem you can take almost any direction, to a DefaultScepterItem that is almost fully implemented for creating an Amethyst Imbuement compatible Scepter(s) of your own.

Augments

Build enhanced enchantments either for use with Scepters, or for adding to trinkets and equipment. Utilities for advanced functionality like passive ticking effects, effects on equip, etc.

Trinkets

Utilities for building Trinket compatible items that can utilize the Augment system. As seen in Amethyst Imbuement, this allows for modular trinkets and items that aren't limited to predefined benefits.

Mana-based Items

Interfaces and utilities for developing an item that uses "mana" instead of durability. Items won't break at minimum durability, they can be easily "healed" and there is a Helper for auto-healing (mana regeneration). Items can also be checked to see if a certain action is possible with the current mana in the item.

And Much More!

Look through the wiki and source code documentation for all that Amethyst Core has to offer!

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.5.0+1.20.1Релиз1.20, 1.20.1fabric, quilt22 апреля 2024 г..jar (343 КБ)
1.4.10+1.20.1Релиз1.20, 1.20.1fabric, quilt12 апреля 2024 г..jar (532 КБ)
1.4.9+1.20.1Релиз1.20, 1.20.1fabric, quilt13 марта 2024 г..jar (532 КБ)
1.4.8+1.20.1Релиз1.20, 1.20.1fabric, quilt2 февраля 2024 г..jar (513 КБ)
1.4.7+1.20.1Релиз1.20, 1.20.1fabric, quilt1 февраля 2024 г..jar (512 КБ)
1.4.6+1.20.1Релиз1.20, 1.20.1fabric, quilt29 января 2024 г..jar (512 КБ)
1.4.5+1.20.1Релиз1.20, 1.20.1fabric, quilt1 декабря 2023 г..jar (516 КБ)
1.4.4+1.20.1Релиз1.20, 1.20.1fabric, quilt17 ноября 2023 г..jar (504 КБ)
1.4.3+1.20.1Релиз1.20, 1.20.1fabric, quilt12 ноября 2023 г..jar (501 КБ)
1.4.2+1.20.1Релиз1.20, 1.20.1fabric, quilt11 ноября 2023 г..jar (501 КБ)
1.4.1+1.20.1Релиз1.20, 1.20.1fabric, quilt10 ноября 2023 г..jar (499 КБ)
1.4.0+1.20.1Релиз1.20, 1.20.1fabric, quilt23 октября 2023 г..jar (495 КБ)
1.3.0+1.20.1Бета1.19.4fabric, quilt8 сентября 2023 г..jar (497 КБ)
1.2.2+1.20.1Релиз1.20, 1.20.1fabric, quilt21 августа 2023 г..jar (302 КБ)
1.2.2+1.19.4Релиз1.19.4fabric, quilt21 августа 2023 г..jar (304 КБ)

Показаны последние 15 из 68 версий. Все версии — на Modrinth.

Ченджлог

1.5.0+1.20.1Релиз1.20, 1.20.1 · 22 апреля 2024 г.

Update to new Fzzy Config release implementation.

1.4.10+1.20.1Релиз1.20, 1.20.1 · 12 апреля 2024 г.
  • Updated optional RPG series compat to the breaking changes in the 0.10.x Spell Power Attributes updates. Spell Power Attributes 0.9.19 and lower is no longer supported.
1.4.9+1.20.1Релиз1.20, 1.20.1 · 13 марта 2024 г.
  • Add new TagStyle methods
  • Add getTag() back
  • Impl new Fzzy Core 0.5.0 modifier defaults methods
  • Low mana messages now send to the action bar by default (middle fo the screen messages just above the hotbar)
1.4.8+1.20.1Релиз1.20, 1.20.1 · 2 февраля 2024 г.

Fixed issue with Imbued Gear loot generation involving spell enchants

1.4.7+1.20.1Релиз1.20, 1.20.1 · 1 февраля 2024 г.

Fix crash with Amethyst Imbuement Lore Books.

1.4.6+1.20.1Релиз1.20, 1.20.1 · 29 января 2024 г.

Update to new Fzzy Core FzzyPort implementation

1.4.5+1.20.1Релиз1.20, 1.20.1 · 1 декабря 2023 г.
  • New methods for directly setting a scepters active spell (not just from scrolling)
  • Added new living entity attribute Mana Regeneration
  • Tweaked the base scepter classes with updated active spell getting
  • Added new checkCanUse impl to the base scepters to avoid infinite use of 1 mana spells.
  • SlashAugment uses SpellDamageSource now
  • Added `amethyst_core:any" as a possible input to the SpellCriterion
1.4.4+1.20.1Релиз1.20, 1.20.1 · 17 ноября 2023 г.

Fixed issues with modifier stacking as well as issues with isAcceptableItem on modifiers not taking into account if the modifier is already maxed out.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…