MCPcopy Create free account
hub / github.com/Teneted/Tenet / DyeColor

Method DyeColor

src/main/java/org/bukkit/DyeColor.java:87–92  ·  view source on GitHub ↗
(final int woolData, final int dyeData, /*@NotNull*/ Color color, /*@NotNull*/ Color firework)

Source from the content-addressed store, hash-verified

85 private static final Map<Color, DyeColor> BY_FIREWORK;
86
87 private DyeColor(final int woolData, final int dyeData, /*@NotNull*/ Color color, /*@NotNull*/ Color firework) {
88 this.woolData = (byte) woolData;
89 this.dyeData = (byte) dyeData;
90 this.color = color;
91 this.firework = firework;
92 }
93
94 /**
95 * Gets the associated wool data value representing this color.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected