The CustomTexture interface in @minecraft/server.
Interface in @minecraft/server
import type { CustomTexture } from '@minecraft/server';Properties
Section titled “Properties”iconHeight
Section titled “iconHeight”iconHeight: number;iconWidth
Section titled “iconWidth”iconWidth: number;path: string;