CraftTweaker

CraftTweaker

151M Downloads

Fluid ingredient does silly matching

jaredlll08 opened this issue ยท 0 comments

commented

Issue description

https://github.com/CraftTweaker/CraftTweaker/blob/1.19/Forge/src/main/java/com/blamejared/crafttweaker/api/fluid/CTFluidIngredient.java#L75-L79

The way that containsFluid works is that it checks if the other fluid has a smaller or the same amount than the fluidstack, so <fluid:minecraft:water> will not contain <fluid:minecraft:water> * 2, which is inconsistent with how IIngredient matching works, where it checks if the other item has a greater or equal stack size, letting <item:minecraft:dirt> match <item:minecraft:dirt> * 2

Affects 1.18 and 1.19

Steps to reproduce

No response

Script used

n/a

The crafttweaker.log file

n/a

Minecraft version

1.19

Modloader

Forge

Modloader version

n/a

CraftTweaker version

fff4452

Other relevant information

No response

The latest.log file

n/a