ConnectedTexturesMod

ConnectedTexturesMod

110M Downloads

[1.16] Applying model override to item model causes enchant glint to render solid (?)

ChloeDawn opened this issue ยท 3 comments

commented

Mod version: MC1.16.1-1.1.0.1

Tested with SOLID and TRANSLUCENT layer, resulting in the same issue. GUI model seems to be fine, and using the approach of a dedicated texture with texture metadata does not cause this issue.

image

{
	"parent": "minecraft:item/generated",
	"textures": {
		"layer0": "minecraft:item/golden_apple"
	},
	"loader": "ctm:ctm",
	"ctm_version": 1,
	"ctm_overrides": {
		"0": {
			"type": "normal",
			"layer": "TRANSLUCENT",
			"extra": {
				"light": {
					"block": 15
				}
			}
		}
	}
}

An implementation using a dedicated texture and texture metadata that renders correctly:

image

commented

On closer inspection, the texture is still there, just the glint is significantly more opaque than it should be.

commented

It appears to be sensitive to world light.

image

commented

This issue manifested slightly differently in 1.15, but I believe it's the same problem. If this ends up still broken after being merged into 1.16, please update this issue.