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

Method setColor

src/main/java/org/bukkit/material/Dye.java:44–46  ·  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

42 * @param color New color of this dye
43 */
44 public void setColor(DyeColor color) {
45 setData((byte) (15 - color.getData()));
46 }
47
48 @Override
49 public String toString() {

Callers

nothing calls this directly

Calls 2

setDataMethod · 0.65
getDataMethod · 0.65

Tested by

no test coverage detected