Jump to content

OnMakeItem parameters


ToastedFishSandwich

Recommended Posts

That's a good question :D

 

result and resultItem will both give you back an InventoryItem. This means you can use all functions from that class (e.g.: result:getFullType())

 

But I'm not sure what the difference between the both actually is... if I read the source code correctly "result" should be the actual processed result and "resultItem" should be the original item (before it is processed).

 

The recipe should return the recipe used to make the item ;)

 

Btw. you can always "print" stuff to the console to see what it gives you back without having to read the source code.

 

Your Nicolas Cage pic scares me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...