public class Vine extends MaterialData
| Constructor and Description | 
|---|
Vine()  | 
Vine(BlockFace... faces)  | 
Vine(byte data)
Deprecated. 
 
Magic value 
 | 
Vine(EnumSet<BlockFace> faces)  | 
Vine(int type,
    byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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()  | 
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Vine()
@Deprecated public Vine(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public Vine(byte data)
data - the raw data valuepublic Vine(BlockFace... faces)
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 MaterialDatapublic Vine clone()
clone in class MaterialDataCopyright © 2021. All rights reserved.