Package org.bukkit.material
Class Furnace
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.DirectionalContainer
org.bukkit.material.FurnaceAndDispenser
org.bukkit.material.Furnace
- All Implemented Interfaces:
java.lang.Cloneable
,Directional
public class Furnace extends FurnaceAndDispenser
Represents a furnace.
-
Constructor Summary
Constructors Constructor Description Furnace()
Furnace(int type)
Deprecated.Magic valueFurnace(int type, byte data)
Deprecated.Magic valueFurnace(BlockFace direction)
Instantiate a furnace facing in a particular direction.Furnace(Material type)
Furnace(Material type, byte data)
Deprecated.Magic value -
Method Summary
Methods inherited from class org.bukkit.material.DirectionalContainer
getFacing, setFacingDirection, toString
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Furnace
public Furnace() -
Furnace
Instantiate a furnace facing in a particular direction.- Parameters:
direction
- the direction the furnace's "opening" is facing
-
Furnace
@Deprecated public Furnace(int type)Deprecated.Magic value- Parameters:
type
- the raw type id
-
Furnace
-
Furnace
@Deprecated public Furnace(int type, byte data)Deprecated.Magic value- Parameters:
type
- the raw type iddata
- the raw data value
-
Furnace
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
clone
- Overrides:
clone
in classFurnaceAndDispenser
-