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