SkyCrypt icon indicating copy to clipboard operation
SkyCrypt copied to clipboard

Improve `custom-resources.js`

Open dukio opened this issue 3 years ago • 0 comments

These are a few ways I thought of that could help improve accuracy of custom-resource.js when assigning items a texture:

  • nbt.tag.ExtraAttributes.id (skyblock item id ex: WISE_WITHER_BOOTS) should be a top priority check for textures (also not a regex?)... so if an item has an ExtraAttributes.id we can instantly filter out all the textures that do not have an nbt.tag.ExtraAttributes.id or a matching nbt.tag.ExtraAttributes.id
  • we should remove/ignore color attributes such as \u00A7a \u00A76 \u00A77 (example: max "Fortunate" HotM perk in FSR 1.4.2)

dukio avatar Nov 21 '21 14:11 dukio