KubeJS Ars Nouveau
No reviews yet
KubeJS support for Ars Nouveau
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
Allows KubeJS to create Ars Nouveau recipes. The provided methods are displayed below.
ServerEvents.recipes(event => {
event.recipes.ars_nouveau.enchanting_apparatus(
[
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
], // input items
"minecraft:gunpowder", // reagent
"minecraft:tnt", // output
1000, // source cost
// true // keep nbt of reagent, think like a smithing recipe
);
event.recipes.ars_nouveau.enchantment(
[
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
], // input items
"minecraft:vanishing_curse", // applied enchantment
1, // enchantment level
1000, // source cost
);
event.recipes.ars_nouveau.crush(
"minecraft:tnt", // input block
[
{
stack: Item.of("minecraft:sand"),
chance: 1.0,
maxRange: 10 // times this output will be "rolled", e.g. if this was a 50% chance there would be 10 attempts
}
] // loot table
// true // drop the item in world?
);
/*
// this *does* work, but the recipe must be a valid glyph
// in the tome, so this really can only be used to
// replace a glyph's recipe
event.recipes.ars_nouveau.glyph(
"minecraft:tnt", // output item (glyph)
[
"minecraft:sand",
"minecraft:gunpowder",
], // input items
3 // exp cost
);
*/
// accessible via `/ars-tome id` in this case `/ars-tome kubejs:not_glow`
event.recipes.ars_nouveau.caster_tome(
"Not-Glow Trap", // name,
[
"ars_nouveau:glyph_touch",
"ars_nouveau:glyph_rune",
"ars_nouveau:glyph_snare",
"ars_nouveau:glyph_extend_time",
"ars_nouveau:glyph_light"
], //spell
"Doesn't snare the target and grant other targets Glowing.", // description
{
id: "ars_nouveau:rainbow",
r: 100,
g: 100,
b: 100,
}, // color
{
"sound": "ars_nouveau:default",
"pitch": 1.0,
"volume": 1.0
},
).id("kubejs:not_glow")
event.recipes.ars_nouveau.imbuement(
"minecraft:sand", // input item
"minecraft:tnt", // output
1000, // source cost
)
event.recipes.ars_nouveau.imbuement(
"minecraft:red_sand", // input item
"minecraft:tnt", // output
1000, // source cost
["minecraft:tnt"] // pedestal items
)
event.replaceInput({ type: "ars_nouveau:enchanting_apparatus" }, "ars_nouveau:abjuration_essence", "minecraft:tnt");
})
This addon allows you to create recipes for the mod Ars Nouveau
Note: Modrinth does not host the Ars Nouveau mod, so to run this mod you must have it installed from a different source.
ServerEvents.recipes(event => {
event.recipes.ars_nouveau.enchanting_apparatus(
[
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
], // input items
"minecraft:gunpowder", // reagent
"minecraft:tnt", // output
1000, // source cost
// true // keep nbt of reagent, think like a smithing recipe
);
event.recipes.ars_nouveau.enchantment(
[
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
], // input items
"minecraft:vanishing_curse", // applied enchantment
1, // enchantment level
1000, // source cost
);
event.recipes.ars_nouveau.crush(
"minecraft:tnt", // input block
[{
item: "minecraft:sand",
chance: 1
}] // loot table
// true // drop the item in world?
);
/*
// this *does* work, but the recipe must be a valid glyph
// in the tome, so this really can only be used to
// replace a glyph's recipe
event.recipes.ars_nouveau.glyph(
"minecraft:tnt", // output item (glyph)
[
"minecraft:sand",
"minecraft:gunpowder",
], // input items
3 // exp cost
);
*/
// accessible via `/ars-tome id` in this case `/ars-tome kubejs:not_glow`
// this is a direct copy of the Glow Trap tome in base Ars Nouveau
event.recipes.ars_nouveau.caster_tome(
"Not-Glow Trap", // name,
[
"ars_nouveau:glyph_touch",
"ars_nouveau:glyph_rune",
"ars_nouveau:glyph_snare",
"ars_nouveau:glyph_extend_time",
"ars_nouveau:glyph_light"
], //spell
"Doesn't snare the target and grant other targets Glowing.", // description
16718260, // color
{
"family": "ars_nouveau:default",
"pitch": 1.0,
"volume": 1.0
},
).id("kubejs:not_glow")
event.recipes.ars_nouveau.imbuement(
"minecraft:sand", // input item
"minecraft:tnt", // output
1000, // source cost
[
"minecraft:gunpowder"
] // pedestal items // optional
)
})
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