⚠️ CucumberJS has been replaced by ToolsJS ⚠️
CucumberJS
An addon for KubeJS that allows creating tools and weapons from the Cucumber Library. That's it. Not entirely clear why this might be needed.
Required Dependencies
- KubeJS
- Rhino
- Architectury
- Cucumber Library
Recommended Dependencies (not required)
- ProbeJS
Creating a Tool
// In startup_scripts, this creates a tool without texture
StartupEvents.registry("item", (event) => {
event.create("test_crossbow", "crossbow");
event.create("test_fishingrod", "fishingrod");
event.create("test_paxel", "paxel");
event.create("test_scythe", "scythe");
event.create("test_shear", "shears");
event.create("test_sickle", "sickle");
event.create("test_wateringcan", "wateringcan");
});