Fabric API

Fabric API

106M Downloads

ArmorMaterial identifier is not mod dependent

Siphalor opened this issue ยท 5 comments

commented

I just noticed that when registering new armor materials, their name is not an Identifier.
This leads to the strange situation that when implementing own armor sets Minecraft will always search minecraft:textures/models/armor for their 3d texture.

Shouldn't Fabric API have an interface for this or at least gain the correct namespace by the item's id?

commented

This is still an issue in 1.19. While originally resolved in #963 with the armor texture API, it was never included in the 1.17 branch for some reason. Instead, it got replaced with a new armor rendering registry (#1607) that only lets you do fully custom rendering instead of just providing mod-dependent texture paths.

commented

Parsing the Strings as Identifiers might be easier.

commented

Is this ever going to be worked on again?
My original pr (#98) was closed with the note that this is being worked on?!

commented

I dont see why not, sadly I dont know what asie's idea was.

commented

See #963