constructItemWithMaterial

public static ItemStack constructItemWithMaterial(Material material, int level, Player player, boolean showItemWorth)

Constructs a procedural item with a specific material and level. Used by the skill-based shop system where the material is chosen first, then the level is determined based on player's skill level.

Return

The constructed ItemStack, or null if material is invalid

Parameters

material

The material to use for the item

level

The elite level to assign to the item

player

The player (for soulbinding)

showItemWorth

Whether to show the item's worth in lore