Package org.bukkit.inventory.meta.trim
Class ArmorTrim
java.lang.Object
org.bukkit.inventory.meta.trim.ArmorTrim
Represents an armor trim that may be applied to an item.
- See Also:
- API Note:
- Armor trims are part of an experimental feature of Minecraft and hence subject to change.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get theTrimMaterial
for this armor trim.Get theTrimPattern
for this armor trim.int
hashCode()
-
Constructor Details
-
ArmorTrim
- Parameters:
material
- the materialpattern
- the pattern
-
-
Method Details
-
getMaterial
Get theTrimMaterial
for this armor trim.- Returns:
- the material
-
getPattern
Get theTrimPattern
for this armor trim.- Returns:
- the pattern
-
hashCode
public int hashCode() -
equals
-