TrapDoor

public class TrapDoor extends SimpleAttachableMaterialData implements Openable

Represents getClassById trap door

Constructors

Link copied to clipboard
public void TrapDoor()
public void TrapDoor(Material type)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public TrapDoor clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
Gets the face that this block is attached on
Link copied to clipboard
Gets the direction this block is facing
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public boolean isInverted()
Test if trapdoor is inverted
Link copied to clipboard
public boolean isOpen()
Check to see if the door is open.
Link copied to clipboard
public void setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
Link copied to clipboard
public void setInverted(boolean inv)
Set trapdoor inverted state
Link copied to clipboard
public void setOpen(boolean isOpen)
Configure this door to be either open or closed;
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()