添加对自然光环配方的支持,自定义光环缓存物品、结构查找器物品,以及自定义或修改维度中的光环类型。
示例: 添加配方:在 server_scripts 中
ServerEvents.recipes((event) => {
const { naturesaura } = event.recipes
// 自然祭坛(输出,输入,光环-可选,时间-可选,催化剂-可选)
naturesaura.altar('bedrock', 'stone')
naturesaura.altar('bedrock', 'stone', 5000)
naturesaura.altar('bedrock', 'stone', 5000, 60)
naturesaura.altar('bedrock', 'stone', 5000, 60, 'naturesaura:conversion_catalyst')
// 生育祭坛(实体,输入,光环-可选,时间-可选)
naturesaura.animal_spawner('creeper', ['gunpowder', 'green_dye'])
naturesaura.animal_spawner('creeper', ['gunpowder', 'green_dye'], 10000)
naturesaura.animal_spawner('creeper', ['gunpowder', 'green_dye'], 10000, 120)
// 献祭桌(输出,输入,起始物品)
naturesaura.offering('diamond', 'coal', 'bedrock')
// 树木仪式(输出,输入,树苗-可选,时间-可选)
naturesaura.tree_ritual('nether_star', ['blaze_powder', 'obsidian', 'diamond'])
naturesaura.tree_ritual('nether_star', ['blaze_powder', 'obsidian', 'diamond'], 'oak_sapling')
naturesaura.tree_ritual('nether_star', ['blaze_powder', 'obsidian', 'diamond'], 'oak_sapling', 200)
})
注册物品:在 startup_scripts 中
NaturesAuraEvents.init((event) => {
// 自定义光环类型(光环类型,维度,光环颜色,优先级-可选)
event.custom('kubejs:aether', 'aether:the_aether', 0xb0c4de)
// 修改维度的光环类型(维度,光环类型)
event.modify('minecraft:overworld', 'kubejs:aether')
})
自定义或修改维度的光环类型:在 startup_scripts 中
StartupEvents.registry('item', (event) => {
// 自定义光环缓存(可以存储光环的物品)
event.create('custom_aura_cache', 'naturesaura:aura_cache').setMaxAura(10000)
// 类似末影之眼(查找指定范围内的结构)的自定义物品
event
.create('custom_structure_finder', 'naturesaura:structure_finder')
.setStructure('minecraft:village_plains')
.setColor(0xba2800)
.setRadius(2048)
})
其他功能:
BlockEvents.rightClicked((event) => {
const { block, item, level } = event
AuraBlock.getStoredAura(block.entity)
AuraBlock.drainAura(block.entity, 100000, false)
AuraBlock.storeAura(block.entity, 100000, false)
AuraItem.getStoredAura(item)
AuraItem.drainAura(item, 100000, false)
AuraItem.storeAura(item.entity, 100000, false)
AuraChunk.getAuraInArea(level, block.pos, 16)
AuraChunk.drainAura(level, block.pos, 100000)
AuraChunk.storeAura(level, block.pos, 100000)
})
Adds support for Nature's Aura recipes, custom aura cache item, structure finder item, and custom or modify the aura type of dimension.
Examples: Add recipe: in server_scripts
ServerEvents.recipes((event) => {
const { naturesaura } = event.recipes
// Natural Altar (output,input,aura-optional,time-optional, catalyst-optional)
naturesaura.altar('bedrock', 'stone')
naturesaura.altar('bedrock', 'stone', 5000)
naturesaura.altar('bedrock', 'stone', 5000, 60)
naturesaura.altar('bedrock', 'stone', 5000, 60, 'naturesaura:conversion_catalyst')
// Altar of Birthing (entity,input,aura-optional,time-optional)
naturesaura.animal_spawner('creeper', ['gunpowder', 'green_dye'])
naturesaura.animal_spawner('creeper', ['gunpowder', 'green_dye'], 10000)
naturesaura.animal_spawner('creeper', ['gunpowder', 'green_dye'], 10000, 120)
// Offering Table (output,input,start-item)
naturesaura.offering('diamond', 'coal', 'bedrock')
// Tree Ritual(output,input,sapling-optional, time-optional)
naturesaura.tree_ritual('nether_star', ['blaze_powder', 'obsidian', 'diamond'])
naturesaura.tree_ritual('nether_star', ['blaze_powder', 'obsidian', 'diamond'], 'oak_sapling')
naturesaura.tree_ritual('nether_star', ['blaze_powder', 'obsidian', 'diamond'], 'oak_sapling', 200)
})
Register items: in startup_scripts
NaturesAuraEvents.init((event) => {
// custom aura type (aura type, dimension, aura colour, priority-optional)
event.custom('kubejs:aether', 'aether:the_aether', 0xb0c4de)
// modify the aura type of the dimension (dimension, aura type)
event.modify('minecraft:overworld', 'kubejs:aether')
})
Customize or modify the aura type of dimension: in startup_scripts
StartupEvents.registry('item', (event) => {
// custom aura cache (items that can store aura)
event.create('custom_aura_cache', 'naturesaura:aura_cache').setMaxAura(10000)
// custom item similar to the Eye of Ender (find the specified range of structure)
event
.create('custom_structure_finder', 'naturesaura:structure_finder')
.setStructure('minecraft:village_plains')
.setColor(0xba2800)
.setRadius(2048)
})
Other features:
BlockEvents.rightClicked((event) => {
const { block, item, level } = event
AuraBlock.getStoredAura(block.entity)
AuraBlock.drainAura(block.entity, 100000, false)
AuraBlock.storeAura(block.entity, 100000, false)
AuraItem.getStoredAura(item)
AuraItem.drainAura(item, 100000, false)
AuraItem.storeAura(item.entity, 100000, false)
AuraChunk.getAuraInArea(level, block.pos, 16)
AuraChunk.drainAura(level, block.pos, 100000)
AuraChunk.storeAura(level, block.pos, 100000)
})
版本游戏版本平台发布时间本站下载
正式版
1.0.3
KubeJS Nature's Aura-1.21.1-1.0.3
1.21.1 NeoForge 10 个月前 ·
1
1.21.1
NeoForge
10 个月前
1
下载 KubeJS Nature's Aura
正式版
1.0.2
KubeJS Nature's Aura-1.20.1-1.0.2
1.20.1 Forge 10 个月前 ·
0
1.20.1
Forge
10 个月前
0
下载 KubeJS Nature's Aura
正式版
1.0.2
KubeJS Nature's Aura 1.0.2
1.21.1 NeoForge 1 年前 ·
2
1.21.1
NeoForge
1 年前
2
下载 KubeJS Nature's Aura
正式版
1.0.1
KubeJS Nature's Aura 1.0.1
1.21.1 NeoForge 2 年前 ·
0
1.21.1
NeoForge
2 年前
0
下载 KubeJS Nature's Aura
正式版
1.0.1
KubeJS Nature's Aura-1.20.4-NeoForge-1.0.1
1.20.4 NeoForge 2 年前 ·
0
1.20.4
NeoForge
2 年前
0
下载 KubeJS Nature's Aura
正式版
1.0.1
KubeJS Nature's Aura-1.20.1-1.0.1
1.20.1 ForgeNeoForge 2 年前 ·
0
1.20.1
Forge
NeoForge
2 年前
0
下载 KubeJS Nature's Aura
正式版
1.0.1
KubeJS Nature's Aura-1.19.2-1.0.1
1.19.2 Forge 2 年前 ·
0
1.19.2
Forge
2 年前
0
下载 KubeJS Nature's Aura
正式版
1.0.0
KubeJS Nature's Aura-1.20.4-NeoForge-1.0.0
1.20.4 NeoForge 2 年前 ·
0
1.20.4
NeoForge
2 年前
0
下载 KubeJS Nature's Aura
正式版
1.0.0
KubeJS Nature's Aura-1.20.1-1.0.0
1.20.1 ForgeNeoForge 2 年前 ·
0
1.20.1
Forge
NeoForge
2 年前
0
下载 KubeJS Nature's Aura
正式版
1.0.0
KubeJS Nature's Aura-1.19.2-1.0.0
1.19.2 Forge 2 年前 ·
0
1.19.2
Forge
2 年前
0
下载 KubeJS Nature's Aura
1.0.3
正式版
2026-01-06
修复了错误的初始化
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
355
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
346
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
243
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
240
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
模组
Applied Energistics 2
shartte
AE2:一款流行的自动化与存储模组
存储科技
217
评论 0
登录后参与评分
还没有评论,来抢沙发吧