Skip to content

Conversation

@Pirulax
Copy link

@Pirulax Pirulax commented Jul 6, 2025

Fixes #1720

I'm not quite sure why this code was there in the first place? (The code I've removed)
It seems like you can't manually put recipes that use multiple items/slot into the crafting table, but importing with HEI works just fine, so does the crafting module.

So I guess on another note, it would be nice if inputting recipes like this (into the crafting table) would be possible.

// Import (Slots [0, 8])
for (Pair<ItemIdentifierStack, Integer> slot : bench.matrix) {
final int i = slot.getValue2();
if (i <= inventory.getSizeInventory() - 2) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not exactly sure why inventory size - 2 would be okay here in the new code, but not previously? Can you elaborate?

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

Successfully merging this pull request may close these issues.

Crafting module (and maybe pipe?) doesn't item count doesn't match if a recipe has multiple items in the same slot

2 participants