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)
设置这个方块的朝向.
|
toStringequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic 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 在接口中 DirectionalsetFacingDirection 在类中 DirectionalContainerface - 这个方块的朝向public BlockFace getFacing()
Directional原文:Gets the direction this block is facing
getFacing 在接口中 DirectionalgetFacing 在类中 DirectionalContainerpublic Dispenser clone()
clone 在类中 FurnaceAndDispenser