Jump to content

Get the Furnace, that finished smelting item


mkoo7mk

Recommended Posts

You should probably make a capability that attaches to furnaces, then check if your item is in the output slot of the furnace. The capability stores the previous size of the output stack so you don't generate your effects every tick, only when the stack size of your item increases. To run things every tick, you'll want to subscribe to a `WorldTickEvent` and iterate through the `World.tickableTileEntities`.

Have you ever want the new operator to return a type that you didn't ask for? Well, now you can!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

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