Описание
# Apothic Flux
**Apothic Flux** is an addon for **Apotheosis / Apothic Enchanting** that expands enchanting and spawner gameplay with Flux-powered machines, rituals, and automation.
The mod revolves around **Flux Experience**, providing new ways to control enchanting stats, process experience, automate spawners, and create custom magical recipes.
## Key Features
* **Flux Enchanting Table** Perform advanced enchanting using Flux Experience.
* **Flux Stats Bookshelf** Precisely control enchanting stats such as **Eterna**, **Quanta**, and **Arcana**.
* **Spirit-Gathering Rituals** Create ritual recipes using configurable ingredients and requirements. Rituals can require specific **Eterna, Quanta, and Arcana** values and can generate items, blocks, or entities.
* **Flux Spawner** A Flux-powered spawner system with configurable spawn delay, spawn count, redstone control, Echo upgrades, and custom mob drops.
* **Flux Anvil** Perform anvil operations using Flux Experience instead of traditional experience levels.
* **Flux Experience Materials** Store Flux Experience using solidified and compressed materials.
## Integrations
Supports:
* **JEI** — Recipe display and Flux Spawner upgrade information
* **Jade** — Machine information display
* **KubeJS** — Custom ritual and Flux Spawner recipes
* **Productive Bees** — Additional bee-related Flux Spawner recipes
## Requirements
* **Apothic Enchanting**
* **Apothic Spawners**
# 通量神化(Apothic Flux)
**Apothic Flux** 是一个为 **Apotheosis / Apothic Enchanting** 扩展附魔与刷怪玩法的附属模组。
模组以 **通量经验(Flux Experience)** 为核心,引入多种魔法机器、聚灵法阵和自动化机制,让附魔属性调整、经验利用与刷怪笼玩法更加灵活。
## 主要内容
* **通量附魔台** 使用通量经验进行高级附魔。
* **通量书架** 可调节 **位阶(Eterna)**、**量子化(Quanta)**、**阿卡那(Arcana)** 等附魔属性。
* **聚灵法阵** 通过指定材料绘制法阵并执行特殊配方。配方可拥有 **位阶、量子化、阿卡那** 等属性要求,并支持生成物品、方块或实体。
* **通量刷怪笼** 使用刷怪蛋和通量能量运行,可调整刷怪延迟、生成数量、红石控制和回响强化,并支持为不同生物配置专属掉落。
* **通量铁砧** 使用通量经验代替传统经验完成铁砧操作。
* **通量经验材料** 提供固化与压缩后的通量经验,用于储存和机器运行。
## 模组联动
支持:
* **JEI** — 配方展示与通量刷怪笼升级信息
* **Jade** — 机器信息显示
* **KubeJS** — 自定义聚灵法阵、通量刷怪笼等配方
* **Productive Bees(资源蜜蜂)** — 支持蜜蜂相关通量刷怪笼配方
## 依赖
需要:
* **Apothic Enchanting**
* **Apothic Spawners**
## KubeJS Support / KubeJS 支持
**Apothic Flux** provides KubeJS recipe support, allowing modpack developers to customize Spirit-Gathering Rituals and Flux Spawner recipes.
**Apothic Flux** 提供 KubeJS 配方支持,可用于自定义聚灵法阵与通量刷怪笼配方。
```
ServerEvents.recipes(event => {
// 绘制聚灵法阵,使用:铁镐,消耗:10 耐久
// Draw the Spirit-Gathering Ritual Array using an Iron Pickaxe, consuming 10 durability
event.recipes.apothic_flux.drawing('minecraft:iron_pickaxe', true, 10)
// 绘制聚灵法阵,使用:铁锭,并消耗该物品
// Draw the Spirit-Gathering Ritual Array using an Iron Ingot, consuming the item
event.recipes.apothic_flux.drawing('minecraft:iron_ingot', true, 0)
// 绘制聚灵法阵,使用:金锭,不消耗该物品
// Draw the Spirit-Gathering Ritual Array using a Gold Ingot without consuming it
event.recipes.apothic_flux.drawing('minecraft:gold_ingot', false, 0)
// 聚灵配方:输入铁锭,输出 16 个橡木原木,生成一道闪电,用时 200 tick
// 要求:位阶最低 30,量子化 30-60,阿卡那最低 40
// Ritual recipe: Input an Iron Ingot, output 16 Oak Logs, summon a lightning bolt, duration 200 ticks
// Requirements: minimum 30 Eterna, 30-60 Quanta, minimum 40 Arcana
event.recipes.apothic_flux.ritual(
['minecraft:iron_ingot'],
Item.of('minecraft:oak_log', 16),
'',
'minecraft:lightning_bolt',
200
).eterna(30).quanta([30, 60]).arcana(40)
// 聚灵配方:输入石头和沙子,输出 2 个橡木原木,用时 200 tick
// 要求:阿卡那最低 40
// Ritual recipe: Input Stone and Sand, output 2 Oak Logs, duration 200 ticks
// Requirement: minimum 40 Arcana
event.recipes.apothic_flux.ritual(
['minecraft:stone', 'minecraft:sand'],
Item.of('minecraft:oak_log', 2),
'',
'',
200
).arcana(40)
// 聚灵配方:输入铁锭和金锭,输出 16 个铁块,生成一格水和一只监守者,用时 60 tick
// Ritual recipe: Input an Iron Ingot and Gold Ingot, output 16 Iron Blocks,
// generate a Water block and summon a Warden, duration 60 ticks
event.recipes.apothic_flux.ritual(
['minecraft:iron_ingot', 'minecraft:gold_ingot'],
Item.of('minecraft:iron_block', 16),
'minecraft:water',
'minecraft:warden',
60
)
// 通量刷怪笼配方:牛可掉落 1 个石头、50% 概率掉落 1 个沙子、10% 概率掉落 3 个铁块
// Flux Spawner recipe: Cows drop 1 Stone, have a 50% chance to drop 1 Sand,
// and a 10% chance to drop 3 Iron Blocks
event.recipes.apothic_flux.spawner('minecraft:cow')
.addItem('minecraft:stone')
.addItem('minecraft:sand', 0.5)
.addItem(Item.of('minecraft:iron_block', 3), 0.1)
// 通量刷怪笼配方:苦力怕蜜蜂可掉落 1 个蜜脾,并有 50% 概率掉落 1 个蜂蜜瓶
// Flux Spawner recipe: Creeper Bees drop 1 Honeycomb and have a 50% chance to drop 1 Honey Bottle
event.recipes.apothic_flux.spawner('productivebees:creeper_bee')
.addItem('minecraft:honeycomb', 1.0)
.addItem('minecraft:honey_bottle', 0.5)
// 移除僵尸的通量刷怪笼配方:
// 僵尸刷怪蛋无法放入通量刷怪笼,已放入的僵尸刷怪蛋也无法生成掉落物
// Remove the Zombie Flux Spawner recipe:
// Zombie Spawn Eggs cannot be inserted into the Flux Spawner,
// and previously inserted Zombie Spawn Eggs will no longer generate drops
event.recipes.apothic_flux.spawner_remove('minecraft:zombie')
})
```
### Ritual Requirements / 聚灵属性要求
Ritual recipes can optionally specify enchanting-stat requirements:
聚灵配方可以额外设置附魔属性要求:
```
// 位阶最低值 / Minimum Eterna
.eterna(30)
// 量子化范围 / Quanta range
.quanta([30, 60])
// 阿卡那最低值 / Minimum Arcana
.arcana(40)
```
These requirements can be used independently or combined on the same ritual recipe.
这些属性要求可以单独使用,也可以同时应用于同一个聚灵配方。