@Deprecated public class Door extends MaterialData implements Directional, Openable
Constructor and Description |
---|
Door()
Deprecated.
|
Door(int type)
Deprecated.
Magic value
|
Door(int type,
byte data)
Deprecated.
Magic value
|
Door(Material type)
Deprecated.
|
Door(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
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.
|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Door()
@Deprecated public Door(int type)
type
- the raw type idpublic Door(Material type)
@Deprecated public Door(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public Door(Material type, byte data)
type
- the typedata
- the raw data value@Deprecated public boolean isOpen()
Openable
@Deprecated public void setOpen(boolean isOpen)
Openable
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
Copyright © 2015. All rights reserved.