Jump to content

Recommended Posts

Posted

I have a problem with my machine.

It is supposed to take the item in the input slot, compare it against a list of recipes, and if it matches the input of one, it starts to 'spin' and after 5 minutes it stops spinning, and places the appropriate output in the output slot. However, even though I am inputting a valid item, it isn't validating the recipe and therefore doesn't begin to spin.

Here is my code:

 

TileEntityCentrifuge

 

  Reveal hidden contents

 

 

Recipes class

 

  Reveal hidden contents

 

 

CentrifugeRecipe

 

  Reveal hidden contents

 

 

And I use this to add the recipe(this is the only implemented so far...)

Recipes.addCentrifugeRecipe(new ItemStack(itemWaterCanister), new ItemStack(itemHydrogenCanister));

 

It gets to attempting the spin, and prints i and the size of recipes, and then it stops.

Help?

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

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.