crafting works, still have to make it so it gets from the network
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package storagecraft.container;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import storagecraft.tile.TileGrid;
|
||||
|
||||
public class ContainerGridCrafting extends Container
|
||||
{
|
||||
private TileGrid grid;
|
||||
|
||||
public ContainerGridCrafting(TileGrid grid)
|
||||
{
|
||||
this.grid = grid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canInteractWith(EntityPlayer player)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCraftMatrixChanged(IInventory inventory)
|
||||
{
|
||||
grid.onCraftingMatrixChanged();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user