public abstract class MCRecipeBase
extends java.lang.Object
implements net.minecraft.item.crafting.IRecipe, crafttweaker.api.recipes.ICraftingRecipe
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> |
ingredientList |
protected crafttweaker.api.item.IItemStack |
output |
protected net.minecraft.item.ItemStack |
outputStack |
protected crafttweaker.api.recipes.IRecipeAction |
recipeAction |
protected crafttweaker.api.recipes.IRecipeFunction |
recipeFunction |
protected net.minecraft.util.ResourceLocation |
recipeNameLocation |
Modifier and Type | Method and Description |
---|---|
void |
applyTransformers(crafttweaker.api.recipes.ICraftingInventory inventory,
crafttweaker.api.player.IPlayer byPlayer) |
abstract void |
applyTransformers(net.minecraft.inventory.InventoryCrafting inventory,
crafttweaker.api.player.IPlayer byPlayer) |
crafttweaker.api.item.IItemStack |
getCraftingResult(crafttweaker.api.recipes.ICraftingInventory inventory) |
java.lang.String |
getGroup() |
net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> |
getIngredients() |
java.lang.String |
getName() |
crafttweaker.api.item.IItemStack |
getOutput() |
crafttweaker.api.recipes.IRecipeAction |
getRecipeAction() |
net.minecraft.item.ItemStack |
getRecipeOutput() |
net.minecraft.util.ResourceLocation |
getRegistryName() |
java.lang.Class<net.minecraft.item.crafting.IRecipe> |
getRegistryType() |
boolean |
hasRecipeAction() |
boolean |
isHidden() |
boolean |
isVisible() |
boolean |
matches(crafttweaker.api.recipes.ICraftingInventory inventory) |
net.minecraft.item.crafting.IRecipe |
setRegistryName(net.minecraft.util.ResourceLocation name) |
abstract MCRecipeBase |
update() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final net.minecraft.item.ItemStack outputStack
protected final crafttweaker.api.item.IItemStack output
protected net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> ingredientList
protected final crafttweaker.api.recipes.IRecipeFunction recipeFunction
protected final crafttweaker.api.recipes.IRecipeAction recipeAction
protected net.minecraft.util.ResourceLocation recipeNameLocation
public net.minecraft.item.ItemStack getRecipeOutput()
getRecipeOutput
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> getIngredients()
getIngredients
in interface net.minecraft.item.crafting.IRecipe
public boolean isHidden()
isHidden
in interface net.minecraft.item.crafting.IRecipe
public java.lang.String getGroup()
getGroup
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.item.crafting.IRecipe setRegistryName(net.minecraft.util.ResourceLocation name)
setRegistryName
in interface net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.crafting.IRecipe>
@Nullable public net.minecraft.util.ResourceLocation getRegistryName()
getRegistryName
in interface net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.crafting.IRecipe>
public java.lang.Class<net.minecraft.item.crafting.IRecipe> getRegistryType()
getRegistryType
in interface net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.crafting.IRecipe>
public crafttweaker.api.recipes.IRecipeAction getRecipeAction()
public boolean hasRecipeAction()
public java.lang.String getName()
getName
in interface crafttweaker.api.recipes.ICraftingRecipe
public crafttweaker.api.item.IItemStack getOutput()
public boolean isVisible()
public void applyTransformers(crafttweaker.api.recipes.ICraftingInventory inventory, crafttweaker.api.player.IPlayer byPlayer)
applyTransformers
in interface crafttweaker.api.recipes.ICraftingRecipe
public abstract void applyTransformers(net.minecraft.inventory.InventoryCrafting inventory, crafttweaker.api.player.IPlayer byPlayer)
public boolean matches(crafttweaker.api.recipes.ICraftingInventory inventory)
matches
in interface crafttweaker.api.recipes.ICraftingRecipe
public crafttweaker.api.item.IItemStack getCraftingResult(crafttweaker.api.recipes.ICraftingInventory inventory)
getCraftingResult
in interface crafttweaker.api.recipes.ICraftingRecipe
public abstract MCRecipeBase update()