Commits

md_5 authored 298c819f609
Add API to manipulate "glowing" state of an Entity.

When an Entity is "glowing" they will have an outline around them as if they have been hit by a Spectral Arrow.
No tags

src/main/java/org/bukkit/entity/Entity.java

Modified
335 335
336 336 /**
337 337 * Gets whether or not the mob's custom name is displayed client side.
338 338 * <p>
339 339 * This value has no effect on players, they will always display their
340 340 * name.
341 341 *
342 342 * @return if the custom name is displayed
343 343 */
344 344 public boolean isCustomNameVisible();
345 +
346 + /**
347 + * Sets whether the entity has a team colored (default: white) glow.
348 + *
349 + * @param flag if the entity is glowing
350 + */
351 + void setGlowing(boolean flag);
352 +
353 + /**
354 + * Gets whether the entity is glowing or not.
355 + *
356 + * @return whether the entity is glowing
357 + */
358 + boolean isGlowing();
345 359 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut