Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipe with KubeJS not working #41

Open
Spyro1502 opened this issue Jan 7, 2024 · 2 comments
Open

Recipe with KubeJS not working #41

Spyro1502 opened this issue Jan 7, 2024 · 2 comments

Comments

@Spyro1502
Copy link

Hi !

I actually tried to add recipes through KubeJS in create_mechanical_extruder-1.18.2-1.4.4.e-318
But even if kubejs confirm it's been loaded with no error, none of the recipes appears.

Here is a small one I tried with only minecraft items to be the more accurate, and I confirm it does not appear:

onEvent('recipes', event => {
	
	event.custom({
		"type": "create_mechanical_extruder:extruding",
		"ingredients": [
			{"fluid": "minecraft:water", "amount": 1000},
			{"fluid": "minecraft:lava", "amount": 1000}
		],
		"result": { "item": "minecraft:obsidian" }
	})
})
@Spyro1502
Copy link
Author

I found a workaround for now, which consist of using the KubsJS format of that code :

event.recipes.createMechanicalExtruderExtruding(
	Item.of("minecraft:obsidian"),
	[
		Fluid.of("minecraft:water"),
		Fluid.of("minecraft:lava")
	]
);

Hopping it can still help.

@jmilster0731
Copy link

I've been trying to get this to work for two days, can you show the full doc? Because I can't seem to get it going and I'm losing it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants