BlockData.@Deprecated public class Pumpkin extends MaterialData implements Directional
| Constructor and Description |
|---|
Pumpkin()
Deprecated.
|
Pumpkin(BlockFace direction)
Deprecated.
Instantiate a pumpkin facing in a particular direction.
|
Pumpkin(Material type)
Deprecated.
|
Pumpkin(Material type,
byte data)
Deprecated.
Magic value
|
| Modifier and Type | Method and Description |
|---|---|
Pumpkin |
clone()
Deprecated.
|
BlockFace |
getFacing()
Deprecated.
Gets the direction this block is facing
|
boolean |
isLit()
Deprecated.
|
void |
setFacingDirection(BlockFace face)
Deprecated.
Sets the direction that this block is facing in
|
String |
toString()
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic Pumpkin()
public Pumpkin(BlockFace direction)
direction - the direction the pumkin's face is facingpublic Pumpkin(Material type)
@Deprecated public Pumpkin(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isLit()
public void setFacingDirection(BlockFace face)
DirectionalsetFacingDirection in interface Directionalface - The facing directionpublic BlockFace getFacing()
DirectionalgetFacing in interface Directionalpublic String toString()
toString in class MaterialDatapublic Pumpkin clone()
clone in class MaterialDataCopyright © 2022. All rights reserved.