@Deprecated
public class MCCraftingInventory
extends java.lang.Object
implements crafttweaker.api.recipes.ICraftingInventory
Constructor and Description |
---|
MCCraftingInventory(net.minecraft.inventory.IInventory inventory,
net.minecraft.entity.player.EntityPlayer player)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MCCraftingInventory |
get(net.minecraft.inventory.IInventory inventory,
net.minecraft.entity.player.EntityPlayer player)
Deprecated.
|
static MCCraftingInventory |
get(net.minecraft.inventory.InventoryCrafting inventory)
Deprecated.
|
int |
getHeight()
Deprecated.
|
java.lang.Object |
getInternal()
Deprecated.
|
crafttweaker.api.item.IItemStack[] |
getItemArray()
Deprecated.
|
crafttweaker.api.item.IItemStack[][] |
getItems()
Deprecated.
|
crafttweaker.api.player.IPlayer |
getPlayer()
Deprecated.
|
int |
getSize()
Deprecated.
|
crafttweaker.api.item.IItemStack |
getStack(int i)
Deprecated.
|
crafttweaker.api.item.IItemStack |
getStack(int row,
int column)
Deprecated.
|
int |
getStackCount()
Deprecated.
|
int |
getWidth()
Deprecated.
|
void |
setStack(int i,
crafttweaker.api.item.IItemStack stack)
Deprecated.
|
void |
setStack(int row,
int column,
crafttweaker.api.item.IItemStack stack)
Deprecated.
|
public MCCraftingInventory(net.minecraft.inventory.IInventory inventory, net.minecraft.entity.player.EntityPlayer player)
public static MCCraftingInventory get(net.minecraft.inventory.InventoryCrafting inventory)
public static MCCraftingInventory get(net.minecraft.inventory.IInventory inventory, net.minecraft.entity.player.EntityPlayer player)
public crafttweaker.api.player.IPlayer getPlayer()
getPlayer
in interface crafttweaker.api.recipes.ICraftingInventory
public int getSize()
getSize
in interface crafttweaker.api.recipes.ICraftingInventory
public int getWidth()
getWidth
in interface crafttweaker.api.recipes.ICraftingInventory
public int getHeight()
getHeight
in interface crafttweaker.api.recipes.ICraftingInventory
public int getStackCount()
getStackCount
in interface crafttweaker.api.recipes.ICraftingInventory
public crafttweaker.api.item.IItemStack getStack(int i)
getStack
in interface crafttweaker.api.recipes.ICraftingInventory
public crafttweaker.api.item.IItemStack getStack(int row, int column)
getStack
in interface crafttweaker.api.recipes.ICraftingInventory
public void setStack(int row, int column, crafttweaker.api.item.IItemStack stack)
setStack
in interface crafttweaker.api.recipes.ICraftingInventory
public void setStack(int i, crafttweaker.api.item.IItemStack stack)
setStack
in interface crafttweaker.api.recipes.ICraftingInventory
public crafttweaker.api.item.IItemStack[][] getItems()
getItems
in interface crafttweaker.api.recipes.ICraftingInventory
public crafttweaker.api.item.IItemStack[] getItemArray()
getItemArray
in interface crafttweaker.api.recipes.ICraftingInventory
public java.lang.Object getInternal()
getInternal
in interface crafttweaker.api.recipes.ICraftingInventory