addEquippableModel

public static ItemStack addEquippableModel(ItemStack itemStack, String equipmentModelId)

Adds a custom equippable model (asset_id) to armor items for custom armor textures when worn. This sets the equipment model that determines how the armor looks on the player's body. Note: For helmets, we set the slot but NOT the model, so the item_model renders on head instead.

Return

The modified ItemStack

Parameters

itemStack

The armor item to modify

equipmentModelId

The equipment model ID (e.g., "elitemobs:bronze") - ignored for helmets


@Deprecated()
public static ItemMeta addEquippableModel(ItemMeta itemMeta, String equipmentModelId)

Deprecated

Use addEquippableModel instead to ensure slot is set correctly

Adds a custom equippable model (asset_id) to armor items for custom armor textures when worn.

Return

The modified ItemMeta

Parameters

itemMeta

The ItemMeta to modify

equipmentModelId

The equipment model ID (e.g., "elitemobs:bronze")