Package org.bukkit.material
Class Vine
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Vine
- All Implemented Interfaces:
Cloneable
@Deprecated public class Vine extends MaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData.Represents a vine
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Vineclone()Deprecated.booleanisOnFace(BlockFace face)Deprecated.Check if the vine is attached to the specified face of an adjacent block.voidputOnFace(BlockFace face)Deprecated.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.StringtoString()Deprecated.Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Method Details
-
isOnFace
Deprecated.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.Attach the vine to the specified face of an adjacent block.- Parameters:
face- The face to attach.
-
removeFromFace
Deprecated.Detach the vine from the specified face of an adjacent block.- Parameters:
face- The face to detach.
-
toString
Deprecated.- Overrides:
toStringin classMaterialData
-
clone
Deprecated.- Overrides:
clonein classMaterialData
-