Is there any way to get around textures clipping like this on a zero-width cube? In Blockbench it renders fine, but ingame it looks like this. Interestingly it's fine when placed as a block, it only breaks when rendered like this with Minecraft.getMinecraft().getItemRenderer().renderItem(player, new ItemStack(Item.getItemFromBlock(ItemSmokingArmor.HAT_INSTANCE), 1), ItemCameraTransforms.TransformType.NONE);.
Version is 1.12.2, the rendering is done in a custom LayerRenderer registered on the player's renderer.