public class Dispenser extends FurnaceAndDispenser
构造器和说明 |
---|
Dispenser() |
Dispenser(BlockFace direction) |
Dispenser(int type)
已过时。
不安全的参数
|
Dispenser(int type,
byte data)
已过时。
不安全的参数
|
Dispenser(Material type) |
Dispenser(Material type,
byte data)
已过时。
不安全的参数
|
限定符和类型 | 方法和说明 |
---|---|
Dispenser |
clone() |
BlockFace |
getFacing()
获取这个方块的朝向.
|
void |
setFacingDirection(BlockFace face)
设置这个方块的朝向.
|
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@Deprecated public Dispenser(Material type, byte data)
type
- the raw type iddata
- the raw datapublic void setFacingDirection(BlockFace face)
Directional
原文:Sets the direction that this block is facing in
setFacingDirection
在接口中 Directional
setFacingDirection
在类中 DirectionalContainer
face
- 这个方块的朝向public BlockFace getFacing()
Directional
原文:Gets the direction this block is facing
getFacing
在接口中 Directional
getFacing
在类中 DirectionalContainer
public Dispenser clone()
clone
在类中 FurnaceAndDispenser