Mystical Agriculture

Mystical Agriculture

86M Downloads

Using <item:minecraft:air> in crafttweaker infusion recipe results in a broken recipe.

codewolf219 opened this issue ยท 0 comments

commented

public class InfusionRecipe implements ISpecialRecipe, IInfusionRecipe {

Describe the bug
When adding infusion recipes through crafttweaker, using item:minecraft:air prevents the recipe form functioning

To Reproduce
Steps to reproduce the behavior:
Using a craft tweaker script, add this recipe below
Set up the infusion altar and put a diamond in the middle, and 4 dirt on pedestals.
Supply redstone to the altar

Expected behavior
A clear and concise description of what you expected to happen.
Particle effects streaming from the pedestals to the altar, then the diamond changing to a netherite ingot

Screenshots / Scripts / Logs
Please add your logs and scripts (if applicable).
mods.mysticalagriculture.InfusionCrafting.addRecipe("netherite_from_dirt", item:minecraft:netherite_ingot, [item:minecraft:diamond,item:minecraft:air,item:minecraft:dirt,item:minecraft:air,item:minecraft:dirt,item:minecraft:air,item:minecraft:dirt,item:minecraft:air,item:minecraft:dirt]);

Versions (please complete the following information):

  • Minecraft: 1.16.5
  • Forge: 36.1.4
  • Cucumber: 4.1.9
  • Mystical Agriculture: 4.1.7

Note: I'm aware that this can be done by simply omitting the item:minecraft:air from the ingredients list and only using 4 dirt, however for aesthetic purposes I'd like to use air so the recipe is aligned how I would like.