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