Package org.bukkit.material
Class DirectionalContainer
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.DirectionalContainer
- All Implemented Interfaces:
- Cloneable,- Directional
- Direct Known Subclasses:
- Chest,- EnderChest,- FurnaceAndDispenser
@Deprecated(since="1.14.1")
public class DirectionalContainer
extends MaterialData
implements Directional
Deprecated.
Represents a furnace or a dispenser.
- 
Constructor SummaryConstructorsConstructorDescriptionDirectionalContainer(Material type) Deprecated.DirectionalContainer(Material type, byte data) Deprecated.Magic value
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.Deprecated.Gets the direction this block is facingvoidsetFacingDirection(BlockFace face) Deprecated.Sets the direction that this block is facing intoString()Deprecated.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
DirectionalContainerDeprecated.
- 
DirectionalContainerDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
setFacingDirectionDeprecated.Description copied from interface:DirectionalSets the direction that this block is facing in- Specified by:
- setFacingDirectionin interface- Directional
- Parameters:
- face- The facing direction
 
- 
getFacingDeprecated.Description copied from interface:DirectionalGets the direction this block is facing- Specified by:
- getFacingin interface- Directional
- Returns:
- the direction this block is facing
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.