![]() |
Bukkit
1.5.2-R1.0
|
Represents a vine. More...
Inheritance diagram for org.bukkit.material.Vine:
Collaboration diagram for org.bukkit.material.Vine:Public Member Functions | |
| Vine () | |
| Vine (int type, byte data) | |
| Vine (byte data) | |
| Vine (BlockFace...faces) | |
| Vine (EnumSet< BlockFace > faces) | |
| boolean | isOnFace (BlockFace face) |
| Check if the vine is attached to the specified face of an adjacent block. | |
| void | putOnFace (BlockFace face) |
| Attach the vine to the specified face of an adjacent block. | |
| void | removeFromFace (BlockFace face) |
| Detach the vine from the specified face of an adjacent block. | |
| String | toString () |
| Vine | clone () |
Public Member Functions inherited from org.bukkit.material.MaterialData | |
| MaterialData (final int type) | |
| MaterialData (final Material type) | |
| MaterialData (final int type, final byte data) | |
| MaterialData (final Material type, final byte data) | |
| byte | getData () |
| Gets the raw data in this material. | |
| void | setData (byte data) |
| Sets the raw data of this material. | |
| Material | getItemType () |
| Gets the Material that this MaterialData represents. | |
| int | getItemTypeId () |
| Gets the Material Id that this MaterialData represents. | |
| ItemStack | toItemStack () |
| Creates a new ItemStack based on this MaterialData. | |
| ItemStack | toItemStack (int amount) |
| Creates a new ItemStack based on this MaterialData. | |
| String | toString () |
| int | hashCode () |
| boolean | equals (Object obj) |
| MaterialData | clone () |
| org.bukkit.material.Vine.Vine | ( | ) |
Definition at line 19 of file Vine.java.
References org.bukkit.Material.VINE.
| org.bukkit.material.Vine.Vine | ( | byte | data | ) |
Definition at line 27 of file Vine.java.
References org.bukkit.Material.VINE.
| org.bukkit.material.Vine.Vine | ( | EnumSet< BlockFace > | faces | ) |
Definition at line 35 of file Vine.java.
References org.bukkit.block.BlockFace.EAST, org.bukkit.block.BlockFace.NORTH, org.bukkit.material.MaterialData.setData(), org.bukkit.block.BlockFace.SOUTH, and org.bukkit.block.BlockFace.WEST.
| Vine org.bukkit.material.Vine.clone | ( | ) |
Definition at line 182 of file Vine.java.
References org.bukkit.material.Vine.clone().
Referenced by org.bukkit.material.Vine.clone().
| boolean org.bukkit.material.Vine.isOnFace | ( | BlockFace | face | ) |
Check if the vine is attached to the specified face of an adjacent block.
You can check two faces at once by passing eg BlockFace#NORTH_EAST.
| face | The face to check. |
Definition at line 67 of file Vine.java.
References org.bukkit.block.BlockFace.EAST, org.bukkit.material.MaterialData.getData(), org.bukkit.block.BlockFace.NORTH, org.bukkit.block.BlockFace.SOUTH, and org.bukkit.block.BlockFace.WEST.
| void org.bukkit.material.Vine.putOnFace | ( | BlockFace | face | ) |
Attach the vine to the specified face of an adjacent block.
| face | The face to attach. |
Definition at line 97 of file Vine.java.
References org.bukkit.block.BlockFace.EAST, org.bukkit.material.MaterialData.getData(), org.bukkit.block.BlockFace.NORTH, org.bukkit.material.MaterialData.setData(), org.bukkit.block.BlockFace.SOUTH, and org.bukkit.block.BlockFace.WEST.
| void org.bukkit.material.Vine.removeFromFace | ( | BlockFace | face | ) |
Detach the vine from the specified face of an adjacent block.
| face | The face to detach. |
Definition at line 139 of file Vine.java.
References org.bukkit.block.BlockFace.EAST, org.bukkit.material.MaterialData.getData(), org.bukkit.block.BlockFace.NORTH, org.bukkit.material.MaterialData.setData(), org.bukkit.block.BlockFace.SOUTH, and org.bukkit.block.BlockFace.WEST.