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