Skip to content

Help with Updating to 5.0.0+ #142

@NotConnerGitHub

Description

@NotConnerGitHub

My Texture Pack is stuck on 4.11.2 because major changes happened and I didn't have time to update it until now, I just need a simple conversion from the text below to the new format and I should be good to go most likely, I'd appreciate the help, love the mod. I will provide the items for context.

  "type": "component_data",
  "priority": 100,
  "items": "minecraft:emerald",
  "modelPrefix": "item/gems/major/",
  "modelParent": "item/generated",
  "parameters": {
    "componentType": "custom_name",
    "expect": "rich_text",
    "transform": [
      {
        "regex": "^(?=.*Major)(?=.*Nether)(?=.*Gem).*",
        "substitution": "major_nether_gem"
      },
      "sanitize_path"
    ]
  }
}
Image

There are multiple variations of the Gems, so Minor, Major, Perfect, Max, Max Plus 1, and they all sit on top of the Examined Gems, so I don't know if "priority": 100 will work with the new system or not. If there is a easy way to set this up to where anything above Examined will apply first over the others listed, I'd love that.

  "type": "component_data",
  "priority": 0,
  "items": "minecraft:emerald",
  "modelPrefix": "item/gems/examined/",
  "modelParent": "item/generated",
  "parameters": {
    "componentType": "custom_name",
    "expect": "rich_text",
    "transform": [
      {
        "regex": "^(?=.*Nether Gem).*",
        "substitution": "nether_gem"
      },
      "sanitize_path"
    ]
  }
}
Image

Also "(Overload II)" is just the Enchant that was Examined, which is why I only select "Nether Gem" since it makes it easier to apply the Texture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pack helpHelp setting up a resource pack

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions