Class Pattern

java.lang.Object
org.bukkit.block.banner.Pattern
All Implemented Interfaces:
ConfigurationSerializable

public class Pattern extends Object implements ConfigurationSerializable
A layer of a banner, made of a PatternType and a DyeColor.
  • Constructor Details

    • Pattern

      public Pattern(Map<String,Object> map)
      Constructor for deserialization.
      Parameters:
      map - the map to deserialize from
    • Pattern

      public Pattern(DyeColor color, PatternType pattern)
      Creates a new pattern from the specified color and pattern type.
      Parameters:
      color - the pattern color
      pattern - the pattern type
  • Method Details