ScriptedItemAPI

public final class ScriptedItemAPI

Applies the current FMM authored-item identity and display model to host-owned items. Enchantments are authored and applied separately through MagmaCore.

Functions

Link copied to clipboard
public static boolean applyScriptedItemData(ItemStack itemStack, String itemId)
Applies FMM authored item data to an existing ItemStack.
Link copied to clipboard
public static PropScriptConfigFields getItemConfig(String itemId)
Gets the FMM scripted item config for the given item ID.
Link copied to clipboard
public static boolean isValidItemId(String itemId)
Checks whether a authored item definition exists for the given item ID.