Package org.spongepowered.api.data.meta
Interface BannerPatternLayer
- 
- All Superinterfaces:
- DataSerializable
 
 public interface BannerPatternLayer extends DataSerializable A representation on a single layer of aBanner's pattern.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceBannerPatternLayer.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description DyeColorcolor()Gets the color for this layer.static BannerPatternLayerof(java.util.function.Supplier<? extends BannerPatternShape> shape, DyeColor color)static BannerPatternLayerof(java.util.function.Supplier<? extends BannerPatternShape> shape, DefaultedRegistryReference<? extends DyeColor> color)static BannerPatternLayerof(BannerPatternShape shape, DyeColor color)static BannerPatternLayerof(BannerPatternShape shape, DefaultedRegistryReference<? extends DyeColor> color)BannerPatternShapeshape()Gets the pattern shape for this layer.- 
Methods inherited from interface org.spongepowered.api.data.persistence.DataSerializablecontentVersion, toContainer
 
- 
 
- 
- 
- 
Method Detail- 
ofstatic BannerPatternLayer of(java.util.function.Supplier<? extends BannerPatternShape> shape, DefaultedRegistryReference<? extends DyeColor> color) - Parameters:
- shape- The shape
- color- The color
- Returns:
- The new pattern layer
 
 - 
ofstatic BannerPatternLayer of(java.util.function.Supplier<? extends BannerPatternShape> shape, DyeColor color) - 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
 
 - 
ofstatic BannerPatternLayer of(BannerPatternShape shape, DyeColor color) - 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
 
 
- 
 
-