SpyglassMC / Spyglass

Development tools for vanilla Minecraft: Java Edition data pack developers.
https://spyglassmc.com
MIT License
322 stars 34 forks source link

✨ Add support for implicit paths in `id` attribute #1640

Closed misode closed 1 week ago

misode commented 1 week ago

Allows writing #[id(registry="texture",path="entity/banner/")] string to specify that the resource location's path should implicitly start in that folder.

Also removes the unnecessary restrictions to categories defined in Symbol. This will make it possible to reference custom resources defined in the config or entirely custom resources by using the API.