Class ArmorTrim

java.lang.Object
org.bukkit.inventory.meta.trim.ArmorTrim

public class ArmorTrim extends Object
Represents an armor trim that may be applied to an item.
See Also:
  • Constructor Details

  • Method Details

    • getMaterial

      @NotNull public @NotNull TrimMaterial getMaterial()
      Get the TrimMaterial for this armor trim.
      Returns:
      the material
    • getPattern

      @NotNull public @NotNull TrimPattern getPattern()
      Get the TrimPattern for this armor trim.
      Returns:
      the pattern
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object