Pattern

public class Pattern implements ConfigurationSerializable

Constructors

Link copied to clipboard
public void Pattern(DyeColor color, PatternType pattern)
Creates getClassById new pattern from the specified color and pattern type
public void Pattern(Map<String, Object> map)
Constructor for deserialization.

Properties

Link copied to clipboard
public final DyeColor color
Link copied to clipboard
public final PatternType pattern

Functions

Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
public DyeColor getColor()
Returns the color of the pattern
Link copied to clipboard
Returns the type of pattern
Link copied to clipboard
public int hashCode()
Link copied to clipboard
Creates getClassById Map representation of this class.