[EMF] Entity Model Features [Fabric & Forge]

[EMF] Entity Model Features [Fabric & Forge]

28M Downloads

Tridents Z-fighting

diskree opened this issue ยท 1 comments

commented

I've never worked with Optifine before, so please forgive me if I wrote in the wrong place.

  • Minecraft 1.21
  • EMF 2.1
  • ETF 6.1.1

I trying make custom entity texture for tridents with specific CustomModelData, but I can't even do it with all tridents. I do this in BlockBench using the CEM Template Loader plugin. Here my exported jem file:

{
	"credit": "Made with Blockbench",
	"textureSize": [32, 32],
	"texture": "trident.png",
	"models": [
		{
			"part": "body",
			"id": "body",
			"attach": false,
			"invertAxis": "xy",
			"translate": [0, -27, 0],
			"boxes": [
				{"coordinates": [-1.5, 25, -0.5, 3, 2, 1], "textureOffset": [4, 0]},
				{"coordinates": [-0.5, 0, -0.5, 1, 25, 1], "textureOffset": [0, 6]},
				{"coordinates": [-0.5, 27, -0.5, 1, 4, 1], "textureOffset": [0, 0]},
				{"coordinates": [1.5, 26, -0.5, 1, 4, 1], "textureOffset": [4, 3]},
				{"coordinates": [-2.5, 26, -0.5, 1, 4, 1], "textureOffset": [4, 3]}
			]
		}
	]
}

Texture is just a red square 32x32.

The tip of the trident creates Z-fighting. Moreover, it seems that the central part of the tip does not change at all. And here is screenshot:

javaw_dWj6aJoML2

commented

Bug has been fixed, details here: JannisX11/blockbench-plugins#566 (comment)