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