MCPcopy Create free account
hub / github.com/PaperMC/Paper / Pattern

Method Pattern

paper-api/src/main/java/org/bukkit/block/banner/Pattern.java:32–35  ·  view source on GitHub ↗

Creates a new pattern from the specified color and pattern type @param color the pattern color @param pattern the pattern type

(@NotNull DyeColor color, @NotNull PatternType pattern)

Source from the content-addressed store, hash-verified

30 * @param pattern the pattern type
31 */
32 public Pattern(@NotNull DyeColor color, @NotNull PatternType pattern) {
33 this.color = color;
34 this.pattern = pattern;
35 }
36
37 /**
38 * Constructor for deserialization.

Callers

nothing calls this directly

Calls 6

legacyValueOfMethod · 0.95
getStringMethod · 0.95
getByIdentifierMethod · 0.95
getUnsafeMethod · 0.95
fromStringMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected