![]() |
Bukkit
1.4.7-R1.0
|
Represents a door. More...
Inheritance diagram for org.bukkit.material.Door:
Collaboration diagram for org.bukkit.material.Door:Public Member Functions | |
| Door () | |
| Door (final int type) | |
| Door (final Material type) | |
| Door (final int type, final byte data) | |
| Door (final Material type, final byte data) | |
| boolean | isOpen () |
| void | setOpen (boolean isOpen) |
| boolean | isTopHalf () |
| void | setTopHalf (boolean isTopHalf) |
| Configure this part of the door to be either the top or the bottom half;. | |
| BlockFace | getHingeCorner () |
| String | toString () |
| void | setFacingDirection (BlockFace face) |
| Set the direction that this door should is facing. | |
| BlockFace | getFacing () |
| Get the direction that this door is facing. | |
| Door | clone () |
Public Member Functions inherited from org.bukkit.material.MaterialData | |
| MaterialData (final int type) | |
| MaterialData (final Material type) | |
| MaterialData (final int type, final byte data) | |
| MaterialData (final Material type, final byte data) | |
| byte | getData () |
| Gets the raw data in this material. | |
| void | setData (byte data) |
| Sets the raw data of this material. | |
| Material | getItemType () |
| Gets the Material that this MaterialData represents. | |
| int | getItemTypeId () |
| Gets the Material Id that this MaterialData represents. | |
| ItemStack | toItemStack () |
| Creates a new ItemStack based on this MaterialData. | |
| ItemStack | toItemStack (int amount) |
| Creates a new ItemStack based on this MaterialData. | |
| String | toString () |
| int | hashCode () |
| boolean | equals (Object obj) |
| MaterialData | clone () |
Public Member Functions inherited from org.bukkit.material.Directional | |
| void | setFacingDirection (BlockFace face) |
| Sets the direction that this block is facing in. | |
| BlockFace | getFacing () |
| Gets the direction this block is facing. | |
Public Member Functions inherited from org.bukkit.material.Openable | |
| boolean | isOpen () |
| Check to see if the door is open. | |
| void | setOpen (boolean isOpen) |
| Configure this door to be either open or closed;. | |
Represents a door.
| org.bukkit.material.Door.Door | ( | ) |
Definition at line 13 of file Door.java.
References org.bukkit.Material.WOODEN_DOOR.
| org.bukkit.material.Door.Door | ( | final int | type, |
| final byte | data | ||
| ) |
| org.bukkit.material.Door.Door | ( | final Material | type, |
| final byte | data | ||
| ) |
| Door org.bukkit.material.Door.clone | ( | ) |
Definition at line 142 of file Door.java.
References org.bukkit.material.Door.clone().
Referenced by org.bukkit.material.Door.clone().
| BlockFace org.bukkit.material.Door.getFacing | ( | ) |
Get the direction that this door is facing.
Definition at line 123 of file Door.java.
References org.bukkit.block.BlockFace.EAST, org.bukkit.material.MaterialData.getData(), org.bukkit.block.BlockFace.NORTH, org.bukkit.block.BlockFace.SOUTH, and org.bukkit.block.BlockFace.WEST.
| BlockFace org.bukkit.material.Door.getHingeCorner | ( | ) |
Definition at line 72 of file Door.java.
References org.bukkit.material.MaterialData.getData(), org.bukkit.block.BlockFace.NORTH_EAST, org.bukkit.block.BlockFace.NORTH_WEST, org.bukkit.block.BlockFace.SOUTH_EAST, and org.bukkit.block.BlockFace.SOUTH_WEST.
| boolean org.bukkit.material.Door.isOpen | ( | ) |
Definition at line 37 of file Door.java.
References org.bukkit.material.MaterialData.getData().
| boolean org.bukkit.material.Door.isTopHalf | ( | ) |
Definition at line 52 of file Door.java.
References org.bukkit.material.MaterialData.getData().
Referenced by org.bukkit.material.Door.toString().
| void org.bukkit.material.Door.setFacingDirection | ( | BlockFace | face | ) |
Set the direction that this door should is facing.
| face | the direction |
Definition at line 98 of file Door.java.
References org.bukkit.material.MaterialData.getData(), and org.bukkit.material.MaterialData.setData().
| void org.bukkit.material.Door.setOpen | ( | boolean | isOpen | ) |
Definition at line 45 of file Door.java.
References org.bukkit.material.MaterialData.getData(), and org.bukkit.material.MaterialData.setData().
| void org.bukkit.material.Door.setTopHalf | ( | boolean | isTopHalf | ) |
Configure this part of the door to be either the top or the bottom half;.
| isTopHalf | True to make it the top half. |
Definition at line 63 of file Door.java.
References org.bukkit.material.MaterialData.getData(), and org.bukkit.material.MaterialData.setData().
| String org.bukkit.material.Door.toString | ( | ) |
Definition at line 87 of file Door.java.
References org.bukkit.material.Door.isTopHalf().