sealab865
-
Posts
7 -
Joined
-
Last visited
Posts posted by sealab865
-
-
That is not right at all.You will need a custom crafting handler like in redpower its alloy furnace
You need to make a custom recipe (instance of IRecipe) and use that.
Thank you for replying, also I am clueless as to how I can do that, do you mind helping a little?
-
I have been wondering how can I make it so in a recipe you need a certain amount of something? (for example 64 Stone, 38 Wood etc.)
-
I was wondering how I could get a block I create in blender and render it into minecraft(I think eloramm did this for her engine) but I just can't seem to get my head around the coding part of it so if you know how to/ know any tutorials related to this it would certainly help, thanks in advanced(hopefully)
Recipe Question
in Modder Support
Posted
I'm one of those people who learn better from actually looking at code, I tried to do what you said but when it came to adding a new addRecipe eclipse was giving me errors saying 'Syntax Error at Token . / )'
package sealab.stackpack;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public interface StackRecipe
{
/**
* Used to check if a recipe matches current crafting inventory
*/
boolean matches(InventoryCrafting var1, World var2);
/**
* Returns an Item that is the result of this recipe
*/
ItemStack getCraftingResult(InventoryCrafting var1);
/**
* Returns the size of the recipe area
*/
int getRecipeSize();
ItemStack getRecipeOutput();
GameRegistry.addShapelessRecipe(new ItemStack(Base.stoneStack), new Object[]
{
new ItemStack(Base.Stack),
new ItemStack(Block.stone)
});
}
It's probably something obvious that I just looked past.