MCPcopy Create free account
hub / github.com/Bukkit/Bukkit / setColor

Method setColor

src/main/java/org/bukkit/material/Wool.java:49–51  ·  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

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

Callers 1

WoolMethod · 0.95

Calls 2

setDataMethod · 0.65
getDataMethod · 0.65

Tested by

no test coverage detected