C# Class Sharpcraft.Library.Minecraft.ItemStack

Contains information about a stack of items.
显示文件 Open project: SijmenSchoon/Sharpcraft

Public Properties

Property Type Description
AnimationsToGo int
ItemDamage int
ItemID int
StackSize byte

Public Methods

Method Description
ItemStack ( int itemID, byte stackSize, int itemDamage )

Will contain an NBT compound.

Initializes the ItemStack.

Method Details

ItemStack() public method

Will contain an NBT compound. Initializes the ItemStack.
public ItemStack ( int itemID, byte stackSize, int itemDamage )
itemID int The item ID, defaults to 0
stackSize byte The stack size, defaults to 0
itemDamage int The item damage, defaults to 0

Property Details

AnimationsToGo public_oe property

Yet to figure out what this does.
public int AnimationsToGo
return int

ItemDamage public_oe property

The damage values of the stack.
public int ItemDamage
return int

ItemID public_oe property

The ID of the material this stack contains.
public int ItemID
return int

StackSize public_oe property

Contains how many items there are in the stack.
public byte StackSize
return byte