This commit is contained in:
gnembon committed 2021-04-13 19:54:23 -03:00
1 parent 2cc2101934
commit cc3723ae12
4 files changed
+10 -10

No files matched your search

@@ -130,7 +130,7 @@ public class Inventories {
{
ItemStack result = recipe.getOutput();
List<Value> ingredientValue = new ArrayList<>();
recipe.getPreviewInputs().forEach(
recipe.getIngredients().forEach(
ingredient ->
{
// I am flattening ingredient lists per slot.
@@ -206,7 +206,7 @@ public class ValueConversions
{
PathNode node = path.getNode(i);
nodes.add( ListValue.of(
new BlockValue(null, world, node.getPos()),
new BlockValue(null, world, node.getBlockPos()),
new StringValue(node.type.name().toLowerCase(Locale.ROOT)),
new NumericValue(node.penalty),
new NumericValue(node.visited)