public class Gate extends MaterialData implements Directional, Openable
修飾子とタイプ | メソッドと説明 |
---|---|
Gate |
clone() |
BlockFace |
getFacing()
Gets the direction this block is facing
|
boolean |
isOpen()
Check to see if the door is open.
|
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
|
void |
setOpen(boolean isOpen)
Configure this door to be either open or closed;
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
インタフェース内 Directional
face
- The facing directionpublic BlockFace getFacing()
Directional
getFacing
インタフェース内 Directional
public boolean isOpen()
Openable
public void setOpen(boolean isOpen)
Openable
public String toString()
toString
クラス内 MaterialData
public Gate clone()
clone
クラス内 MaterialData
Copyright © 2016. All rights reserved.