Open
Description
getting expecting token of type BR_CLOSE, even though the closing bracket is there and the script works in game. I tried going through the JSON and javascript to try and fix it myself but I have no idea why only the first set is working. I thought it might be a weird regex edge case, but that didn't work.
Here's my script BTW. The bracket pairs in question are the <Container>
s
import crafttweaker.api.recipe.type.Recipe;
import crafttweaker.api.recipe.type.CraftingRecipe;
import crafttweaker.api.world.Container;
for recipe in craftingTable.getRecipesByOutput(<tag:items:minecraft:stairs>) {
println((recipe as Recipe<Container>).resultItem.commandString + ": - " + (recipe as Recipe<Container>).ingredients[0].commandString);
}
Metadata
Metadata
Assignees
Labels
No labels