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

NBT in input #950

Open
partglm opened this issue Feb 5, 2025 · 0 comments
Open

NBT in input #950

partglm opened this issue Feb 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@partglm
Copy link

partglm commented Feb 5, 2025

Minecraft Version

1.19.2

KubeJS Version

kubejs-forge-1902.6.2-build.73

Rhino Version

rhino-forge-1902.2.3-build.284

Architectury Version

architectury-6.6.92-forge

Forge/Fabric Version

Forge:43.4.12

Describe your issue

hello i have a code but it do the recipe and forgot the nbt so i can't do a recipe with a specific nbt in input

const withNBT = (item, stage) => {
return {
item: item,
nbt: {etapeOfProcess:${stage}}
};
};

// Étape 2 : Mixing avec sulfuric_acid
event.custom({
"type": "create:mixing",
"results": [withNBT("kubejs:cu_item_10", 2)],
"ingredients": [
{ "fluid": "mekanism:sulfuric_acid", "amount": 1000 },
{ "item": "mekaevolution:cosmic_control_circuit" }
],
"heatRequirement": "superheated"
});

// Étape 3 : Mixing avec hydrofluoric_acid
event.custom({
"type": "create:mixing",
"results": [withNBT("kubejs:cu_item_10", 3)],
"ingredients": [
{ "fluid": "mekanism:hydrofluoric_acid", "amount": 1000 },
withNBT("kubejs:cu_item_10", 2) // Nécessite étape 2
],
"heatRequirement": "superheated"
});

Crash report/logs

No response

@partglm partglm added the bug Something isn't working label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant