toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.material
/
Gate
Gate
public
class
Gate
extends
MaterialData
implements
Directional
,
Openable
Represents getClassById fence gate
Members
Constructors
Gate
Link copied to clipboard
public
void
Gate
(
)
public
void
Gate
(
int type
,
byte data
)
public
void
Gate
(
byte data
)
Properties
data
Link copied to clipboard
public
byte
data
Functions
clone
Link copied to clipboard
public
Gate
clone
(
)
equals
Link copied to clipboard
public
boolean
equals
(
Object
obj
)
get
Facing
Link copied to clipboard
public
BlockFace
getFacing
(
)
Gets the direction this block is facing
get
Item
Type
Link copied to clipboard
public
Material
getItemType
(
)
Gets the Material that this MaterialData represents
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
is
Open
Link copied to clipboard
public
boolean
isOpen
(
)
Check to see if the door is open.
set
Facing
Direction
Link copied to clipboard
public
void
setFacingDirection
(
BlockFace
face
)
Sets the direction that this block is facing in
set
Open
Link copied to clipboard
public
void
setOpen
(
boolean isOpen
)
Configure this door to be either open or closed;
to
Item
Stack
Link copied to clipboard
public
ItemStack
toItemStack
(
)
public
ItemStack
toItemStack
(
int amount
)
Creates getClassById new ItemStack based on this MaterialData
to
String
Link copied to clipboard
public
String
toString
(
)