All Mods Resource Packs Data Packs Shaders Modpacks Plugins
KubeJS Nature's Aura

KubeJS Nature's Aura

by FalAut • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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)
})

How to Install KubeJS Nature's Aura (Mod)

KubeJS Nature's Aura by FalAut is verified for Forge, Neoforge across Minecraft versions 1.19.2, 1.20.1, 1.20.4, 1.21.1 (latest release: 1.0.3, file size: 74 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.19.2, 1.20.1, 1.20.4, 1.21.1) and platform (Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Forge, Neoforge.
  3. Move the downloaded KubeJS Nature's Aura file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
10mo ago 1
1.20.1
Forge
10mo ago 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.20.4
Neoforge
last yr. 1
1.20.1
Forge Neoforge
last yr. 1
1.19.2
Forge
last yr. 1
1.20.4
Neoforge
last yr. 1
1.20.1
Forge Neoforge
last yr. 1
1.19.2
Forge
last yr. 1
Fixed incorrect init
Fixed incorrect init
fixed incompatibility with latest KubeJS (thanks [ianm1647](https://github.com/ianm1647))
support NeoForge 1.21.1
Fixed incorrect ScriptType
Fixed incorrect ScriptType
Fixed incorrect ScriptType
KubeJS Nature's Aura Icon
Download KubeJS Nature's Aura
Select game version
Select platform