Package org.bukkit.material
Class Vine
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Vine
- All Implemented Interfaces:
- Cloneable
Deprecated.
Represents a vine
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Deprecated.booleanDeprecated.Check if the vine is attached to the specified face of an adjacent block.voidDeprecated.Attach the vine to the specified face of an adjacent block.voidremoveFromFace(BlockFace face)Deprecated.Detach the vine from the specified face of an adjacent block.toString()Deprecated.Methods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Vinepublic Vine()Deprecated.
- 
VineDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
- 
VineDeprecated.Magic value- Parameters:
- data- the raw data value
 
- 
VineDeprecated.
- 
VineDeprecated.
 
- 
- 
Method Details- 
isOnFaceDeprecated.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.Attach the vine to the specified face of an adjacent block.- Parameters:
- face- The face to attach.
 
- 
removeFromFaceDeprecated.Detach the vine from the specified face of an adjacent block.- Parameters:
- face- The face to detach.
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.