Added a GUI to the master routing node to get a feel for what the routing system will be like. It's... WIP.

This commit is contained in:
WayofTime 2016-01-17 21:00:48 -05:00
parent 34d24c85dc
commit 01fcec9a8c
7 changed files with 97 additions and 1 deletions

View file

@ -0,0 +1,23 @@
package WayofTime.bloodmagic.tile.container;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
public class ContainerMasterRoutingNode extends Container
{
private final IInventory tileMasterRoutingNode;
public ContainerMasterRoutingNode(InventoryPlayer inventoryPlayer, IInventory tileMasterRoutingNode)
{
this.tileMasterRoutingNode = tileMasterRoutingNode;
}
@Override
public boolean canInteractWith(EntityPlayer playerIn)
{
return this.tileMasterRoutingNode.isUseableByPlayer(playerIn);
}
}