Class Sandstone

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

@Deprecated(since="1.14.1") public class Sandstone extends MaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents the different types of sandstone.
  • Constructor Details

    • Sandstone

      public Sandstone()
      Deprecated.
    • Sandstone

      public Sandstone(SandstoneType type)
      Deprecated.
    • Sandstone

      public Sandstone(Material type)
      Deprecated.
    • Sandstone

      @Deprecated(since="1.6.2") 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.
      Gets the current type of this sandstone
      Returns:
      SandstoneType of this sandstone
    • setType

      public void setType(SandstoneType type)
      Deprecated.
      Sets the type of this sandstone
      Parameters:
      type - New type of this sandstone
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class MaterialData
    • clone

      public Sandstone clone()
      Deprecated.
      Overrides:
      clone in class MaterialData