Leawind / Third-Person

A practical, smooth, feature-rich third person mod for Minecraft
https://leawind.github.io/Third-Person/en-US/?autolang
MIT License
37 stars 12 forks source link

Default namespace of item pattern in resource pack should be the namespace of the pack #68

Closed Leawind closed 6 months ago

Leawind commented 6 months ago

Describe the bug

The default namespace of item patterns is always minecraft

Reproduce

  1. Create a resource pack
  2. Create a file at assets/my_namespace/item_patterns/use_to_aim/anyname.json and write [ "apple" ]
  3. Enable the resource pack in game, the item pattern will be parsed as "minecraft:apple". Then when you eatting an minecraft:apple, it will enter aiming mode.

Expected behavior

The item pattern should be parsed as my_namespace:apple. When you eatting an minecraft:apple, it should not enter aiming mode.