C# Class Sharpcraft.Library.Minecraft.Item

A minecraft item, this class only provides basic data. It does not contain information about textures et.c.
Mostra file Open project: SijmenSchoon/Sharpcraft

Public Methods

Method Description
Item ( string name, int id, int data, bool damageable = false )

Initialize a new instance of Item.

Method Details

Item() public method

Initialize a new instance of Item.
public Item ( string name, int id, int data, bool damageable = false )
name string Name of the item.
id int ID of the item.
data int Data/Damage value of the item, defaults to zero (0).
damageable bool Wether the item degrades whilst it is being used, defaults to false.