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