Package org.bukkit.material
Class Sign
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Sign
- All Implemented Interfaces:
- Cloneable,- Attachable,- Directional
@Deprecated(since="1.13",
            forRemoval=true)
public class Sign
extends MaterialData
implements Attachable
Deprecated, for removal: This API element is subject to removal in a future version.
MaterialData for signs
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()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 face that this block is attached onDeprecated, for removal: This API element is subject to removal in a future version.Gets the direction that this sign is currently facingbooleanDeprecated, for removal: This API element is subject to removal in a future version.Check if this sign is attached to a wallvoidsetFacingDirection(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Sets the direction that this block is facing intoString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Signpublic Sign()Deprecated, for removal: This API element is subject to removal in a future version.
- 
SignDeprecated, for removal: This API element is subject to removal in a future version.
- 
SignDeprecated.Magic value- Parameters:
- type- the raw type id
- data- the raw data value
 
 
- 
- 
Method Details- 
isWallSignpublic boolean isWallSign()Deprecated, for removal: This API element is subject to removal in a future version.Check if this sign is attached to a wall- Returns:
- true if this sign is attached to a wall, false if set on top of a block
 
- 
getAttachedFaceDeprecated, for removal: This API element is subject to removal in a future version.Gets the face that this block is attached on- Specified by:
- getAttachedFacein interface- Attachable
- Returns:
- BlockFace attached to
 
- 
getFacingDeprecated, for removal: This API element is subject to removal in a future version.Gets the direction that this sign is currently facing- Specified by:
- getFacingin interface- Directional
- Returns:
- BlockFace indicating where this sign is facing
 
- 
setFacingDirectionDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DirectionalSets the direction that this block is facing in- Specified by:
- setFacingDirectionin interface- Directional
- Parameters:
- face- The facing direction
 
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.