Fix Spigot annotation mistakes
while some of these may of been true, they are extreme cases and cause a ton of noise to plugin developers. Use ApiStatus.Internal instead of Deprecated for actual internal API that continues to have use (internally). These do not help plugin developers if they bring moise noise than value.
This commit is contained in:
@@ -7,7 +7,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(forRemoval = true, since = "1.13")
|
||||
public class Banner extends MaterialData implements Attachable {
|
||||
|
||||
public Banner() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(forRemoval = true, since = "1.13")
|
||||
public class Bed extends MaterialData implements Directional {
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(forRemoval = true, since = "1.13")
|
||||
public class Button extends SimpleAttachableMaterialData implements Redstone {
|
||||
public Button() {
|
||||
super(Material.LEGACY_STONE_BUTTON);
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Cake extends MaterialData {
|
||||
public Cake() {
|
||||
super(Material.LEGACY_CAKE_BLOCK);
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Cauldron extends MaterialData {
|
||||
private static final int CAULDRON_FULL = 3;
|
||||
private static final int CAULDRON_EMPTY = 0;
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Chest extends DirectionalContainer {
|
||||
|
||||
public Chest() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Coal extends MaterialData {
|
||||
public Coal() {
|
||||
super(Material.LEGACY_COAL);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class CocoaPlant extends MaterialData implements Directional, Attachable {
|
||||
|
||||
public enum CocoaPlantSize {
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Command extends MaterialData implements Redstone {
|
||||
public Command() {
|
||||
super(Material.LEGACY_COMMAND);
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Comparator extends MaterialData implements Directional, Redstone {
|
||||
protected static final BlockFace DEFAULT_DIRECTION = BlockFace.NORTH;
|
||||
protected static final boolean DEFAULT_SUBTRACTION_MODE = false;
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Crops extends MaterialData {
|
||||
protected static final Material DEFAULT_TYPE = Material.LEGACY_CROPS;
|
||||
protected static final CropState DEFAULT_STATE = CropState.SEEDED;
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class DetectorRail extends ExtendedRails implements PressureSensor {
|
||||
public DetectorRail() {
|
||||
super(Material.LEGACY_DETECTOR_RAIL);
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Diode extends MaterialData implements Directional, Redstone {
|
||||
|
||||
protected static final BlockFace DEFAULT_DIRECTION = BlockFace.NORTH;
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class DirectionalContainer extends MaterialData implements Directional {
|
||||
|
||||
public DirectionalContainer(final Material type) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Dispenser extends FurnaceAndDispenser {
|
||||
|
||||
public Dispenser() {
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Door extends MaterialData implements Directional, Openable {
|
||||
|
||||
// This class breaks API contracts on Directional and Openable because
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Dye extends MaterialData implements Colorable {
|
||||
public Dye() {
|
||||
super(Material.LEGACY_INK_SACK);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class EnderChest extends DirectionalContainer {
|
||||
|
||||
public EnderChest() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class ExtendedRails extends Rails {
|
||||
|
||||
public ExtendedRails(final Material type) {
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.bukkit.TreeSpecies;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.9.4")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class FlowerPot extends MaterialData {
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Furnace extends FurnaceAndDispenser {
|
||||
|
||||
public Furnace() {
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class FurnaceAndDispenser extends DirectionalContainer {
|
||||
|
||||
public FurnaceAndDispenser(final Material type) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Gate extends MaterialData implements Directional, Openable {
|
||||
private static final byte OPEN_BIT = 0x4;
|
||||
private static final byte DIR_BIT = 0x3;
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Hopper extends MaterialData implements Directional, Redstone {
|
||||
|
||||
protected static final BlockFace DEFAULT_DIRECTION = BlockFace.DOWN;
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Ladder extends SimpleAttachableMaterialData {
|
||||
public Ladder() {
|
||||
super(Material.LEGACY_LADDER);
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.bukkit.TreeSpecies;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Leaves extends Wood {
|
||||
protected static final Material DEFAULT_TYPE = Material.LEGACY_LEAVES;
|
||||
protected static final boolean DEFAULT_DECAYABLE = true;
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Lever extends SimpleAttachableMaterialData implements Redstone {
|
||||
public Lever() {
|
||||
super(Material.LEGACY_LEVER);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class LongGrass extends MaterialData {
|
||||
public LongGrass() {
|
||||
super(Material.LEGACY_LONG_GRASS);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.13")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class MaterialData implements Cloneable {
|
||||
private final Material type;
|
||||
private byte data = 0;
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class MonsterEggs extends TexturedMaterial {
|
||||
|
||||
private static final List<Material> textures = new ArrayList<Material>();
|
||||
|
||||
@@ -17,7 +17,7 @@ import org.bukkit.material.types.MushroomBlockTexture;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Mushroom extends MaterialData {
|
||||
private static final byte NORTH_LIMIT = 4;
|
||||
private static final byte SOUTH_LIMIT = 6;
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.NetherWartsState;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class NetherWarts extends MaterialData {
|
||||
public NetherWarts() {
|
||||
super(Material.LEGACY_NETHER_WARTS);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Observer extends MaterialData implements Directional, Redstone {
|
||||
|
||||
public Observer() {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package org.bukkit.material;
|
||||
|
||||
@Deprecated(forRemoval = true, since = "1.13")
|
||||
public interface Openable {
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class PistonBaseMaterial extends MaterialData implements Directional, Redstone {
|
||||
|
||||
public PistonBaseMaterial(final Material type) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class PistonExtensionMaterial extends MaterialData implements Attachable {
|
||||
|
||||
public PistonExtensionMaterial(final Material type) {
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class PoweredRail extends ExtendedRails implements Redstone {
|
||||
public PoweredRail() {
|
||||
super(Material.LEGACY_POWERED_RAIL);
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class PressurePlate extends MaterialData implements PressureSensor {
|
||||
public PressurePlate() {
|
||||
super(Material.LEGACY_WOOD_PLATE);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Pumpkin extends MaterialData implements Directional {
|
||||
|
||||
public Pumpkin() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Rails extends MaterialData {
|
||||
|
||||
public Rails() {
|
||||
|
||||
@@ -3,6 +3,7 @@ package org.bukkit.material;
|
||||
/**
|
||||
* Indicated a Material that may carry or create a Redstone current
|
||||
*/
|
||||
@Deprecated(forRemoval = true, since = "1.13")
|
||||
public interface Redstone {
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class RedstoneTorch extends Torch implements Redstone {
|
||||
public RedstoneTorch() {
|
||||
super(Material.LEGACY_REDSTONE_TORCH_ON);
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class RedstoneWire extends MaterialData implements Redstone {
|
||||
public RedstoneWire() {
|
||||
super(Material.LEGACY_REDSTONE_WIRE);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.SandstoneType;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Sandstone extends MaterialData {
|
||||
public Sandstone() {
|
||||
super(Material.LEGACY_SANDSTONE);
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.bukkit.TreeSpecies;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Sapling extends Wood {
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Sign extends MaterialData implements Attachable {
|
||||
public Sign() {
|
||||
super(Material.LEGACY_SIGN_POST);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public abstract class SimpleAttachableMaterialData extends MaterialData implements Attachable {
|
||||
|
||||
public SimpleAttachableMaterialData(Material type, BlockFace direction) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Skull extends MaterialData implements Directional {
|
||||
public Skull() {
|
||||
super(Material.LEGACY_SKULL);
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class SmoothBrick extends TexturedMaterial {
|
||||
|
||||
private static final List<Material> textures = new ArrayList<Material>();
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.inventory.meta.SpawnEggMeta;
|
||||
* Represents a spawn egg that can be used to spawn mobs
|
||||
* @deprecated use {@link SpawnEggMeta}
|
||||
*/
|
||||
@Deprecated(since = "1.11")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class SpawnEgg extends MaterialData {
|
||||
|
||||
public SpawnEgg() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Stairs extends MaterialData implements Directional {
|
||||
|
||||
public Stairs(final Material type) {
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Step extends TexturedMaterial {
|
||||
private static final List<Material> textures = new ArrayList<Material>();
|
||||
static {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public abstract class TexturedMaterial extends MaterialData {
|
||||
|
||||
public TexturedMaterial(Material m) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Torch extends SimpleAttachableMaterialData {
|
||||
public Torch() {
|
||||
super(Material.LEGACY_TORCH);
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class TrapDoor extends SimpleAttachableMaterialData implements Openable {
|
||||
public TrapDoor() {
|
||||
super(Material.LEGACY_TRAP_DOOR);
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Tree extends Wood {
|
||||
protected static final Material DEFAULT_TYPE = Material.LEGACY_LOG;
|
||||
protected static final BlockFace DEFAULT_DIRECTION = BlockFace.UP;
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Tripwire extends MaterialData {
|
||||
|
||||
public Tripwire() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class TripwireHook extends SimpleAttachableMaterialData implements Redstone {
|
||||
|
||||
public TripwireHook() {
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.bukkit.block.BlockFace;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Vine extends MaterialData {
|
||||
private static final int VINE_NORTH = 0x4;
|
||||
private static final int VINE_EAST = 0x8;
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.bukkit.TreeSpecies;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Wood extends MaterialData {
|
||||
protected static final Material DEFAULT_TYPE = Material.LEGACY_WOOD;
|
||||
protected static final TreeSpecies DEFAULT_SPECIES = TreeSpecies.GENERIC;
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.bukkit.TreeSpecies;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class WoodenStep extends Wood {
|
||||
protected static final Material DEFAULT_TYPE = Material.LEGACY_WOOD_STEP;
|
||||
protected static final boolean DEFAULT_INVERTED = false;
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated(since = "1.14.1")
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
public class Wool extends MaterialData implements Colorable {
|
||||
public Wool() {
|
||||
super(Material.LEGACY_WOOL);
|
||||
|
||||
@@ -7,7 +7,9 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* Represents the different textured blocks of mushroom.
|
||||
* @deprecated use BlockData
|
||||
*/
|
||||
@Deprecated // Paper
|
||||
public enum MushroomBlockTexture {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user