public class InfuserRecipe
extends java.lang.Object
implements net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>
| Modifier and Type | Class and Description |
|---|---|
static class |
InfuserRecipe.Serializer |
static class |
InfuserRecipe.Type |
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.NonNullList<QuantifiedIngredient> |
input |
protected net.minecraft.item.ItemStack |
result |
| Constructor and Description |
|---|
InfuserRecipe(net.minecraft.util.ResourceLocation name,
net.minecraft.util.NonNullList<QuantifiedIngredient> in,
net.minecraft.item.ItemStack out) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
assemble(net.minecraft.inventory.IInventory inv) |
boolean |
canCraftInDimensions(int width,
int height) |
net.minecraft.util.ResourceLocation |
getId() |
net.minecraft.util.NonNullList<QuantifiedIngredient> |
getQualifiedIngredients() |
net.minecraft.item.ItemStack |
getResultItem() |
net.minecraft.item.crafting.IRecipeSerializer<InfuserRecipe> |
getSerializer() |
net.minecraft.item.crafting.IRecipeType<InfuserRecipe> |
getType() |
boolean |
isSpecial()
TODO: What does this do? What is this for?
|
boolean |
matches(net.minecraft.inventory.IInventory inv,
net.minecraft.world.World worldIn) |
protected final net.minecraft.util.NonNullList<QuantifiedIngredient> input
protected final net.minecraft.item.ItemStack result
public InfuserRecipe(net.minecraft.util.ResourceLocation name,
net.minecraft.util.NonNullList<QuantifiedIngredient> in,
net.minecraft.item.ItemStack out)
public boolean matches(net.minecraft.inventory.IInventory inv,
net.minecraft.world.World worldIn)
matches in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>public net.minecraft.item.ItemStack assemble(net.minecraft.inventory.IInventory inv)
assemble in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>public boolean canCraftInDimensions(int width,
int height)
canCraftInDimensions in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>public net.minecraft.item.ItemStack getResultItem()
getResultItem in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>@Nonnull public net.minecraft.util.ResourceLocation getId()
getId in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>@Nonnull public net.minecraft.item.crafting.IRecipeSerializer<InfuserRecipe> getSerializer()
getSerializer in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>@Nonnull public net.minecraft.item.crafting.IRecipeType<InfuserRecipe> getType()
getType in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>public net.minecraft.util.NonNullList<QuantifiedIngredient> getQualifiedIngredients()
public boolean isSpecial()
isSpecial in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>