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 boolean |
hidden |
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 |
getFullResourceName() |
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() |
java.lang.String |
getResourceDomain() |
boolean |
hasRecipeAction() |
boolean |
hasRecipeFunction() |
boolean |
isDynamic() |
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, waitprotected final net.minecraft.item.ItemStack outputStack
protected final crafttweaker.api.item.IItemStack output
protected final crafttweaker.api.recipes.IRecipeFunction recipeFunction
protected final crafttweaker.api.recipes.IRecipeAction recipeAction
protected final boolean hidden
protected net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> ingredientList
protected net.minecraft.util.ResourceLocation recipeNameLocation
public net.minecraft.item.ItemStack getRecipeOutput()
getRecipeOutput in interface net.minecraft.item.crafting.IRecipepublic net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> getIngredients()
getIngredients in interface net.minecraft.item.crafting.IRecipepublic boolean isDynamic()
isDynamic in interface net.minecraft.item.crafting.IRecipepublic java.lang.String getGroup()
getGroup in interface net.minecraft.item.crafting.IRecipepublic 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()
hasRecipeAction in interface crafttweaker.api.recipes.ICraftingRecipepublic boolean hasRecipeFunction()
hasRecipeFunction in interface crafttweaker.api.recipes.ICraftingRecipepublic boolean isHidden()
isHidden in interface crafttweaker.api.recipes.ICraftingRecipepublic java.lang.String getFullResourceName()
getFullResourceName in interface crafttweaker.api.recipes.ICraftingRecipepublic java.lang.String getResourceDomain()
getResourceDomain in interface crafttweaker.api.recipes.ICraftingRecipepublic java.lang.String getName()
getName in interface crafttweaker.api.recipes.ICraftingRecipepublic crafttweaker.api.item.IItemStack getOutput()
getOutput in interface crafttweaker.api.recipes.ICraftingRecipepublic boolean isVisible()
public void applyTransformers(crafttweaker.api.recipes.ICraftingInventory inventory,
crafttweaker.api.player.IPlayer byPlayer)
applyTransformers in interface crafttweaker.api.recipes.ICraftingRecipepublic 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.ICraftingRecipepublic crafttweaker.api.item.IItemStack getCraftingResult(crafttweaker.api.recipes.ICraftingInventory inventory)
getCraftingResult in interface crafttweaker.api.recipes.ICraftingRecipepublic abstract MCRecipeBase update()