ic2 tweaker - wrong dropping chance from ScrapBox custom recipe

  • Hi everyone!

    Once me decided create own modpack with industriall mods, include ic2, for skyblock map. Next i wanted add custom cfg for mods. I started using craft tweaker+mod tweaker to do this. Also ic2 has craft tweaker support addon - "ic2 tweaker". After all this when i wanted add custom recipe for scrapbox from ic2 using ic2 tweaker+craft tweaker was get an unexpected result - next was get an unexpected result: the real item drop chance dont match cfg chance line, which was be it setted.

    Testing item for this: bedrock, setted chance = 0.1F (weighted item) like diamond in the ic2

    [picture] dropping


    haxbwlel0en71.png?width=1366&format=png&auto=webp&s=4c05b3b9b6ba12c7da606eaf270ce72db20b7364

    [picture] result


    hjezbncm0en71.png?width=1366&format=png&auto=webp&s=4ee81df0b9906ee28faf021056ce0af7364ffefa

    My .zs cfg line setted like in the crafttweaker documentation:

    Scrap Box - CraftTweaker Documentation (blamejared.com)

    cfg line (.zs file)
    Code
    mods.ic2.ScrapBox.addDrop(<minecraft:bedrock>, 0.1F)

    original source code of ic2 tweaker (ScrapboxSupport)

    ic2 tweaker source code (ScrapboxSupport)

    I rewrite code for this ScrapBoxSupport action.

    My custom version of this code

    At this .zs cfg line setted like now

    another cfg line (.zs file) for this code
    Code
    mods.ic2.ScrapBox.addRecipe(<ic2:crafting:24>, <minecraft:bedrock>, 0.1F);

    So, also it worked, nice… But, the situation is not changed - wrong item drop chance from scrapboxes.

    Guys, help me to find solution this issue.

    Thanks in advance.