Commits

Parker Hawke authored and md_5 committed bceda6abd98
#840: Adjust annotations in Display entity interface

- Undeprecate #get/setGlowColorOverride() (reverts 02ff2f897af, see 2651717c7d4) - Remove erroneous @NotNull annotation on setBillboard()
No tags

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

Modified
136 136 public Billboard getBillboard();
137 137
138 138 /**
139 139 * Sets the billboard setting of this entity.
140 140 *
141 141 * The billboard setting controls the automatic rotation of the entity to
142 142 * face the player.
143 143 *
144 144 * @param billboard new setting
145 145 */
146 - @NotNull
147 146 public void setBillboard(@NotNull Billboard billboard);
148 147
149 148 /**
150 149 * Gets the scoreboard team overridden glow color of this display.
151 150 *
152 151 * @return glow color
153 - * @deprecated API subject to change
154 152 */
155 153 @Nullable
156 - @Deprecated
157 154 public Color getGlowColorOverride();
158 155
159 156 /**
160 157 * Sets the scoreboard team overridden glow color of this display.
161 158 *
162 159 * @param color new color
163 - * @deprecated API subject to change
164 160 */
165 - @Deprecated
166 161 public void setGlowColorOverride(@Nullable Color color);
167 162
168 163 /**
169 164 * Gets the brightness override of the entity.
170 165 *
171 166 * @return brightness override, if set
172 167 */
173 168 @Nullable
174 169 public Brightness getBrightness();
175 170

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

Add shortcut