Class Pattern

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

public class Pattern extends Object implements ConfigurationSerializable
  • Constructor Details

    • Pattern

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

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