PowerfulJS Mod extends KubeJS with NeoForge’s capability system so you can attach new behaviors to items, blocks, block entities, and entities. This mod lets you add Forge Energy storage, fluid tanks, steady energy or fluid sources, and item-filling changes right through KubeJS scripts. It also lets you intercept how blocks tick or make non-ticking blocks like chests run custom logic with a fast RuleSet system. The mod supports ProbeJS for helpful code hints in VSCode and works with Curios, Botania, FE energy, and fluid handling for custom modpacks.

Requires:

Minecraft Forge or NeoForge Installer

ProbeJS Mod

Features:

  • Custom Capabilities for Game Objects: Lets you add NeoForge capabilities to items, blocks, block entities, and entities through KubeJS startup scripts.
  • Block Ticking Control: Lets you intercept and change how blocks tick, or force non-ticking blocks like chests to start ticking with custom logic.
  • Fast RuleSet System: Uses a rule-and-effect system to run custom block logic with speed close to native Java while staying flexible.
  • Full ProbeJS Support: Works with ProbeJS so you get helpful code hints and autocomplete in VSCode while writing scripts.
  • Supports Forge and NeoForge capability setups, including Curios, Botania, Forge Energy (FE), and fluid handling.
  • Lets custom blocks and items connect with other mods’ machines and pipes, such as letting blocks work with hoppers or letting items fill up in a Mekanism fluid tank.
  • Refreshes ticking interception when you reload server scripts, while blocks that already have injected logic need to be broken and placed again to update.

Capability Types:

  • Constant Energy: Gives a block a steady FE output with set extract and receive limits, such as making a redstone block produce 100 FE per tick for an extractor cable to pull out.
  • Fixed Fluid Storage: Adds a fluid tank with set capacity and transfer limits to block entities or items, with optional fluid filters and item changes when full, such as turning lava-filled netherrack or soul sand into a magma block.
  • Fixed FE Storage: Adds Forge Energy storage with set capacity and max input or output limits to block entities like a furnace.
  • Constant Fluid: Turns a block into a steady fluid source with optional condition checks, such as limiting infinite lava extraction to lava source blocks inside Nether biomes.

Ticking Rules and Effects:

  • Block state matching: Checks specific block states like a burning furnace facing any direction, with options to invert or combine conditions.
  • Fluid and timer rules: Checks whether a block holds enough fluid (such as 1000 mB of lava) or triggers an action on a set tick interval (such as every 20 ticks).
  • Energy and fluid effects: Drains fluid from a block or generates FE energy during each tick.
  • Toggle and item effects: Turns a block’s normal ticking logic on or off, or inserts items like cookies directly into a block’s inventory.

How to Use:

Adding Capabilities

  1. Run this mod alongside KubeJS and keep ProbeJS active if you want autocomplete hints in VSCode while writing scripts.
  2. Open your KubeJS startup script and add PowerfulEvents.registerCapabilities(event => { ... }) so your capabilities register when the game starts.
  3. Use event.registerBlock(...), event.registerBlockEntity(...), or event.registerItem(...) to pick whether the new capability goes on a block, a block entity, or an item.
  4. Set up steady energy output with powerfuljs:constant_energy using maxExtract and maxReceive (for example, giving redstone_block 100 FE/t that you pull out with an extractor cable).
  5. Add energy or fluid storage to block entities like minecraft:furnace using powerfuljs:fixed_storage_fe or powerfuljs:fixed_storage_fluid with capacity, maxExtract, and maxReceive values.
  6. Create a conditional fluid source with powerfuljs:constant_fluid and .validate(...) to check conditions like a lava source block in a Nether biome, and avoid relying on validate for blocks that change state while running since capabilities are reused for speed.
  7. Use event.registerItem('powerfuljs:fixed_storage_fluid', ...) with validator and changeItemWhen to transform items like netherrack or soul_sand into minecraft:magma_block when filled with minecraft:lava.

Intercepting Block Ticking

  1. Open your KubeJS server script and add PowerfulEvents.interceptTicking(event => { ... }) to define custom block ticking logic.
  2. Call event.intercept('minecraft:furnace', () => [ ... ]) to override a ticking block with Rules and Effects.
  3. Chain conditions such as Rules.matchBlock(...), .negate(), .or(...), and Rules.hasFluid(...) with actions like Effects.drainFluid(...), Effects.fillEnergy(...), and Effects.toggleEnable() to control when the block runs and what resources it uses or produces.
  4. Call event.forceTicker('chest', true) before event.intercept(...) when targeting a block that does not normally tick, then pair Rules.every(20) with Effects.insertItem('cookie', null) to run timed effects.
  5. Reload your server scripts to apply ticking changes, and break and replace any block that already has injected logic so its ticker refreshes.

Screenshots:

Minecraft mod list showing PowerfulJS loaded in version 1.20.1
In-game mod selection menu displaying PowerfulJS active on Minecraft version 1.20.1
Minecraft landscape with vibrant lighting and shaders applied
Lush open wilderness scene rendered with dynamic sunlight and vibrant outdoor shaders
Cherry blossom trees on a hillside in Minecraft
Pink cherry blossom trees dotting a grassy hillside under bright daylight
Custom cherry trees and foliage with a shaderpack
Flowering cherry grove surrounded by leafy vegetation using custom shader lighting
Scenic landscape with cherry blossom trees and a lake
Tranquil lakeside view framed by flowering cherry blossom branches on the shore
Grassy hills under a bright sky with cherry blossom trees
Rolling green hills adorned with blooming cherry trees under a clear blue sky
Lush green forest landscape with rolling hills and trees
Dense green forest landscape covering steep hills beneath a softly lit horizon
Scenic mountain landscape with pink cherry blossom trees
Mountainous terrain blanketed in blooming pink foliage across high grassy ridges
Scenic landscape featuring custom cherry blossom trees on hills
Vibrant cherry blossom grove thriving across undulating meadows in a custom world
Close up view of cherry blossom trees in a vibrant forest
Detailed view of blooming pink tree canopies inside an overgrown wild woodland

Requirements:

PowerfulJS Mod Download Links

For Minecraft 1.21.1, 1.21

NeoForge Version: Download from Server 1 – Download from Server 2

For Minecraft 1.20.1

Forge/NeoForge Version: Download from Server 1 – Download from Server 2

For Minecraft 1.19.2

Forge Version: Download from Server 1 – Download from Server 2

Click to rate this post!
[Total: 2 Average: 5]
QUICK MINECRAFT SURVEY · ONE TAP
Mods & Modpacks

What do you do when a mod you love is abandoned by its creator?

19 responses · See the full results →