Cloneable, Attachable, Directional@Deprecated public class Banner extends MaterialData implements Attachable
BlockData.| Constructor | Description | 
|---|---|
| Banner() | Deprecated. | 
| Banner(Material type) | Deprecated. | 
| Banner(Material type,
      byte data) | Deprecated.
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Banner | clone() | Deprecated. | 
| BlockFace | getAttachedFace() | Deprecated. Gets the face that this block is attached on | 
| BlockFace | getFacing() | Deprecated. Gets the direction this block is facing | 
| boolean | isWallBanner() | Deprecated. | 
| void | setFacingDirection(BlockFace face) | Deprecated. Sets the direction that this block is facing in | 
| String | toString() | Deprecated. | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic Banner()
public Banner(Material type)
@Deprecated public Banner(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isWallBanner()
public BlockFace getAttachedFace()
AttachablegetAttachedFace in interface Attachablepublic BlockFace getFacing()
DirectionalgetFacing in interface Directionalpublic void setFacingDirection(BlockFace face)
DirectionalsetFacingDirection in interface Directionalface - The facing directionpublic String toString()
toString in class MaterialDatapublic Banner clone()
clone in class MaterialDataCopyright © 2020. All rights reserved.