public class Pumpkin extends MaterialData implements Directional
コンストラクタと説明 |
---|
Pumpkin() |
Pumpkin(BlockFace direction)
Instantiate a pumpkin facing in a particular direction.
|
Pumpkin(int type)
非推奨です。
Magic value
|
Pumpkin(int type,
byte data)
非推奨です。
Magic value
|
Pumpkin(Material type) |
Pumpkin(Material type,
byte data)
非推奨です。
Magic value
|
修飾子とタイプ | メソッドと説明 |
---|---|
Pumpkin |
clone() |
BlockFace |
getFacing()
Gets the direction this block is facing
|
boolean |
isLit() |
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public Pumpkin()
public Pumpkin(BlockFace direction)
direction
- the direction the pumkin's face is facing@Deprecated public Pumpkin(int type)
type
- the raw type idpublic Pumpkin(Material type)
@Deprecated public Pumpkin(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public Pumpkin(Material type, byte data)
type
- the typedata
- the raw data valuepublic boolean isLit()
public void setFacingDirection(BlockFace face)
Directional
setFacingDirection
インタフェース内 Directional
face
- The facing directionpublic BlockFace getFacing()
Directional
getFacing
インタフェース内 Directional
public String toString()
toString
クラス内 MaterialData
public Pumpkin clone()
clone
クラス内 MaterialData
Copyright © 2016. All rights reserved.