public class ShapelessMachineRecipe extends MachineRecipe
consumptionOnStart, consumptionPerTick, location, serializer, totalTime, type
Constructor and Description |
---|
ShapelessMachineRecipe(net.minecraft.util.ResourceLocation location,
net.minecraft.item.crafting.IRecipeType<?> type,
net.minecraft.item.crafting.IRecipeSerializer<?> serializer,
net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> ingredients,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> outputs,
int totalTime,
int consumptionOnStart,
int consumptionPerTick) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> |
getIngredients() |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getOutput(net.minecraft.inventory.IInventory inventory) |
boolean |
matches(net.minecraft.inventory.IInventory inventory,
net.minecraft.world.World world) |
canFit, getConsumptionOnStart, getConsumptionPerTick, getCraftingResult, getId, getRecipeOutput, getSerializer, getTotalTime, getType
public ShapelessMachineRecipe(net.minecraft.util.ResourceLocation location, net.minecraft.item.crafting.IRecipeType<?> type, net.minecraft.item.crafting.IRecipeSerializer<?> serializer, net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> ingredients, net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> outputs, int totalTime, int consumptionOnStart, int consumptionPerTick)
public boolean matches(net.minecraft.inventory.IInventory inventory, net.minecraft.world.World world)
matches
in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>
matches
in class MachineRecipe
public net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getOutput(net.minecraft.inventory.IInventory inventory)
getOutput
in class MachineRecipe
public net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> getIngredients()
getIngredients
in interface net.minecraft.item.crafting.IRecipe<net.minecraft.inventory.IInventory>
getIngredients
in class MachineRecipe