org.bukkit.material
Class Door

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.Door
All Implemented Interfaces:
Cloneable, Directional, Openable

Deprecated. No longer functions. Do not use.

@Deprecated
public class Door
extends MaterialData
implements Directional, Openable

Represents a door.


Constructor Summary
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
 
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

Door

public Door()
Deprecated. 

Door

@Deprecated
public Door(int type)
Deprecated. Magic value


Door

public Door(Material type)
Deprecated. 

Door

@Deprecated
public Door(int type,
                       byte data)
Deprecated. Magic value


Door

@Deprecated
public Door(Material type,
                       byte data)
Deprecated. Magic value

Method Detail

isOpen

@Deprecated
public boolean isOpen()
Deprecated. Does not work (correctly) anymore

Description copied from interface: Openable
Check to see if the door is open.

Specified by:
isOpen in interface Openable
Returns:
true if the door has swung counterclockwise around its hinge.

setOpen

@Deprecated
public void setOpen(boolean isOpen)
Deprecated. Does not work (correctly) anymore

Description copied from interface: Openable
Configure this door to be either open or closed;

Specified by:
setOpen in interface Openable
Parameters:
isOpen - True to open the door.

isTopHalf

public boolean isTopHalf()
Deprecated. 
Returns:
whether this is the top half of the door

setTopHalf

@Deprecated
public void setTopHalf(boolean isTopHalf)
Deprecated. Shouldn't be used anymore

Configure this part of the door to be either the top or the bottom half;

Parameters:
isTopHalf - True to make it the top half.

getHingeCorner

@Deprecated
public BlockFace getHingeCorner()
Deprecated. Does not work (correctly) anymore

Returns:
BlockFace.SELF

toString

public String toString()
Deprecated. 
Overrides:
toString in class MaterialData

setFacingDirection

@Deprecated
public void setFacingDirection(BlockFace face)
Deprecated. Does not work (correctly) anymore

Set the direction that this door should is facing.

Specified by:
setFacingDirection in interface Directional
Parameters:
face - the direction

getFacing

@Deprecated
public BlockFace getFacing()
Deprecated. Does not work (correctly) anymore

Get the direction that this door is facing.

Specified by:
getFacing in interface Directional
Returns:
the direction

clone

public Door clone()
Deprecated. 
Overrides:
clone in class MaterialData


Copyright © 2013. All Rights Reserved.