public class CocoaPlant extends MaterialData implements Directional, Attachable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
CocoaPlant.CocoaPlantSize |
| コンストラクタと説明 |
|---|
CocoaPlant() |
CocoaPlant(CocoaPlant.CocoaPlantSize sz) |
CocoaPlant(CocoaPlant.CocoaPlantSize sz,
BlockFace dir) |
CocoaPlant(int type)
非推奨です。
Magic value
|
CocoaPlant(int type,
byte data)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
CocoaPlant |
clone() |
BlockFace |
getAttachedFace()
Gets the face that this block is attached on
|
BlockFace |
getFacing()
Gets the direction this block is facing
|
CocoaPlant.CocoaPlantSize |
getSize()
Get size of plant
|
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
|
void |
setSize(CocoaPlant.CocoaPlantSize sz)
Set size of plant
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic CocoaPlant()
@Deprecated public CocoaPlant(int type)
type - the raw type id@Deprecated public CocoaPlant(int type, byte data)
type - the raw type iddata - the raw data valuepublic CocoaPlant(CocoaPlant.CocoaPlantSize sz)
public CocoaPlant(CocoaPlant.CocoaPlantSize sz, BlockFace dir)
public CocoaPlant.CocoaPlantSize getSize()
public void setSize(CocoaPlant.CocoaPlantSize sz)
sz - - size of plantpublic BlockFace getAttachedFace()
AttachablegetAttachedFace インタフェース内 Attachablepublic void setFacingDirection(BlockFace face)
DirectionalsetFacingDirection インタフェース内 Directionalface - The facing directionpublic BlockFace getFacing()
DirectionalgetFacing インタフェース内 Directionalpublic CocoaPlant clone()
clone クラス内 MaterialDatapublic String toString()
toString クラス内 MaterialDataCopyright © 2016. All rights reserved.