|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.Door
@Deprecated public class Door
Represents a door.
Constructor Summary | |
---|---|
Door()
Deprecated. |
|
Door(int type)
Deprecated. |
|
Door(int type,
byte data)
Deprecated. |
|
Door(Material type)
Deprecated. |
|
Door(Material type,
byte data)
Deprecated. |
Method Summary | |
---|---|
Door |
clone()
Deprecated. |
BlockFace |
getFacing()
Deprecated. Does not work (correctly) anymore |
BlockFace |
getHingeCorner()
Deprecated. Does not work (correctly) anymore |
boolean |
isOpen()
Deprecated. Does not work (correctly) anymore |
boolean |
isTopHalf()
Deprecated. |
void |
setFacingDirection(BlockFace face)
Deprecated. Does not work (correctly) anymore |
void |
setOpen(boolean isOpen)
Deprecated. Does not work (correctly) anymore |
void |
setTopHalf(boolean isTopHalf)
Deprecated. Shouldn't be used anymore |
String |
toString()
Deprecated. |
Methods inherited from class org.bukkit.material.MaterialData |
---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Door()
public Door(int type)
public Door(Material type)
public Door(int type, byte data)
public Door(Material type, byte data)
Method Detail |
---|
@Deprecated public boolean isOpen()
Openable
isOpen
in interface Openable
@Deprecated public void setOpen(boolean isOpen)
Openable
setOpen
in interface Openable
isOpen
- True to open the door.public boolean isTopHalf()
@Deprecated public void setTopHalf(boolean isTopHalf)
isTopHalf
- True to make it the top half.@Deprecated public BlockFace getHingeCorner()
public String toString()
toString
in class MaterialData
@Deprecated public void setFacingDirection(BlockFace face)
setFacingDirection
in interface Directional
face
- the direction@Deprecated public BlockFace getFacing()
getFacing
in interface Directional
public Door clone()
clone
in class MaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |