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

Method getColor

src/main/java/org/bukkit/potion/PotionEffect.java:218–223  ·  view source on GitHub ↗

@return color of this potion's particles. May be null if the potion has no particles or defined color. @deprecated color is not part of potion effects

()

Source from the content-addressed store, hash-verified

216 * @deprecated color is not part of potion effects
217 */
218 @Deprecated
219 @Nullable
220 @Contract("-> null")
221 public Color getColor() {
222 return null;
223 }
224
225 /**
226 * @return whether this effect has an icon or not

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected