TCon tools as Vanilla or Mod Recipe ingredients

TCon tools as Vanilla or Mod Recipe ingredients

Postby DarkJargon » Fri Nov 07, 2014 4:42 am

Reading Unknown Zombie's post about using a TCon tool in a Thaumcraft recipe, I realized is identical to my issue except using as a Blood Magic Binding recipe instead.
Exact same error:
a method available but none matches the parameters (minetweaker.item.IIngredient, minetweaker.item.IItemStack[])

Taking it a bit further though, after reading SpitefulFox's response to the issue, I decided to try using the an item in a basic Shapeless Vanilla recipe to see if it would work. No errors this time, but it still doesn't work.
It appears to recognize it as a valid broadsword item, but the item icon is very distorted, and it still will not accept the specified broadsword that was defined using the NBT data.
Here's the code I've been using to test this:
: [Select all] [/] [] ()
import minetweaker.data.IData;
var BroadSword = <TConstruct:broadsword>;
var MithrilMaterial = {
   InfiTool:{
      Unbreaking:0,
      Damage:0,
      ToolEXP:0 as long,
      ToolLevel:1,
      HarvestLevel:6,
      Head:126,
      Built:1 as byte,
      BaseDurability:739,
      Accessory:126,
      Modifiers:0,
      RenderHead:126,
      Handle:126,
      RenderHandle:126,
      Attack:7,
      Shoddy:0.0 as float,
      MiningSpeed:720,
      ModDurability:0.0 as float,
      Broken:0 as byte,
      BonusDurability:0,
      TotalDurability:739,
      RenderAccessory:126
   },
   display:{
      Name:"Mithril Broadsword"
   }
} as IData;
var MithrilSword = BroadSword.onlyWithTag(MithrilMaterial);
recipes.addShapeless(<minecraft:diamond_sword>, [MithrilSword]);
mods.bloodmagic.Binding.addRecipe(<minecraft:planks>, <minecraft:fishing_rod>);
mods.bloodmagic.Binding.addRecipe(MithrilSword, <minecraft:fishing_rod>);
GeSHi © Codebox Plus


and this is the Vanilla recipe result in game:

Image
DarkJargon
 

Re: TCon tools as Vanilla or Mod Recipe ingredients

Postby DarkJargon » Fri Nov 07, 2014 4:46 am

Hmm, seems the IMG BBCode doesn't support png's...
well, at least it works if you view it in a new tab (it's a dropbox link)
DarkJargon
 

Re: TCon tools as Vanilla or Mod Recipe ingredients

Postby goreae » Sat Nov 08, 2014 4:34 pm

The issue with the image is that it's not a direct image link. Because of special code dropbox uses, you can't directly right-click on the image to get the url. So you have to shift-click it to force the normal context menu. Here's the correct url: https://photos-2.dropbox.com/t/1/AAAnRD ... U9PHhxWRUE

Image
goreae
 
Posts: 90
Joined: Mon Aug 25, 2014 7:07 pm


Return to ModTweaker Issues & Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron