tom5454 / Create-Ore-Excavation

Extract resources using machines powered by Rotational Force
https://www.curseforge.com/minecraft/mc-mods/create-ore-excavation
MIT License
18 stars 21 forks source link

Failed at adding a new vein, with added requirement of a dimension #84

Closed PeggyPenguin closed 8 months ago

PeggyPenguin commented 8 months ago

Hi so i am trying to add in veins to incorporate materials from Divine RPG, and i keep running into an error. image

below is my code that is causing that error. I got it to work once.

event.recipes.createoreexcavation.vein('{"text": "Eden Vein"}', 'divinerpg:eden_ore').placement(1024, 128, 6894685).biomeWhitelist('forge:is_eden').id("kubejs:eden_vein");
event.recipes.createoreexcavation.drilling('divinerpg:eden_fragments', 'kubejs:eden_vein', 1200).priority(1).id("kubejs:eden_vein");

this is my 1st time using kubejs, but i followed your examples and cant seem to make it work. Any help would be appreciated.

PeggyPenguin commented 8 months ago

Fixed by changing the drilling id to something different than the vein id.