Page 1 of 1

I need help making a mod for mining (please help me!)

PostPosted: Mon Jul 15, 2013 21:50
by Dan Duncombe
Well, what I want to do is make a node that when you place coal in the inventory slot inside it it will burn it like a furnace. For all the time it is burning the coal it is gradually making a 1x1 hole beneath it, filling the hole with instabuild:mining_pipe and putting any ores it finds in an adjacent node with a chest-like inventory called instabuild:mining_deposit_chest. Everytime it runs out of coal it stops digging, and when you refuel it continues where it left off. Please tell me how to do this- all the code please, no 'just use on_right_click' or whatever. I will give you credit for any help you can give me.

PostPosted: Sat Jul 20, 2013 06:32
by Bas080
Checkout the tbm mod, That should explain allot! You can find it in my simple mod pack.

PostPosted: Sat Jul 20, 2013 22:05
by ch98
maybe looking at the code for furnace will help. That is how I learned how to do stuff with inventory.