Package org.bukkit.material
Class Vine
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Vine
- All Implemented Interfaces:
- Cloneable
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a vine
- 
Constructor SummaryConstructorsConstructorDescriptionVine()Deprecated, for removal: This API element is subject to removal in a future version.Vine(byte data) Deprecated.Magic valueDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated.Magic value
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Check if the vine is attached to the specified face of an adjacent block.voidDeprecated, for removal: This API element is subject to removal in a future version.Attach the vine to the specified face of an adjacent block.voidremoveFromFace(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Detach the vine from the specified face of an adjacent block.toString()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Vinepublic Vine()Deprecated, for removal: This API element is subject to removal in a future version.
- 
VineDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
- 
VineDeprecated.Magic value- Parameters:
- data- the raw data value
 
- 
VineDeprecated, for removal: This API element is subject to removal in a future version.
- 
VineDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
isOnFaceDeprecated, for removal: This API element is subject to removal in a future version.Check if the vine is attached to the specified face of an adjacent block. You can check two faces at once by passing e.g.BlockFace.NORTH_EAST.- Parameters:
- face- The face to check.
- Returns:
- Whether it is attached to that face.
 
- 
putOnFaceDeprecated, for removal: This API element is subject to removal in a future version.Attach the vine to the specified face of an adjacent block.- Parameters:
- face- The face to attach.
 
- 
removeFromFaceDeprecated, for removal: This API element is subject to removal in a future version.Detach the vine from the specified face of an adjacent block.- Parameters:
- face- The face to detach.
 
- 
toStringDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated, for removal: This API element is subject to removal in a future version.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.