Applied Energistics 2

Applied Energistics 2

160M Downloads

Certus Quartz Duplication due to recipe imbalance

CShark opened this issue ยท 3 comments

commented

Describe the bug

You can double your certus quartz by crafting it in a specific order.

How to reproduce the bug

Take certus quartz crystals. Craft quartz block. Craft cut quartz block. Craft cut quartz slab. Craft chiseled quartz block. Craft certus quartz crystals.

Expected behavior

I should end up with the same number of quartz crystals as I started with.

Additional details

The issue was found using a bit of graph theory on a recipe export from crafttweaker. There are some more exploits, but they all seem to be related:

<item:ae2:certus_quartz_crystal>: 2
<recipetype:minecraft:crafting>          <item:ae2:certus_quartz_crystal>         => <item:ae2:quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:quartz_block>                  => <item:ae2:cut_quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:cut_quartz_block>              => <item:ae2:cut_quartz_slab>
<recipetype:minecraft:crafting>          <item:ae2:cut_quartz_slab>               => <item:ae2:chiseled_quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:chiseled_quartz_block>         => <item:ae2:certus_quartz_crystal>

<item:ae2:chiseled_quartz_block>: 2
<recipetype:minecraft:crafting>          <item:ae2:chiseled_quartz_block>         => <item:ae2:certus_quartz_crystal>
<recipetype:minecraft:crafting>          <item:ae2:certus_quartz_crystal>         => <item:ae2:quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:quartz_block>                  => <item:ae2:cut_quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:cut_quartz_block>              => <item:ae2:cut_quartz_slab>
<recipetype:minecraft:crafting>          <item:ae2:cut_quartz_slab>               => <item:ae2:chiseled_quartz_block>

<item:ae2:cut_quartz_slab>: 2
<recipetype:minecraft:crafting>          <item:ae2:cut_quartz_slab>               => <item:ae2:chiseled_quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:chiseled_quartz_block>         => <item:ae2:certus_quartz_crystal>
<recipetype:minecraft:crafting>          <item:ae2:certus_quartz_crystal>         => <item:ae2:quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:quartz_block>                  => <item:ae2:cut_quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:cut_quartz_block>              => <item:ae2:cut_quartz_slab>

<item:ae2:cut_quartz_slab>: 2
<recipetype:minecraft:crafting>          <item:ae2:cut_quartz_slab>               => <item:ae2:chiseled_quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:chiseled_quartz_block>         => <item:ae2:certus_quartz_crystal>
<recipetype:minecraft:crafting>          <item:ae2:certus_quartz_crystal>         => <item:ae2:quartz_block>
<recipetype:minecraft:crafting>          <item:ae2:quartz_block>                  => <item:ae2:cut_quartz_block>
<recipetype:minecraft:stonecutting>      <item:ae2:cut_quartz_block>              => <item:ae2:cut_quartz_slab>

Which minecraft version are you using?

1.19

On which mod loaders does it happen?

Forge

Crash log

Not needed

commented

Yeah I'm currently working on that algorithm. If I manage to update it, I will post a new analysis with more detailed item counts.

commented

Without amounts consumed/produced, the provided output is really not all that useful.
I'll have to check the recipe amounts manually.

commented

The problem is turning slabs into chiseled blocks. You put 3 Blocks into the slabs, but get 6 blocks out of the resulting slabs.