Class Sandstone

java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Sandstone
All Implemented Interfaces:
Cloneable

@Deprecated(forRemoval=true, since="1.13") public class Sandstone extends MaterialData
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents the different types of sandstone.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Sandstone(Material type, byte data)
    Deprecated.
    Magic value
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the current type of this sandstone
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sets the type of this sandstone
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class org.bukkit.material.MaterialData

    equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Sandstone

      public Sandstone()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Sandstone

      public Sandstone(SandstoneType type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Sandstone

      public Sandstone(Material type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Sandstone

      @Deprecated public Sandstone(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
  • Method Details

    • getType

      public SandstoneType getType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the current type of this sandstone
      Returns:
      SandstoneType of this sandstone
    • setType

      public void setType(SandstoneType type)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the type of this sandstone
      Parameters:
      type - New type of this sandstone
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class MaterialData
    • clone

      public Sandstone clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class MaterialData