BlockData
.@Deprecated public class Vine extends MaterialData
Constructor and Description |
---|
Vine()
Deprecated.
|
Vine(BlockFace... faces)
Deprecated.
|
Vine(byte data)
Deprecated.
Magic value
|
Vine(EnumSet<BlockFace> faces)
Deprecated.
|
Vine(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
Vine |
clone()
Deprecated.
|
boolean |
isOnFace(BlockFace face)
Deprecated.
Check if the vine is attached to the specified face of an adjacent
block.
|
void |
putOnFace(BlockFace face)
Deprecated.
Attach the vine to the specified face of an adjacent block.
|
void |
removeFromFace(BlockFace face)
Deprecated.
Detach the vine from the specified face of an adjacent block.
|
String |
toString()
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public Vine()
@Deprecated public Vine(Material type, byte data)
type
- the typedata
- 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 MaterialData
public Vine clone()
clone
in class MaterialData
Copyright © 2021. All rights reserved.