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

Method getColor

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

Gets the current color of this dye @return DyeColor of this dye

()

Source from the content-addressed store, hash-verified

39 * @return DyeColor of this dye
40 */
41 @Override
42 public DyeColor getColor() {
43 return DyeColor.getByWoolData(getData());
44 }
45
46 /**
47 * Sets the color of this dye

Callers 1

toStringMethod · 0.95

Calls 2

getByWoolDataMethod · 0.95
getDataMethod · 0.65

Tested by

no test coverage detected