Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.93k stars 907 forks source link

Crafting Blueprint Duplication Glitch #4339

Open JMPotionwiz opened 1 year ago

JMPotionwiz commented 1 year ago

Describe the Bug

Using a combination of crafting blueprints and item filters (either kind), items can be duplicated.

Reproduction Steps

  1. Create a item filter which can accept any item (example: an empty deny list)
  2. Place item filter in the inputs for the crafting blueprint (must be at least 2 slots, but more slots = more items created)
  3. Place the item filter in the output slot
  4. Hold an item in your first hotbar slot
  5. Use the crafting blueprint. You should now have made a profit of 1 less than the amount of input item filters Duplication will not occur if: . The number of items in your first hotbar slot is greater than or equal to the amount of input item filters . The item(s) in your first hotbar slot are ingredients to a valid crafting recipe (examples: 1 block of iron = 9 iron ingots, 1 log = 4 planks, 2 wool = 3 carpets) . If (when using attribute filters) you didn't include all items from vanilla minecraft . If you are trying to dupe something not accepted by the filter

Expected Result

Items are crafted, if possible, otherwise nothing should happen

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.0h

Minecraft Version

1.19.2

Forge Version

43.2.0

Other Mods

No response

Additional Context

No response

Ashley123477 commented 1 year ago

Confirmed to also work on create-1.18.2-0.5.0.i