BlockState, Metadatable, PersistentDataHolder, TileStatepublic interface Banner extends TileState
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addPattern(Pattern pattern) | Adds a new pattern on top of the existing
 patterns | 
| DyeColor | getBaseColor() | Returns the base color for this banner | 
| Pattern | getPattern(int i) | Returns the pattern at the specified index | 
| List<Pattern> | getPatterns() | Returns a list of patterns on this banner | 
| int | numberOfPatterns() | Returns the number of patterns on this
 banner | 
| Pattern | removePattern(int i) | Removes the pattern at the specified index | 
| void | setBaseColor(DyeColor color) | Sets the base color for this banner. | 
| void | setPattern(int i,
          Pattern pattern) | Sets the pattern at the specified index | 
| void | setPatterns(List<Pattern> patterns) | Sets the patterns used on this banner | 
getBlock, getBlockData, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getWorld, getX, getY, getZ, isPlaced, setBlockData, setData, setRawData, setType, update, update, updategetMetadata, hasMetadata, removeMetadata, setMetadatagetPersistentDataContainer@NotNull DyeColor getBaseColor()
void setBaseColor(@NotNull DyeColor color)
color - the base color@NotNull List<Pattern> getPatterns()
void setPatterns(@NotNull List<Pattern> patterns)
patterns - the new list of patternsvoid addPattern(@NotNull Pattern pattern)
pattern - the new pattern to add@NotNull Pattern getPattern(int i)
i - the index@NotNull Pattern removePattern(int i)
i - the indexvoid setPattern(int i,
                @NotNull
                Pattern pattern)
i - the indexpattern - the new patternint numberOfPatterns()
Copyright © 2020. All rights reserved.