Jump to content

Recommended Posts

Posted

Ok so basically i am creating a sawmill(A custom furnace).I have made it so that it will only use set recipes.I am wondering how i would go about making it so that oak logs creates oak planks and spruce wood creates spruce planks ect.So if anyone could give me an idea on how to do this as i have spent a good amount of time trying to do this but i have no idea how to do it.

Posted

I have a custom furnace tutorial here: http://jabelarminecraft.blogspot.com/p/minecraft-modding-containers.html

 

Note that it is for 1.8, so you might need to adapt bits of it for 1.7.10 or earlier.  But it should give you the general idea.

 

For recipe part you can either implement actual recipes, or just use basic logic in your Container class. In either case, the Container should check what is in the input slots and if some conditions are met (match a recipe, or you can use if statements) you update the output slot.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted

When it does not work, you should provide some detailed description on that, like crash report, or the symptom.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted

    this.func_151393_a(Blocks.log,0, new ItemStack(Blocks.planks, 1, 0), 0.15F);

    this.func_151393_a(Blocks.log,1, new ItemStack(Blocks.planks, 1, 1), 0.15F);

    this.func_151393_a(Blocks.log,2, new ItemStack(Blocks.planks, 1, 2), 0.15F);

    this.func_151393_a(Blocks.log,3, new ItemStack(Blocks.planks, 1, 3), 0.15F);

    this.func_151393_a(Blocks.log2,4, new ItemStack(Blocks.planks, 1, 4), 0.15F);

 

these are the 5 recipes but i want oak wood to become oak wood planks.I have tryed quite a few things but none of them seem to work.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.