public class ItemBlockFluidContainerCombinationRecipe
extends net.minecraftforge.registries.IForgeRegistryEntry.Impl<net.minecraft.item.crafting.IRecipe>
implements net.minecraft.item.crafting.IRecipe
| Constructor and Description |
|---|
ItemBlockFluidContainerCombinationRecipe(int size,
ItemBlockFluidContainer tankItem,
int maxTankSize)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFit(int width,
int height) |
net.minecraft.item.ItemStack |
getCraftingResult(net.minecraft.inventory.InventoryCrafting grid) |
net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> |
getIngredients() |
net.minecraft.item.ItemStack |
getRecipeOutput() |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getRemainingItems(net.minecraft.inventory.InventoryCrafting inventory) |
boolean |
matches(net.minecraft.inventory.InventoryCrafting grid,
net.minecraft.world.World world) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic ItemBlockFluidContainerCombinationRecipe(int size,
ItemBlockFluidContainer tankItem,
int maxTankSize)
size - The recipe size (should be called multiple times (1 to 9) to allow for all shapeless crafting types.tankItem - The tank item that is combinable.maxTankSize - The maximum allowed tank size in mB.public boolean matches(net.minecraft.inventory.InventoryCrafting grid,
net.minecraft.world.World world)
matches in interface net.minecraft.item.crafting.IRecipepublic net.minecraft.item.ItemStack getRecipeOutput()
getRecipeOutput in interface net.minecraft.item.crafting.IRecipepublic net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getRemainingItems(net.minecraft.inventory.InventoryCrafting inventory)
getRemainingItems in interface net.minecraft.item.crafting.IRecipepublic net.minecraft.item.ItemStack getCraftingResult(net.minecraft.inventory.InventoryCrafting grid)
getCraftingResult in interface net.minecraft.item.crafting.IRecipepublic boolean canFit(int width,
int height)
canFit in interface net.minecraft.item.crafting.IRecipepublic net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> getIngredients()
getIngredients in interface net.minecraft.item.crafting.IRecipe