ToolsJS
No reviews yet
A KubeJS addon for creating tools! Any type of tools!
Provides a framework or library for other mods to use.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
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
ToolsJS
A KubeJS addon for creating tools! Any type of tools! Includes all tools and features of CucumberJS, PaxelJS and lots of new ones!
Dependencies
Ex Deorum (Optional, if you plan to use tools from that mod)
Usage
StartupEvents.registry("item", (event) => {
event.create("test_hammer", "exdeorum:hammer").tag("exdeorum:hammers");
event.create("test_crook", "exdeorum:crook").tag("exdeorum:crooks");
event.create("test_mesh", "exdeorum:mesh");
event.create("test_wateringcan", "exdeorum:watering_can").capacity(3000);
event.create("test_brush", "brush");
event.create("test_shield", "shield");
event.create("test_paxel", "paxel");
event.create("test_bow", "bow");
event.create("test_crossbow", "crossbow");
event.create("fishing_rod", "fishing_rod");
});
You can also use built in textures to help create your tools quickly. This one will make the paxel head a different colour. View the built-in textures here
StartupEvents.registry("item", (event) => {
event
.create("test_paxel", "paxel")
.texture("layer0", "toolsjs:item/paxel_handle")
.texture("layer1", "toolsjs:item/paxel")
.color(1, 0x74c7ec);
});

An example of horse armor with the diamond item texture and armor texture.
StartupEvents.registry("item", (event) => {
event
.create("test_horse_armor", "horse_armor")
.material("diamond")
.armorTexture(
"minecraft:textures/entity/horse/armor/horse_armor_diamond"
)
.texture("minecraft:item/diamond_horse_armor");
});
Here is an example of a custom crossbow with a custom texture. You need to name the item you are creating the same as the texture and model file names as shown below. There are also no built-in texture and model files for this reason, and you will have to copy your own from the vanilla versions. You can find them easily at mcasset.cloud.
StartupEvents.registry("item", (event) => {
event.create("crossbow", "crossbow");
});


Credits
All paxel code and tagging code from Cucumber Library by BlakeBr0 under MIT license
All built in textures provided by FooterManDev
ToolsJS
A KubeJS addon for creating tools! Any type of tools! Includes all tools and features of CucumberJS, PaxelJS and lots of new ones!
Dependencies
Ex Deorum (Optional, if you plan to use tools from that mod)
Usage
StartupEvents.registry("item", (event) => {
event.create("test_hammer", "exdeorum:hammer").tag("exdeorum:hammers");
event.create("test_crook", "exdeorum:crook").tag("exdeorum:crooks");
event.create("test_mesh", "exdeorum:mesh");
event.create("test_wateringcan", "exdeorum:watering_can").capacity(3000);
event.create("test_brush", "brush");
event.create("test_shield", "shield");
event.create("test_paxel", "paxel");
event.create("test_bow", "bow");
event.create("test_crossbow", "crossbow");
event.create("fishing_rod", "fishing_rod");
});
You can also use built in textures to help create your tools quickly. This one will make the paxel head a different colour. View the built-in textures here
StartupEvents.registry("item", (event) => {
event
.create("test_paxel", "paxel")
.texture("layer0", "toolsjs:item/paxel_handle")
.texture("layer1", "toolsjs:item/paxel")
.color(1, 0x74c7ec);
});

An example of horse armor with the diamond item texture and armor texture.
StartupEvents.registry("item", (event) => {
event
.create("test_horse_armor", "horse_armor")
.material("diamond")
.armorTexture(
"minecraft:textures/entity/horse/armor/horse_armor_diamond"
)
.texture("minecraft:item/diamond_horse_armor");
});
Here is an example of a custom crossbow with a custom texture. You need to name the item you are creating the same as the texture and model file names as shown below. There are also no built-in texture and model files for this reason, and you will have to copy your own from the vanilla versions. You can find them easily at mcasset.cloud.
StartupEvents.registry("item", (event) => {
event.create("crossbow", "crossbow");
});


Credits
All paxel code and tagging code from Cucumber Library by BlakeBr0 under MIT license
All built in textures provided by FooterManDev
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