KubeJS ProjectE
No reviews yet
Lets you control various aspects of ProjectE with KubeJS
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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");
})
Lets you set the EMC values of items and the Philosopher's Stone transformations blocks with the ProjectE mod. Examples are shown below.
Note: Modrinth does not host a version of ProjectE, so to use this mod you must download it from another source
In server_scripts:
ProjectEEvents.setEMC(event => {
// sets the absolute emc value of an item
event.setEMC("minecraft:cobblestone", 10000) // 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);
})
In startup_scripts:
ProjectEEvents.registerWorldTransmutations(event => {
event.transform("minecraft:tnt", "minecraft:oak_planks");
})
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers