Cleaned up direction map of IItemRailing
This commit is contained in:
parent
7579ea6a45
commit
124192bcdf
2 changed files with 8 additions and 0 deletions
|
@ -146,6 +146,12 @@ public class NodeRailing extends Node<IItemRailingProvider, GridRailing, Object>
|
|||
return (VectorWorld) parent.getWorldPos();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Object, ForgeDirection> getConnectionMap()
|
||||
{
|
||||
return new HashMap<Object, ForgeDirection>(this.getConnections());
|
||||
}
|
||||
|
||||
@Override
|
||||
public IInventory[] getInventoriesNearby()
|
||||
{
|
||||
|
|
|
@ -26,6 +26,8 @@ public interface IItemRailing extends INode
|
|||
|
||||
public VectorWorld getWorldPos();
|
||||
|
||||
public Map<Object, ForgeDirection> getConnectionMap();
|
||||
|
||||
public IInventory[] getInventoriesNearby();
|
||||
|
||||
public boolean isLeaf();
|
||||
|
|
Loading…
Reference in a new issue