Compatibility
Minecraft: Java Edition
1.21.x
1.20–1.20.1
1.19.2
Platforms
Forge
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published 8 months ago
Updated 2 months ago
1.21
Documentation is currently located here
Respiration
attribute has been removed (due to vanilla oxygen attribute)- The spell level syntax has been unified (
spell_school
andspell_type
have 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_total
if you don't have the enchantment addition
will be affected bymultiply_total
Harvest Attribute
Can be used to increase the amount of harvested items
- ID is
additional_attributes:harvest
addition
of1
means one additional crop (not seed)- The base value is the initial harvested amount
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
modify_base
will always have an effect - Spells with a maximum level of
1
won't have their spell level increased, since there usually is no reason to do so - The three attribute types function as one - their modifiers are gathered together before calculation
- There is no rounding - meaning a spell level of
1.75
will 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_base
will have no effect since the base value is0
- Using
multiply_total
without prioraddition
will 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