Explicitly deprecate all MaterialData subclasses

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-05-20 20:09:17 +10:00
parent 3acdc1f1b9
commit 7a2194f937
59 changed files with 231 additions and 4 deletions

View File

@@ -13,7 +13,11 @@ import org.bukkit.material.types.MushroomBlockTexture;
*
* @see Material#LEGACY_HUGE_MUSHROOM_1
* @see Material#LEGACY_HUGE_MUSHROOM_2
*
* @deprecated all usage of MaterialData is deprecated and subject to removal.
* Use {@link org.bukkit.block.data.BlockData}.
*/
@Deprecated
public class Mushroom extends MaterialData {
private static final byte NORTH_LIMIT = 4;
private static final byte SOUTH_LIMIT = 6;