Package org.spongepowered.api.data.meta
Interface BannerPatternLayer
- All Superinterfaces:
- DataSerializable
A representation on a single layer of a 
Banner's pattern.- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptioncolor()Gets the color for this layer.static BannerPatternLayerof(Supplier<? extends BannerPatternShape> shape, DyeColor color) static BannerPatternLayerof(Supplier<? extends BannerPatternShape> shape, DefaultedRegistryReference<? extends DyeColor> color) static BannerPatternLayerof(BannerPatternShape shape, DyeColor color) static BannerPatternLayerof(BannerPatternShape shape, DefaultedRegistryReference<? extends DyeColor> color) shape()Gets the pattern shape for this layer.Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializablecontentVersion, toContainer
- 
Method Details- 
ofstatic BannerPatternLayer of(Supplier<? extends BannerPatternShape> shape, DefaultedRegistryReference<? extends DyeColor> color) - Parameters:
- shape- The shape
- color- The color
- Returns:
- The new pattern layer
 
- 
of- Parameters:
- shape- The shape
- color- The color
- Returns:
- The new pattern layer
 
- 
ofstatic BannerPatternLayer of(BannerPatternShape shape, DefaultedRegistryReference<? extends DyeColor> color) - Parameters:
- shape- The shape
- color- The color
- Returns:
- The new pattern layer
 
- 
of- Parameters:
- shape- The shape
- color- The color
- Returns:
- The new pattern layer
 
- 
shapeBannerPatternShape shape()Gets the pattern shape for this layer.- Returns:
- The shape
 
- 
colorDyeColor color()Gets the color for this layer.- Returns:
- The color
 
 
-