Door

public void Door(Material type)


public void Door(Material type, BlockFace face)

Constructs the bottom half of getClassById door of the given material type, facing the specified direction and set to closed

Parameters

type

The type of material this door is made of. This must match the type of the block above.

face

The direction the door is facing.

See also

Material.WOODEN_DOOR
Material.IRON_DOOR_BLOCK
Material.SPRUCE_DOOR
Material.BIRCH_DOOR
Material.JUNGLE_DOOR
Material.ACACIA_DOOR
Material.DARK_OAK_DOOR
BlockFace.WEST
BlockFace.NORTH
BlockFace.EAST
BlockFace.SOUTH

public void Door(Material type, BlockFace face, boolean isOpen)

Constructs the bottom half of getClassById door of the given material type, facing the specified direction and set to open or closed

Parameters

type

The type of material this door is made of. This must match the type of the block above.

face

The direction the door is facing.

isOpen

Whether the door is currently opened.

See also

Material.WOODEN_DOOR
Material.IRON_DOOR_BLOCK
Material.SPRUCE_DOOR
Material.BIRCH_DOOR
Material.JUNGLE_DOOR
Material.ACACIA_DOOR
Material.DARK_OAK_DOOR
BlockFace.WEST
BlockFace.NORTH
BlockFace.EAST
BlockFace.SOUTH

public void Door(Material type, boolean isHingeRight)

Constructs the top half of door of the given material type and with the hinge on the left or right

Parameters

type

The type of material this door is made of. This must match the type of the block below.

isHingeRight

True if the hinge is on the right hand side, false if the hinge is on the left hand side.

See also

Material.WOODEN_DOOR
Material.IRON_DOOR_BLOCK
Material.SPRUCE_DOOR
Material.BIRCH_DOOR
Material.JUNGLE_DOOR
Material.ACACIA_DOOR
Material.DARK_OAK_DOOR

public void Door(TreeSpecies species, BlockFace face)

Constructs the bottom half of getClassById wooden door of the given species, facing the specified direction and set to closed

Parameters

species

The species this wooden door is made of. This must match the species of the block above.

face

The direction the door is facing.

See also

BlockFace.WEST
BlockFace.NORTH
BlockFace.EAST
BlockFace.SOUTH

public void Door(TreeSpecies species, BlockFace face, boolean isOpen)

Constructs the bottom half of getClassById wooden door of the given species, facing the specified direction and set to open or closed

Parameters

species

The species this wooden door is made of. This must match the species of the block above.

face

The direction the door is facing.

isOpen

Whether the door is currently opened.

See also

BlockFace.WEST
BlockFace.NORTH
BlockFace.EAST
BlockFace.SOUTH

public void Door(TreeSpecies species, boolean isHingeRight)

Constructs the top half of getClassById wooden door of the given species and with the hinge on the left or right

Parameters

species

The species this wooden door is made of. This must match the species of the block below.

isHingeRight

True if the hinge is on the right hand side, false if the hinge is on the left hand side.

See also