ModTweaker

ModTweaker

88M Downloads

withTag

MrByryndyk opened this issue · 8 comments

commented

What happens:

I use in the recipes items from different mods indicating their parameters in the tag. The recipe either does not work at all, or the object base without tag parameters is used.
But JEI displays correctly.

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

https://pastebin.com/iw5QfK0e - When using vial with any soul, only liquidmobessencezombie is obtained. But JEI displays correctly.
https://pastebin.com/drj6WWS6 - The recipe does not work at all, but it is displayed correctly in JEI
https://pastebin.com/3KRvFrAS - The recipe works correctly. Although the same parameters are used in the tag.

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

https://pastebin.com/r9mHdC0E


Affected Versions (Do not use "latest"):

  • Minecraft: 1.10.2
  • Forge: 12.18.3.2254
  • Crafttweaker: 3.0.24
  • ModTweaker: 2.0.11
  • MTLib: 1.0.2
commented
commented

Ok. Now I'll try, thanks :)

commented

Could you tell me? How to make that from vial with zombie's soul one liquid was made, and from vial with pig's soul another liquid was made? Whatever I do, I always get only one fluid from different vials.

commented

are you running /mt hand on the item that you want? if you are, and are 100% the inputs are correct, then I have no idea

commented

mt hand
Zombie Soul - enderio:itemSoulVessel:1.withTag({isStub: 1 as byte, isVariant: 0 as short, entityId: "Zombie"})
Pig Soul - enderio:itemSoulVessel:1.withTag({isStub: 1 as byte, entityId: "Pig"})
Script
mods.tconstruct.Smeltery.addMelting(liquid:liquidmobessencezombie * 200, enderio:itemSoulVessel:1.onlyWithTag({isStub: 1 as byte, isVariant: 0 as short, entityId: "Zombie"}), 1000);
mods.tconstruct.Smeltery.addMelting(liquid:liquidessencepig * 200, enderio:itemSoulVessel:1.onlyWithTag({isStub: 1 as byte, entityId: "Pig"}), 1000);

But from any vial I get <liquid: liquidmobessencezombie>

commented
commented

Clear. With the usual craft I understood how to do it - it works. It is a pity that this does not work for Smeltery. I'll think of something else...
This will not be added in the next version of the mod?

commented