applyLevelBasedSkin

public static void applyLevelBasedSkin(ItemStack itemStack, int level)

Applies level-based custom skins to an ItemStack. This is the main entry point for applying skins to items.

Handles both:

  • Item model (3D appearance in inventory/hand, and for helmets when worn)
  • Equipment model (worn texture for body armor)
  • Attribute scaling (damage, armor, toughness, etc. based on level)

Parameters

itemStack

The item to apply skins to

level

The item level (determines which tier's skin to use)