public class Banner extends MaterialData implements Attachable
コンストラクタと説明 |
---|
Banner() |
Banner(int type)
非推奨です。
Magic value
|
Banner(int type,
byte data)
非推奨です。
Magic value
|
Banner(Material type) |
Banner(Material type,
byte data)
非推奨です。
Magic value
|
修飾子とタイプ | メソッドと説明 |
---|---|
Banner |
clone() |
BlockFace |
getAttachedFace()
Gets the face that this block is attached on
|
BlockFace |
getFacing()
Gets the direction this block is facing
|
boolean |
isWallBanner() |
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Banner()
public Banner(Material type)
@Deprecated public Banner(int type)
type
- the raw type id@Deprecated public Banner(Material type, byte data)
type
- the typedata
- the raw data value@Deprecated public Banner(int type, byte data)
type
- the raw type iddata
- the raw data valuepublic boolean isWallBanner()
public BlockFace getAttachedFace()
Attachable
getAttachedFace
インタフェース内 Attachable
public BlockFace getFacing()
Directional
getFacing
インタフェース内 Directional
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
インタフェース内 Directional
face
- The facing directionpublic String toString()
toString
クラス内 MaterialData
public Banner clone()
clone
クラス内 MaterialData
Copyright © 2016. All rights reserved.