Cloneable
, Directional
, Redstone
BlockData
.@Deprecated public class Observer extends MaterialData implements Directional, Redstone
Constructor | Description |
---|---|
Observer() |
Deprecated.
|
Observer(BlockFace direction) |
Deprecated.
|
Observer(Material type) |
Deprecated.
|
Observer(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
Observer |
clone() |
Deprecated.
|
BlockFace |
getFacing() |
Deprecated.
Gets the direction this block is facing
|
boolean |
isPowered() |
Deprecated.
Gets the current state of this Material, indicating if it's powered or
unpowered
|
void |
setFacingDirection(BlockFace face) |
Deprecated.
Sets the direction that this block is facing in
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public Observer()
public Observer(BlockFace direction)
public Observer(Material type)
@Deprecated public Observer(Material type, byte data)
type
- the typedata
- the raw data valuepublic boolean isPowered()
Redstone
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
in interface Directional
face
- The facing directionpublic BlockFace getFacing()
Directional
getFacing
in interface Directional
public String toString()
toString
in class MaterialData
public Observer clone()
clone
in class MaterialData
Copyright © 2019. All rights reserved.