public class FabricatorRecipeTransferHandler extends java.lang.Object implements mezz.jei.api.recipe.transfer.IRecipeTransferHandler<ContainerFabricator>
| Constructor and Description |
|---|
FabricatorRecipeTransferHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<ContainerFabricator> |
getContainerClass()
The container that this recipe transfer handler can use.
|
mezz.jei.api.recipe.transfer.IRecipeTransferError |
transferRecipe(ContainerFabricator container,
mezz.jei.api.gui.IRecipeLayout recipeLayout,
net.minecraft.entity.player.EntityPlayer player,
boolean maxTransfer,
boolean doTransfer) |
public java.lang.Class<ContainerFabricator> getContainerClass()
mezz.jei.api.recipe.transfer.IRecipeTransferHandlergetContainerClass in interface mezz.jei.api.recipe.transfer.IRecipeTransferHandler<ContainerFabricator>public mezz.jei.api.recipe.transfer.IRecipeTransferError transferRecipe(ContainerFabricator 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<ContainerFabricator>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