|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.Vine
public class Vine
Represents a vine
Constructor Summary | |
---|---|
Vine()
|
|
Vine(BlockFace... faces)
|
|
Vine(byte data)
Deprecated. Magic value |
|
Vine(EnumSet<BlockFace> faces)
|
|
Vine(int type,
byte data)
Deprecated. Magic value |
Method Summary | |
---|---|
Vine |
clone()
|
boolean |
isOnFace(BlockFace face)
Check if the vine is attached to the specified face of an adjacent block. |
void |
putOnFace(BlockFace face)
Attach the vine to the specified face of an adjacent block. |
void |
removeFromFace(BlockFace face)
Detach the vine from the specified face of an adjacent block. |
String |
toString()
|
Methods inherited from class org.bukkit.material.MaterialData |
---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Vine()
@Deprecated public Vine(int type, byte data)
@Deprecated public Vine(byte data)
public Vine(BlockFace... faces)
public Vine(EnumSet<BlockFace> faces)
Method Detail |
---|
public boolean isOnFace(BlockFace face)
BlockFace.NORTH_EAST
.
face
- The face to check.
public void putOnFace(BlockFace face)
face
- The face to attach.public void removeFromFace(BlockFace face)
face
- The face to detach.public String toString()
toString
in class MaterialData
public Vine clone()
clone
in class MaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |