Package org.bukkit.material
Class Observer
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Observer
- All Implemented Interfaces:
- Cloneable,- Directional,- Redstone
Deprecated.
Represents an observer.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.Deprecated.Gets the direction this block is facingbooleanDeprecated.Gets the current state of this Material, indicating if it's powered or unpoweredvoidsetFacingDirection(BlockFace face) Deprecated.Sets the direction that this block is facing intoString()Deprecated.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Observerpublic Observer()Deprecated.
- 
ObserverDeprecated.
- 
ObserverDeprecated.
- 
ObserverDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
isPoweredpublic boolean isPowered()Deprecated.Description copied from interface:RedstoneGets the current state of this Material, indicating if it's powered or unpowered
- 
setFacingDirectionDeprecated.Description copied from interface:DirectionalSets the direction that this block is facing in- Specified by:
- setFacingDirectionin interface- Directional
- Parameters:
- face- The facing direction
 
- 
getFacingDeprecated.Description copied from interface:DirectionalGets the direction this block is facing- Specified by:
- getFacingin interface- Directional
- Returns:
- the direction this block is facing
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.