Minecraft custom item texture – experiencing ghosting

minecraft-java-edition

I am attempting to create some HD textures for Minecraft (currently version 1.8.1). I succeeded in getting the image to load in the game, but it doesn't look right. It appears that the game is trying to create a thickness for the item (this example is an iron sword). I used the same resolution for a birch log block that turned out great, of course it's a square item so I can imagine that trying to create thickness of a hand-held item is more difficult.

Does anyone have any suggestions on how to improve/remove this artifact for items?

Thanks.
Iron Sword in Hand

Edit: Here is the texture I used:

Iron Sword Texture

Best Answer

Minecraft uses the "edge" of an image when creating the 3D geometry. That means the pixel that defines the "edge" will be used for the full color.

In your case, the edge of the sword is of varying color and alpha values. This makes the sword picture "smooth" but it will mess up the color picking used for the 3D weapon. I would advise re-working the edge of the sword to fix the transparency. A hard edge is going to work best.