org.bukkit.material
Class Skull
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Skull
- All Implemented Interfaces:
- Cloneable, Directional
public class Skull
- extends MaterialData
- implements Directional
Represents a skull.
Skull
public Skull()
Skull
public Skull(BlockFace direction)
- Instantiate a skull facing in a particular direction.
- Parameters:
direction - the direction the skull's face is facing
Skull
public Skull(int type)
Skull
public Skull(Material type)
Skull
public Skull(int type,
byte data)
Skull
public Skull(Material type,
byte data)
setFacingDirection
public void setFacingDirection(BlockFace face)
- Description copied from interface:
Directional
- Sets the direction that this block is facing in
- Specified by:
setFacingDirection in interface Directional
- Parameters:
face - The facing direction
getFacing
public BlockFace getFacing()
- Description copied from interface:
Directional
- Gets the direction this block is facing
- Specified by:
getFacing in interface Directional
- Returns:
- the direction this block is facing
toString
public String toString()
- Overrides:
toString in class MaterialData
clone
public Skull clone()
- Overrides:
clone in class MaterialData
Copyright © 2013. All Rights Reserved.