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

Method setColor

paper-api/src/main/java/org/bukkit/material/Wool.java:51–54  ·  view source on GitHub ↗

Sets the color of this dye @param color New color of this dye

(DyeColor color)

Source from the content-addressed store, hash-verified

49 * @param color New color of this dye
50 */
51 @Override
52 public void setColor(DyeColor color) {
53 setData(color.getWoolData());
54 }
55
56 @Override
57 public String toString() {

Callers 1

WoolMethod · 0.95

Calls 2

getWoolDataMethod · 0.80
setDataMethod · 0.65

Tested by

no test coverage detected