Item

fun Item(itemStack: ItemStack)
fun Item(itemName: String)
fun Item(itemID: Int)
fun Item(block: BlockType)
fun Item(entityItem: EntityItem)


fun Item(entity: Entity)

Create an Item object from an Entity. Has to be wrapping an EntityItem.

Parameters

entity

the Entity