public class DefaultItemTypeHandler extends java.lang.Object implements IItemTypeHandler
| Constructor and Description |
|---|
DefaultItemTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getItem(org.w3c.dom.Node itemNode)
Get the item for this type of handler for the given node element, can just be a text node.
|
protected java.lang.Object |
makeItemStack(java.lang.String key,
int amount,
int meta) |
protected java.lang.Object makeItemStack(java.lang.String key,
int amount,
int meta)
throws XmlRecipeLoader.XmlRecipeException
public java.lang.Object getItem(org.w3c.dom.Node itemNode)
throws XmlRecipeLoader.XmlRecipeException
IItemTypeHandlergetItem in interface IItemTypeHandleritemNode - The node containing info about this item, for example
"<item>evilcraft:darkGem</item>"XmlRecipeLoader.XmlRecipeException - If an error occured