ModTweaker

ModTweaker

88M Downloads

[1.12.2] Thermal Expansion "Refinery" add-recipe is missing weighted item-stack support.

AcidKat opened this issue ยท 0 comments

commented

Issue Description:

All mods where acquired from the Twitch client.

To quickly summarise the information below:
The mod-tweaker Thermal Expansion "Refinery" (Fractionating Still) add recipe do not seem to support a weighted item stack as the item output.

addRecipe(
ZenTypeNative: crafttweaker.liquid.ILiquidStack,
ZenTypeNative: crafttweaker.item.IItemStack, (This should support .WeightedItemStack)
ZenTypeNative: crafttweaker.liquid.ILiquidStack,
int
)

What happens:

Rejects a weighted item stack output in a Thermal Expansion "Fractionating Still" recipe (referred to as "Refinery" in ModTweaker).

Note: The script used can be made to work when a non-weighted item stack output is used. (I tested this quite thoroughly). If you wanted to replicated this result, you could change the script by changing the "resinWeighted" value to "resin" (This would be the script that works but outputs resin 100% of the time).

What you expected to happen:

Fractionating Still recipes should support a weighted item stack as the item output.

Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):

https://pastebin.com/0xkJfGm1

Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):

https://pastebin.com/RAdD3xfk
(See lines 28-31)

Affected Versions (Do not use "latest"):

  • Minecraft: 1.12.2
  • Forge: forge-14.23.0.2546 (also tested on 14.23.0.2543)
  • Crafttweaker: 4.0.10
  • ModTweaker: 4.0.5
  • MTLib: 3.0.1

Your most recent log file where the issue was present:

https://pastebin.com/iePaPGXK