Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
material/Chest.java
1 package org.bukkit.material;
2 
3 import org.bukkit.Material;
5 
6 /**
7  * Represents a chest
8  */
9 public class Chest extends DirectionalContainer {
10 
11  public Chest() {
12  super(Material.CHEST);
13  }
14 
15  /**
16  * Instantiate a chest facing in a particular direction.
17  *
18  * @param direction the direction the chest's lit opens towards
19  */
20  public Chest(BlockFace direction) {
21  this();
22  setFacingDirection(direction);
23  }
24 
25  /**
26  *
27  * @deprecated Magic value
28  */
29  @Deprecated
30  public Chest(final int type) {
31  super(type);
32  }
33 
34  public Chest(final Material type) {
35  super(type);
36  }
37 
38  /**
39  *
40  * @deprecated Magic value
41  */
42  @Deprecated
43  public Chest(final int type, final byte data) {
44  super(type, data);
45  }
46 
47  /**
48  *
49  * @deprecated Magic value
50  */
51  @Deprecated
52  public Chest(final Material type, final byte data) {
53  super(type, data);
54  }
55 
56  @Override
57  public Chest clone() {
58  return (Chest) super.clone();
59  }
60 }
Chest(final Material type, final byte data)
Chest(BlockFace direction)
Chest(final int type, final byte data)