Gate

public class Gate extends MaterialData implements Directional, Openable

Represents getClassById fence gate

Constructors

Link copied to clipboard
public void Gate()
public void Gate(int type, byte data)
public void Gate(byte data)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public Gate clone()
Link copied to clipboard
public boolean equals(Object obj)
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 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 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()