Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 40 lines 821 B view raw
1package org.bukkit.material; 2 3import org.bukkit.Material; 4import org.bukkit.block.BlockFace; 5 6/** 7 * Represents a furnace. 8 */ 9public class Furnace extends FurnaceAndDispenser { 10 11 public Furnace() { 12 super(Material.FURNACE); 13 } 14 15 /** 16 * Instantiate a furnace facing in a particular direction. 17 * 18 * @param direction the direction the furnace's "opening" is facing 19 */ 20 public Furnace(BlockFace direction) { 21 this(); 22 setFacingDirection(direction); 23 } 24 25 public Furnace(final int type) { 26 super(type); 27 } 28 29 public Furnace(final Material type) { 30 super(type); 31 } 32 33 public Furnace(final int type, final byte data) { 34 super(type, data); 35 } 36 37 public Furnace(final Material type, final byte data) { 38 super(type, data); 39 } 40}