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

doesn't respect the nbt in input #51

Open
partglm opened this issue Jan 15, 2025 · 0 comments
Open

doesn't respect the nbt in input #51

partglm opened this issue Jan 15, 2025 · 0 comments

Comments

@partglm
Copy link

partglm commented Jan 15, 2025

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"
   });
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

1 participant