public class CarpenterRecipeTransferHandler extends java.lang.Object implements mezz.jei.api.recipe.transfer.IRecipeTransferHandler<ContainerCarpenter>
| Constructor and Description |
|---|
CarpenterRecipeTransferHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<ContainerCarpenter> |
getContainerClass()
The container that this recipe transfer handler can use.
|
mezz.jei.api.recipe.transfer.IRecipeTransferError |
transferRecipe(ContainerCarpenter container,
mezz.jei.api.gui.IRecipeLayout recipeLayout,
net.minecraft.entity.player.EntityPlayer player,
boolean maxTransfer,
boolean doTransfer) |
public java.lang.Class<ContainerCarpenter> getContainerClass()
mezz.jei.api.recipe.transfer.IRecipeTransferHandlergetContainerClass in interface mezz.jei.api.recipe.transfer.IRecipeTransferHandler<ContainerCarpenter>public mezz.jei.api.recipe.transfer.IRecipeTransferError transferRecipe(ContainerCarpenter container, mezz.jei.api.gui.IRecipeLayout recipeLayout, net.minecraft.entity.player.EntityPlayer player, boolean maxTransfer, boolean doTransfer)
transferRecipe in interface mezz.jei.api.recipe.transfer.IRecipeTransferHandler<ContainerCarpenter>container - the container to act onrecipeLayout - the layout of the recipe, with information about the ingredientsplayer - the player, to do the slot manipulationmaxTransfer - if true, transfer as many items as possible. if false, transfer one setdoTransfer - if true, do the transfer. if false, check for errors but do not actually transfer the items