applyScriptedItemData
Applies FMM authored item data to an existing ItemStack.
This sets:
- The
fmm_item_idPDC tag for FMM authored-item identity - The item model (1.21.4+) from FMM's display model registry
Return
true if the data was applied successfully, false if the item ID is invalid or the ItemStack has no meta
Parameters
itemStack
the ItemStack to modify (must not be null)
itemId
the FMM item ID (config filename without .yml)