Package org.bukkit.block.banner
Class Pattern
java.lang.Object
org.bukkit.block.banner.Pattern
- All Implemented Interfaces:
- ConfigurationSerializable
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
PatternCreates a new pattern from the specified color and pattern type- Parameters:
- color- the pattern color
- pattern- the pattern type
 
- 
PatternConstructor for deserialization.- Parameters:
- map- the map to deserialize from
 
 
- 
- 
Method Details- 
serializeDescription copied from interface:ConfigurationSerializableCreates a Map representation of this class.This class must provide a method to restore this class, as defined in the ConfigurationSerializableinterface javadocs.- Specified by:
- serializein interface- ConfigurationSerializable
- Returns:
- Map containing the current state of this class
 
- 
getColorReturns the color of the pattern- Returns:
- the color of the pattern
 
- 
getPatternReturns the type of pattern- Returns:
- the pattern type
 
- 
hashCodepublic int hashCode()
- 
equals
 
-