50 lines
957 B
Java
50 lines
957 B
Java
|
package thaumcraft.api.nodes;
|
||
|
|
||
|
import thaumcraft.api.aspects.IAspectContainer;
|
||
|
|
||
|
public interface INode extends IAspectContainer {
|
||
|
|
||
|
/**
|
||
|
* Unique identifier to distinguish nodes. Normal node id's are based on world id and coordinates
|
||
|
* @return
|
||
|
*/
|
||
|
public String getId();
|
||
|
|
||
|
/**
|
||
|
* Return the type of node
|
||
|
* @return
|
||
|
*/
|
||
|
public NodeType getNodeType();
|
||
|
|
||
|
/**
|
||
|
* Set the type of node
|
||
|
* @return
|
||
|
*/
|
||
|
public void setNodeType(NodeType nodeType);
|
||
|
|
||
|
/**
|
||
|
* Return the node modifier
|
||
|
* @return
|
||
|
*/
|
||
|
public void setNodeModifier(NodeModifier nodeModifier);
|
||
|
|
||
|
/**
|
||
|
* Set the node modifier
|
||
|
* @return
|
||
|
*/
|
||
|
public NodeModifier getNodeModifier();
|
||
|
|
||
|
/**
|
||
|
* Return the maximum capacity of each aspect the node can hold
|
||
|
* @return
|
||
|
*/
|
||
|
public int getNodeVisBase();
|
||
|
|
||
|
/**
|
||
|
* Set the maximum capacity of each aspect the node can hold
|
||
|
* @return
|
||
|
*/
|
||
|
public void setNodeVisBase(short nodeVisBase);
|
||
|
|
||
|
}
|