defaultWeapons.yml Advanced Crafting not working #401


  • Waiting
Open
  • ProfessorPickless created this issue Jan 12, 2021

    For my SMP server, I wanted to make custom crafting recipes for guns, and one of the things I wanted to do was make an item called "Steel" made from iron and coal. Steel would be used to craft "Gun Parts", which in turn would be used to craft other guns. I looked at the section on this in the Crackshot Guide and I copied what it said to do in terms of adding a second data value.

    Steel:
    Crafting:
    Enable: true
    Quantity: 1
    Shaped: false
    Ingredients: 265,263
    Item_Information:
    Item_Name: "&eSteel"
    Item_Type: 265~1
    Item_Lore: "&eThe main ingredient to make Gun Parts."

    Gun_Part:
    Crafting:
    Enable: true
    Quantity: 1
    Shaped: true
    Ingredients: 331,265~1,331,265~1,331,265~1,331,265~1,331
    Item_Information:
    Item_Name: "&eGun Part"
    Item_Type: 417~1
    Item_Lore: "&eThe main ingredient for guns and Advanced Gun Parts."

     

     

    However, when I run this it does not work. Please note that where it says the Item Type is 265~1, the ~ is a tilda. The error message is gives is "The weapon 'Steel' has an invalid value for Item_Type!"

    Can someone please explain what I am doing wrong?

  • ProfessorPickless added a tag Waiting Jan 12, 2021
  • ProfessorPickless posted a comment Jan 12, 2021

    I found the issue, it is because 1.16.4 does not support secondary data values. Does anyone know a workaround for this?


To post a comment, please login or register a new account.