2014-01-17 19:12:49 +00:00
|
|
|
package thaumcraft.api.nodes;
|
|
|
|
|
|
|
|
import thaumcraft.api.aspects.IAspectContainer;
|
|
|
|
|
2014-01-17 21:43:13 +00:00
|
|
|
public interface INode extends IAspectContainer
|
|
|
|
{
|
2014-01-17 19:12:49 +00:00
|
|
|
/**
|
|
|
|
* Unique identifier to distinguish nodes. Normal node id's are based on world id and coordinates
|
2014-01-17 21:05:38 +00:00
|
|
|
*
|
2014-01-17 19:12:49 +00:00
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public String getId();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return the type of node
|
2014-01-17 21:05:38 +00:00
|
|
|
*
|
2014-01-17 19:12:49 +00:00
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public NodeType getNodeType();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the type of node
|
2014-01-17 21:05:38 +00:00
|
|
|
*
|
2014-01-17 19:12:49 +00:00
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public void setNodeType(NodeType nodeType);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return the node modifier
|
2014-01-17 21:05:38 +00:00
|
|
|
*
|
2014-01-17 19:12:49 +00:00
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public void setNodeModifier(NodeModifier nodeModifier);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the node modifier
|
2014-01-17 21:05:38 +00:00
|
|
|
*
|
2014-01-17 19:12:49 +00:00
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public NodeModifier getNodeModifier();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Return the maximum capacity of each aspect the node can hold
|
2014-01-17 21:05:38 +00:00
|
|
|
*
|
2014-01-17 19:12:49 +00:00
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public int getNodeVisBase();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the maximum capacity of each aspect the node can hold
|
2014-01-17 21:05:38 +00:00
|
|
|
*
|
2014-01-17 19:12:49 +00:00
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
public void setNodeVisBase(short nodeVisBase);
|
|
|
|
}
|