createCustomItem

public static ItemStack createCustomItem(String itemId, PropScriptConfigFields config)

Creates a custom item from a model config that has item fields (material, enchantments, etc.). Uses the display model for rendering, stores fmm_item_id PDC (not model_id).