public static interface PatternLayer.Builder extends DataBuilder<PatternLayer>
Modifier and Type | Method and Description |
---|---|
PatternLayer |
build()
Builds a
PatternLayer provided that the
color and pattern are set. |
PatternLayer.Builder |
color(DyeColor color)
Sets the
DyeColor to be used. |
PatternLayer.Builder |
pattern(BannerPatternShape shape)
Sets the
BannerPatternShape to be used. |
PatternLayer.Builder |
reset()
Resets this builder to a "default" state such that there is no
remaining data to set.
|
build, from
PatternLayer.Builder pattern(BannerPatternShape shape)
BannerPatternShape
to be used.shape
- The shapePatternLayer.Builder color(DyeColor color)
DyeColor
to be used.color
- The colorPatternLayer build()
PatternLayer
provided that the
color and pattern are set.PatternLayer.Builder reset()
ResettableBuilder
reset
in interface DataBuilder<PatternLayer>
reset
in interface ResettableBuilder<PatternLayer,DataBuilder<PatternLayer>>