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 Summary
ConstructorDescriptionVine()
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 Summary
Modifier and TypeMethodDescriptionclone()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, 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.void
Deprecated, for removal: This API element is subject to removal in a future version.Attach the vine to the specified face of an adjacent block.void
removeFromFace
(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.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Vine
public Vine()Deprecated, for removal: This API element is subject to removal in a future version. -
Vine
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
Vine
Deprecated.Magic value- Parameters:
data
- the raw data value
-
Vine
Deprecated, for removal: This API element is subject to removal in a future version. -
Vine
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
isOnFace
Deprecated, 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.
-
putOnFace
Deprecated, 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.
-
removeFromFace
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.- Parameters:
face
- The face to detach.
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classMaterialData
-
clone
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
clone
in classMaterialData
-
BlockData
.