Mineuniverse
Log in Register
Mods

KubeJS ProjectE

Lets you control various aspects of ProjectE with KubeJS
by BobVarioa
Download Claim this project
611,287 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Lets you set the EMC values of items and the Philosopher's Stone transformations blocks with the ProjectE mod. Examples are shown below.

 

In server_scripts:

ProjectEEvents.setEMC(event => {
    // sets the absolute emc value of an item
    event.setEMC("minecraft:cobblestone", 0) // alias. setEMCAfter

    // sets the emc of an item before anything else happens
    // this can sometimes result in this emc value not being
    // set, but also it allows for emc values to be generated
    // from this one; i.e crafting recipes
    event.setEMCBefore("minecraft:stick", 10000);
})

ItemEvents.rightClicked("minecraft:stick", event => {
    let player = event.player;

    // getPlayerEMC will always return a string
    // because emc values can get very large
    player.tell("Your emc is " + ProjectE.getPlayerEMC(player))

    ProjectE.addPlayerEMC(player, 1000);
    // the second argument can be a string because of the above
    // ProjectE.setPlayerEMC also exists

    player.tell("Your new emc is " + ProjectE.getPlayerEMC(player))
})

In startup_scripts: 

ProjectEEvents.registerWorldTransmutations(event => {
    event.transform("minecraft:tnt", "minecraft:oak_planks");
})
kubejsprojecte-1.3.3.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-10-02 Get
kubejsprojecte-1.3.1.jar
MC NeoForge, 1.21.1, Server
Release 2025-04-27 Get

More from BobVarioa

KubeJS REI Runtime
89,244
Force Correct Tool
870
Block Packs
859
KubeJS Industrial Foregoing
763,526
Ars is Botania
5,562
KubeJS Ars Nouveau
4,958,378

You Might Also Like

Theurgy KubeJS
Theurgy KubeJS provides KubeJS integrations for Theurgy.
9,503,452
EntityJS
This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!
8,731,173
KubeJS TFC
KubeJS TFC integration
919,127
Forbidden Arcanus JS
Forbidden and Arcanus kubejs Compatibility
97,097
Immersive Engineering JS
kubejs compat for ie
94,624
KubeJS REI Runtime
Allows KubeJS to hide and show items from REI dynamically
89,244