Create

Create

86M Downloads

Mechanical press with a basin will default to turning iron ingots into trapdoors if there is no filter on the basin

blutz-oculus opened this issue ยท 4 comments

commented

Repro steps:

  • Feed nine iron ingots at a time into a basin with a mechanical press.

Expected behavior:

  • If nine ingots are being fed into the press, they should create an iron block.

Actual behavior:

  • Unless a recipe filter is added to the basin to specify iron blocks, the basin will default to making iron trapdoors.
  • Other ingot types (gold, zinc, brass, copper) and compressible items such as coal or kelp will create blocks as expected.
commented

This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks.

commented

This issue has been closed since it has been inactive for 3 weeks since it was marked as stale.

commented

I don't contribute to this repo (although I may one day), but this seems like intended behavior. Compaction isn't just about packing items together, but more broadly any recipe that is 2x2 or 3x3 of a single item. This means there are a few unusual items that can be made with a press, such as crafting tables, cut sandstone, and iron trap doors.

commented

Using a press/basin combo to make trapdoors is in fact a valid use case, although iron blocks are going to be more common. I guess my question would be in how the press determines which item will be created if there are multiple recipes that can be made with the same ingredient. In this case, I'm using a brass funnel to feed 9 ingots at a time into the press from a container, and I'm still getting trapdoors unless I explicitly put an item filter on the basin to make blocks.

Without knowing how this is handled in code, my thinking would be that if the user funnels 4 ingots at a time then it would make trapdoors (which would also create a bit of a pitfall for someone trying to feed ingots one at a time) but if they funnel 9 ingots at a time it would make the blocks. As far as I know, iron is the only material in the game that has both a valid 2x2 and a 3x3 recipe, which makes it a bit of an edge case.