jaredlll08 / ModTweaker

ModTweaker is an addon for CraftTweaker, which provides Integration for an amount of mods.
MIT License
68 stars 63 forks source link

Unable to remove blood from Tinkers Smeltery #646

Closed stohun01 closed 6 years ago

stohun01 commented 6 years ago

Issue Description:

I'm trying to disable liquid blood from accumulating in the the smeltery from mobs. Neither of these seem to have any effect: mods.tconstruct.Melting.removeEntityMelting(entity); mods.tconstruct.Melting.removeRecipe(<liquid:blood>);

I also tried the following but for some reason this is able to add blood to the smeltery with a volume of 0, which also means it can't be removed without replacing the controller. mods.tconstruct.Melting.addEntityMelting(entity, <liquid:blood>*0);

Script used

Minetweaker log file


Affected Versions:

most recent log file

jaredlll08 commented 6 years ago

So you need to set the liquid to null, like mods.tconstruct.Melting.addEntityMelting(entity, null);, however... This will error without the latest MTLib (releasing it now, will be 3.0.5), and even then, this is a TiC issue, if an entity is in the smeltery that doesn't have a fluid returned (null), then it defaults to blood