public class MCRecipeWrapper extends MCRecipeBase
hidden, ingredientList, output, outputStack, recipeAction, recipeFunction, recipeNameLocation
Modifier and Type | Method and Description |
---|---|
void |
applyTransformers(net.minecraft.inventory.InventoryCrafting inventory,
crafttweaker.api.player.IPlayer byPlayer) |
boolean |
canFit(int width,
int height) |
net.minecraft.item.ItemStack |
getCraftingResult(net.minecraft.inventory.InventoryCrafting inv) |
crafttweaker.api.item.IIngredient[] |
getIngredients1D() |
crafttweaker.api.item.IIngredient[][] |
getIngredients2D() |
net.minecraft.util.ResourceLocation |
getRegistryName() |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getRemainingItems(net.minecraft.inventory.InventoryCrafting inv) |
boolean |
hasTransformers() |
boolean |
isShaped() |
boolean |
matches(net.minecraft.inventory.InventoryCrafting inv,
net.minecraft.world.World worldIn) |
java.lang.String |
toCommandString() |
MCRecipeBase |
update() |
applyTransformers, getCraftingResult, getFullResourceName, getGroup, getIngredients, getName, getOutput, getRecipeAction, getRecipeOutput, getRegistryType, getResourceDomain, hasRecipeAction, hasRecipeFunction, isDynamic, isHidden, isVisible, matches, setRegistryName
public boolean matches(net.minecraft.inventory.InventoryCrafting inv, net.minecraft.world.World worldIn)
public net.minecraft.item.ItemStack getCraftingResult(net.minecraft.inventory.InventoryCrafting inv)
public boolean canFit(int width, int height)
public net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getRemainingItems(net.minecraft.inventory.InventoryCrafting inv)
public java.lang.String toCommandString()
public boolean hasTransformers()
public crafttweaker.api.item.IIngredient[] getIngredients1D()
public crafttweaker.api.item.IIngredient[][] getIngredients2D()
public boolean isShaped()
@Nullable public net.minecraft.util.ResourceLocation getRegistryName()
getRegistryName
in interface net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.crafting.IRecipe>
getRegistryName
in class MCRecipeBase
public void applyTransformers(net.minecraft.inventory.InventoryCrafting inventory, crafttweaker.api.player.IPlayer byPlayer)
applyTransformers
in class MCRecipeBase
public MCRecipeBase update()
update
in class MCRecipeBase