Download KubeJS ProjectE Fork — Minecraft Mods — MetaMods
KubeJS ProjectE Fork

KubeJS ProjectE Fork

Active

Downloads

1

Last update

1 year ago

Versions

1.20.1
Client and server
Forge
Utils
Addons

KubeJS ProjectE Fork

This mod provides the ability to configure EMC values for items and Philosopher's Stone block transformations from the ProjectE mod through the convenient KubeJS interface. Usage examples are shown below.

Important: Modrinth does not host a version of ProjectE, so to use this mod you must download ProjectE from another source.

Configuring EMC Values

In server_scripts files:

ProjectEEvents.setEMC(event => {
    // sets the absolute EMC value for an item
    event.setEMC("minecraft:cobblestone", 10000) // alias for setEMCAfter

    // sets the EMC value for an item before all other calculations
    // this can sometimes result in the value not being set,
    // but also allows EMC values to be generated from this one; for example, through crafting recipes
    event.setEMCBefore("minecraft:stick", 10000);
})

Block Transformation

In startup_scripts files:

ProjectEEvents.registerWorldTransmutations(event => {
    event.transform("minecraft:tnt", "minecraft:oak_planks");
})
Project members
BlatFan

BlatFan

Developer

Created: 19 Jul 2024

ID: 38508