public class MCRecipeWrapper extends MCRecipeBase
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) |
net.minecraft.util.ResourceLocation |
getRegistryName() |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getRemainingItems(net.minecraft.inventory.InventoryCrafting inv) |
boolean |
hasTransformers() |
boolean |
matches(net.minecraft.inventory.InventoryCrafting inv,
net.minecraft.world.World worldIn) |
java.lang.String |
toCommandString() |
MCRecipeBase |
update() |
applyTransformers, getCraftingResult, getGroup, getIngredients, getName, getOutput, getRecipeAction, getRecipeOutput, getRegistryType, hasRecipeAction, 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()
@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