
Additional Attributes
Adds additional attributes to the game
Обновлён 18 июля 2025 г. · опубликован 13 марта 2024 г.
1.21
Documentation is currently located here
Respirationattribute has been removed (due to vanilla oxygen attribute)- The spell level syntax has been unified (
spell_schoolandspell_typehave been changed tospell/<namespace>/<path>andschool/<namespace>/<path>
Enchantment Attributes
- Looting (
additional_attributes:looting) - Respiration (
additional_attributes:respiration) - Fishing Lure (
additional_attributes:fishing_lure) - Fishing Luck (
additional_attributes:fishing_lure)
The base value for these is the enchantment value which gets checked
- Meaning there won't be any benefits using
multiply_base/multiply_totalif you don't have the enchantment additionwill be affected bymultiply_total
Harvest Attribute
Can be used to increase the amount of harvested items
- ID is
additional_attributes:harvest additionof1means one additional crop (not seed)- The base value is the initial harvested amount
Apotheosis
Apothic Crafting
An attribute that adds a chance to affix crafted items
Logic works as follows (using the baseline Apotheosis rarities):
- 0 to 1: Chance between nothing happening and
commonrarity - 1 to 2: Chance between
commonanduncommonrarity - 2 to 3: Chance between
uncommonandrarerarity - 3 to 4: Chance between
rareandepicrarity - 4 to 5: Chance between
epicandmythicrarity - 5 to 6: Chance between
mythicandancientrarity - 6 to ? : Can only roll
ancientrarity - (This is just an example - the attribute value corresponds to the ordinal of the rarity)
If the attribute value is exactly 0 nothing will happen
A value of 1.3 has a 30% chance to consider uncommon rarity - The luck attribute will still affect the actually picked rarity
Configurations:
- There is a server config that can limit the max. crafted rarity
- There is a blacklist item tag (
additional_attributes:apothic_crafting_blacklist) - You can define min / max rarity clamps per items using a datapack (applies after the server config), see example of wooden tools:
- Directory:
additional_attributes/rarity_definitions - Clamp entry:
items: A tag, single entry or a list of entriesmin_rarity: Min. rarity (if said rarity is above the max. rarity of the current attribute value, it will not be considered) (Optional)max_rarity: Max. rarity (if said rarity is above the max. rarity of the current attribute value, it will not be considered) (Optional)
- Directory:
Iron's Spells 'n Spellbooks
Increase or decrease spell levels
- General attribute (meaning all spells) (
additional_attributes:spell_general) - Attribute for each school type (
additional_attributes:spell_school_<...>)- Example:
additional_attributes:spell_school_fire - Third-party schools have the syntax
additional_attributes:school/<namespace>/<path>
- Example:
- Attribute for each spell type (
additional_attributes:spell_type_<...>)- Example:
additional_attributes:spell_type_shockwave - Third-party spells have the syntax
additional_attributes:spell/<namespace>/<path>- Example:
additional_attributes:spell/traveloptics/orbital_void
- Example:
- Example:
How it works:
- The base value of these attributes is the level of the spell being used - meaning modifying the base has no effect
- Spells with a maximum level of
1won't have their spell level increased, since there usually is no reason to do so (configurable) - The three attribute types function as one - their modifiers are gathered together before calculation
- There is no rounding - meaning a spell level of
1.75will result in1 - If the spell level reaches 0 (due to negative modifiers) the spell cannot be cast
- These attributes are present for all entities not just the player
Add spells to the spell selection
These spells will be available independent of the current spellbook, weapon, etc.
- Attribute for each school type (
additional_attributes:innate_school/<namespace>/<path>)- Example:
additional_attributes:innate_school/irons_spellbooks/fire
- Example:
- Attribute for each spell type (
additional_attributes:innate_spell/<namespace>/<path>)- Example:
additional_attributes:innate_spell/irons_spellbooks/cloud_of_regeneration
- Example:
Other
Added an attribute to potentially not use up a scroll
- ID is
additional_attributes:keep_scroll - Value between
0(0%chance) and 1 (100%chance) - Using
multiply_basewill have no effect since the base value is0 - Using
multiply_totalwithout prioradditionwill also have no effect
References:
- School Types https://github.com/iron431/Irons-Spells-n-Spellbooks/blob/1.19.2/src/main/java/io/redspace/ironsspellbooks/api/registry/SchoolRegistry.java
- Spell Types https://github.com/iron431/Irons-Spells-n-Spellbooks/blob/1.19.2/src/main/java/io/redspace/ironsspellbooks/api/registry/SpellRegistry.java
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.3.6 | Релиз | 1.20, 1.20.1 | forge, neoforge | 18 июля 2025 г. | Скачать (246 КБ) |
| 1.3.5 | Релиз | 1.20, 1.20.1 | forge, neoforge | 15 мая 2025 г. | Скачать (246 КБ) |
| 1.3.4 | Релиз | 1.20, 1.20.1 | forge, neoforge | 6 апреля 2025 г. | Скачать (246 КБ) |
| 1.2.2 | Релиз | 1.21, 1.21.1 | neoforge | 5 апреля 2025 г. | Скачать (46 КБ) |
| 1.3.3 | Релиз | 1.20, 1.20.1 | forge, neoforge | 15 марта 2025 г. | Скачать (247 КБ) |
| 1.3.2 | Релиз | 1.20, 1.20.1 | forge, neoforge | 15 марта 2025 г. | Скачать (247 КБ) |
| 1.3.1 | Релиз | 1.20, 1.20.1 | forge, neoforge | 2 марта 2025 г. | Скачать (238 КБ) |
| 1.3.0 | Релиз | 1.20, 1.20.1 | forge, neoforge | 2 марта 2025 г. | Скачать (238 КБ) |
| 1.2.1 | Релиз | 1.21, 1.21.1 | neoforge | 22 декабря 2024 г. | Скачать (47 КБ) |
| 1.2.2 | Релиз | 1.20, 1.20.1 | forge, neoforge | 22 декабря 2024 г. | Скачать (208 КБ) |
| 1.2.0 | Релиз | 1.21, 1.21.1 | neoforge | 27 августа 2024 г. | Скачать (47 КБ) |
| 1.2.1 | Релиз | 1.20, 1.20.1 | forge, neoforge | 27 августа 2024 г. | Скачать (208 КБ) |
| 1.2.0 | Релиз | 1.20, 1.20.1 | forge, neoforge | 27 августа 2024 г. | Скачать (208 КБ) |
| 1.1.0 | Релиз | 1.20, 1.20.1 | forge, neoforge | 16 августа 2024 г. | Скачать (205 КБ) |
| 1.0.3 | Релиз | 1.20, 1.20.1 | forge, neoforge | 5 июня 2024 г. | Скачать (197 КБ) |
Показаны последние 15 из 21 версий.
Ченджлог
1.3.6Релиз1.20, 1.20.1 · 18 июля 2025 г.
- Fix an issue with the spell level attribute when modded spells use a native irons spellbooks school instead of a custom one
1.3.5Релиз1.20, 1.20.1 · 15 мая 2025 г.
add safeguard for the apotheosis affix on craft handling
1.3.4Релиз1.20, 1.20.1 · 6 апреля 2025 г.
moved the skip_innate config (related to the iron's spells compat) to the server-side (since the spell selection may be initiated from the server in multiplayer mode)
- this fixes an issue where innate spells didn't work on dedicated servers
1.2.2Релиз1.21, 1.21.1 · 5 апреля 2025 г.
moved the skip_innate config (related to the iron's spells compat) to the server-side (since the spell selection may be initiated from the server in multiplayer mode)
- this fixes an issue where innate spells didn't work on dedicated servers
1.3.3Релиз1.20, 1.20.1 · 15 марта 2025 г.
(hotfix for previous version - clear current rarity definitions when reloading, so removed entries are not retained)
Tag
added a blacklist item tag for apothic crafting attribute (additional_attributes:apothic_crafting_blacklist)
Clamp rarity per item
added the option to define min / max rarity clamps for items (defined by using datapacks, directory being additional_attributes/rarity_definitions - see example for wooden tools)
Clamp definition:
items: Can be a tag, a single entry or a list of itemsmin_rarity: An optional existing loot raritymax_rarity: An optional existing loot rarity
Explanation
As long as the defined min and max rarity are smaller than the would-be-picked max rarity, they will be considered
- This means that if the current attribute value would only grant up to
apotheosis:rarerarity and you define a min or max ofapotheosis:epicthat nothing would change (theapotheosis:epicrarity would not be considered) - If you don't define a min or max rarity, the original value will be used (if the newly clamped min rarity is above the (potentially clamped) max rarity, it will not be used
- If (after the max rarity has been clamped) the min rarity is now above said max rarity, it will get the rarity of the max rarity
1.3.2Релиз1.20, 1.20.1 · 15 марта 2025 г.
added a blacklist item tag for apothic crafting attribute (additional_attributes:apothic_crafting_blacklist)
added the option to define min / max rarity clamps for items (defined by using datapacks, directory being additional_attributes/rarity_definitions - see example for wooden tools)
Clamp definition:
items: Can be a tag, a single entry or a list of itemsmin_rarity: An optional existing loot raritymax_rarity: An optional existing loot rarity
As long as the defined min and max rarity are smaller than the would-be-picked max rarity, they will be considered
- This means that if the current attribute value would only grant up to
apotheosis:rarerarity and you define a min or max ofapotheosis:epicthat nothing would change (theapotheosis:epicrarity would not be considered) - If you don't define a min or max rarity, the original value will be used (if the newly clamped min rarity is above the (potentially clamped) max rarity, it will not be used
- If (after the max rarity has been clamped) the min rarity is now above said max rarity, it will get the rarity of the max rarity
1.3.1Релиз1.20, 1.20.1 · 2 марта 2025 г.
Add config to shift min. rarity for the apothic_crafting attribute
- Used to shift the min. rarity downwards by x amount (default: 0)
- Allows a broader range to be considered when the rarity is selected
1.3.0Релиз1.20, 1.20.1 · 2 марта 2025 г.
Add apothic_crafting attribute, which grants the chance to automatically affix crafted items (0% chance with default value)
Комментарии
Загружаем…