Package logisticspipes.blocks.crafting

Source Code of logisticspipes.blocks.crafting.AutoCraftingInventory

package logisticspipes.blocks.crafting;

import logisticspipes.utils.PlayerIdentifier;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.InventoryCrafting;

public class AutoCraftingInventory extends InventoryCrafting {
  public final PlayerIdentifier placedByPlayer;
  public AutoCraftingInventory(PlayerIdentifier playerID) {
    super(new Container() {
      @Override public boolean canInteractWith(EntityPlayer entityplayer) {return false;}
      @Override public void onCraftMatrixChanged(IInventory par1iInventory) {}
    }, 3, 3);
    this.placedByPlayer = playerID;
  }
}
TOP

Related Classes of logisticspipes.blocks.crafting.AutoCraftingInventory

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.