focamacho / DupeFix-Project

A mod for Minecraft 1.12.2 that fixes dupes in other mods.
https://www.curseforge.com/minecraft/mc-mods/dupefix-project
MIT License
31 stars 5 forks source link

[1.12.2] Duplication of buckets in Mr. Crayfish's Furniture mod #61

Open schradeunderscore opened 3 years ago

schradeunderscore commented 3 years ago

Crafting recipes that have to do with the soap for the washing machine and dishwasher duplicate buckets. Crafting it requires a bucket of water, but leaves behind the bucket in the crafting grid while in the output you get a bucket of soap, which when used, surprise, leaves behind the bucket. There is a higher tier of soap crafted from the first soap as well. You can turn one bucket into 3 by crafting up to that soap.

Ashley123477 commented 3 years ago

I have reported this to mrcrayfish's bug report github

Romz24 commented 2 years ago

If you are using CraftTweaker you can add this to your scripts to fix dupe buckets

recipes.removeShapeless(<cfm:item_soap_water>);
recipes.addShapeless(<cfm:item_soap_water>, [
    <cfm:item_soap>, <minecraft:water_bucket>.noReturn()]);

recipes.removeShaped(<cfm:item_super_soap_water>);
recipes.addShaped(<cfm:item_super_soap_water>, [
    [<minecraft:gold_ingot>, <minecraft:gold_ingot>, <minecraft:gold_ingot>],
    [<minecraft:gold_ingot>, <cfm:item_soap_water>.noReturn(), <minecraft:gold_ingot>],
    [<minecraft:gold_ingot>, <minecraft:gold_ingot>, <minecraft:gold_ingot>]]);

Create file fixBucket.zs in scripts folder and paste this code there