![]() |
Bukkit
1.4.7-R1.0
|
Represents a trap door. More...
Inheritance diagram for org.bukkit.material.TrapDoor:
Collaboration diagram for org.bukkit.material.TrapDoor:Public Member Functions | |
| TrapDoor () | |
| TrapDoor (final int type) | |
| TrapDoor (final Material type) | |
| TrapDoor (final int type, final byte data) | |
| TrapDoor (final Material type, final byte data) | |
| boolean | isOpen () |
| void | setOpen (boolean isOpen) |
| BlockFace | getAttachedFace () |
| void | setFacingDirection (BlockFace face) |
| String | toString () |
| TrapDoor | clone () |
Public Member Functions inherited from org.bukkit.material.SimpleAttachableMaterialData | |
| SimpleAttachableMaterialData (int type) | |
| SimpleAttachableMaterialData (int type, BlockFace direction) | |
| SimpleAttachableMaterialData (Material type, BlockFace direction) | |
| SimpleAttachableMaterialData (Material type) | |
| SimpleAttachableMaterialData (int type, byte data) | |
| SimpleAttachableMaterialData (Material type, byte data) | |
| BlockFace | getFacing () |
| String | toString () |
| SimpleAttachableMaterialData | 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.Attachable | |
| BlockFace | getAttachedFace () |
| Gets the face that this block is attached on. | |
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 trap door.
Definition at line 9 of file TrapDoor.java.
| org.bukkit.material.TrapDoor.TrapDoor | ( | ) |
Definition at line 10 of file TrapDoor.java.
References org.bukkit.Material.TRAP_DOOR.
| org.bukkit.material.TrapDoor.TrapDoor | ( | final int | type | ) |
Definition at line 14 of file TrapDoor.java.
| org.bukkit.material.TrapDoor.TrapDoor | ( | final Material | type | ) |
Definition at line 18 of file TrapDoor.java.
| org.bukkit.material.TrapDoor.TrapDoor | ( | final int | type, |
| final byte | data | ||
| ) |
Definition at line 22 of file TrapDoor.java.
| org.bukkit.material.TrapDoor.TrapDoor | ( | final Material | type, |
| final byte | data | ||
| ) |
Definition at line 26 of file TrapDoor.java.
| TrapDoor org.bukkit.material.TrapDoor.clone | ( | ) |
Definition at line 91 of file TrapDoor.java.
References org.bukkit.material.TrapDoor.clone().
Referenced by org.bukkit.material.TrapDoor.clone().
| BlockFace org.bukkit.material.TrapDoor.getAttachedFace | ( | ) |
Definition at line 46 of file TrapDoor.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.
Referenced by org.bukkit.material.TrapDoor.toString().
| boolean org.bukkit.material.TrapDoor.isOpen | ( | ) |
Definition at line 30 of file TrapDoor.java.
References org.bukkit.material.MaterialData.getData().
Referenced by org.bukkit.material.TrapDoor.toString().
| void org.bukkit.material.TrapDoor.setFacingDirection | ( | BlockFace | face | ) |
Definition at line 67 of file TrapDoor.java.
References org.bukkit.material.MaterialData.getData(), and org.bukkit.material.MaterialData.setData().
| void org.bukkit.material.TrapDoor.setOpen | ( | boolean | isOpen | ) |
Definition at line 34 of file TrapDoor.java.
References org.bukkit.material.MaterialData.getData(), and org.bukkit.material.MaterialData.setData().
| String org.bukkit.material.TrapDoor.toString | ( | ) |
Definition at line 86 of file TrapDoor.java.
References org.bukkit.material.TrapDoor.getAttachedFace(), and org.bukkit.material.TrapDoor.isOpen().