getAlternative

public static Material getAlternative(String type, Material material)

Get the alternate piece of an armor item

Return

The alternative

Parameters

type

The new type

material

The armor piece