1.21
文档目前位于 此处
Respiration(呼吸)属性已被移除(由于原版氧气属性)- 法术等级语法已统一(
spell_school和spell_type已更改为spell/<namespace>/<path>和school/<namespace>/<path>)
附魔属性
- 抢夺 (
additional_attributes:looting) - 呼吸 (
additional_attributes:respiration) - 钓鱼诱饵 (
additional_attributes:fishing_lure) - 钓鱼运气 (
additional_attributes:fishing_lure)
这些属性的基础值是附魔值,该值会被进行检查
- 这意味着如果你没有相应的附魔,使用
multiply_base/multiply_total将不会有任何收益 addition会受到multiply_total的影响
收获属性
可用于增加收获物品的数量
- ID 为
additional_attributes:harvest addition值为1表示多收获一个作物(非种子)- 基础值是初始收获量
Apotheosis
阿波提克制作 (Apothic Crafting)
一个增加附魔 crafted 物品几率的属性
逻辑如下(以基线 Apotheosis 稀有度为例):
- 0 到 1:无效果与
common(普通)稀有度之间的几率 - 1 到 2:
common(普通)与uncommon(罕见)稀有度之间的几率 - 2 到 3:
uncommon(罕见)与rare(稀有)稀有度之间的几率 - 3 到 4:
rare(稀有)与epic(史诗)稀有度之间的几率 - 4 到 5:
epic(史诗)与mythic(神话)稀有度之间的几率 - 5 到 6:
mythic(神话)与ancient(远古)稀有度之间的几率 - 6 到 ? : 只能随机出
ancient(远古)稀有度 - (这只是一个示例——属性值对应于稀有度的序数)
如果属性值恰好为 0,则不会发生任何效果
值为 1.3 时有 30% 的几率考虑 uncommon(罕见)稀有度——luck(幸运)属性仍会影响实际选定的稀有度
配置项:
- 有一个服务器配置可以限制最大可附魔稀有度
- 有一个黑名单物品标签 (
additional_attributes:apothic_crafting_blacklist) - 你可以使用数据包为每个物品定义最小/最大稀有度限制(在服务器配置之后应用),参见木制工具的示例:
- 目录:
additional_attributes/rarity_definitions - 限制条目:
items: 一个标签、单个条目或一组条目min_rarity: 最小稀有度(如果该稀有度高于当前属性值对应的最大稀有度,则不予考虑)(可选)max_rarity: 最大稀有度(如果该稀有度高于当前属性值对应的最大稀有度,则不予考虑)(可选)
- 目录:
Iron's Spells 'n Spellbooks
增加或减少法术等级
- 通用属性(意味着所有法术)(
additional_attributes:spell_general) - 每种学派类型的属性 (
additional_attributes:spell_school_<...>)- 示例:
additional_attributes:spell_school_fire - 第三方学派的语法为
additional_attributes:school/<namespace>/<path>
- 示例:
- 每种法术类型的属性 (
additional_attributes:spell_type_<...>)- 示例:
additional_attributes:spell_type_shockwave - 第三方法术的语法为
additional_attributes:spell/<namespace>/<path>- 示例:
additional_attributes:spell/traveloptics/orbital_void
- 示例:
- 示例:
工作原理:
- 这些属性的基础值是正在使用的法术等级——这意味着修改基础值无效
- 最大等级为
1的法术不会提升其法术等级,因为通常没有必要这样做(可配置) - 这三种属性类型作为一个整体运作——它们的修饰符会在计算前汇总
- 没有四舍五入——这意味着法术等级
1.75将导致1 - 如果法术等级降至 0(由于负修饰符),则无法施放法术
- 这些属性存在于所有实体中,而不仅仅是玩家
向法术选择中添加法术
这些法术将独立于当前的法杖、武器等可用
- 每种学派类型的属性 (
additional_attributes:innate_school/<namespace>/<path>)- 示例:
additional_attributes:innate_school/irons_spellbooks/fire
- 示例:
- 每种法术类型的属性 (
additional_attributes:innate_spell/<namespace>/<path>)- 示例:
additional_attributes:innate_spell/irons_spellbooks/cloud_of_regeneration
- 示例:
其他
添加了一个属性用于可能不消耗卷轴
- ID 为
additional_attributes:keep_scroll - 值介于
0(0%几率)和 1(100%几率)之间 - 使用
multiply_base无效,因为基础值为0 - 在没有先使用
addition的情况下使用multiply_total也无效
参考链接:
- 学派类型
- 法术类型
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
- Spell Types
下载 Additional Attributes
下载 Additional Attributes
下载 Additional Attributes
下载 Additional Attributes
下载 Additional Attributes
下载 Additional Attributes
下载 Additional Attributes
下载 Additional Attributes
下载 Additional Attributes
下载 Additional Attributes
来自
- 修复了当模组法术使用铁制法典(Iron's Spellbooks)的原生学派而非自定义学派时,法术等级属性出现的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
让你能够在世界中的任何位置定位结构。
模组
一堆修复
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
所有本应存在的事物
模组
为 Cobblemon 添加 Mega 进化、Z 招式、太晶化、超极巨化/超巨大化、究极爆击与融合!
模组
一款适用于你选择的加载器的 Minecraft VR 模组!
评论 0
登录后参与评分
还没有评论,来抢沙发吧