001    package org.bukkit.material;
002    
003    import org.bukkit.Material;
004    import org.bukkit.block.BlockFace;
005    
006    /**
007     * Represents a chest
008     */
009    public class Chest extends DirectionalContainer {
010    
011        public Chest() {
012            super(Material.CHEST);
013        }
014    
015        /**
016         * Instantiate a chest facing in a particular direction.
017         *
018         * @param direction the direction the chest's lit opens towards
019         */
020        public Chest(BlockFace direction) {
021            this();
022            setFacingDirection(direction);
023        }
024    
025        /**
026         *
027         * @deprecated Magic value
028         */
029        @Deprecated
030        public Chest(final int type) {
031            super(type);
032        }
033    
034        public Chest(final Material type) {
035            super(type);
036        }
037    
038        /**
039         *
040         * @deprecated Magic value
041         */
042        @Deprecated
043        public Chest(final int type, final byte data) {
044            super(type, data);
045        }
046    
047        /**
048         *
049         * @deprecated Magic value
050         */
051        @Deprecated
052        public Chest(final Material type, final byte data) {
053            super(type, data);
054        }
055    
056        @Override
057        public Chest clone() {
058            return (Chest) super.clone();
059        }
060    }