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

User avatar
Dan Duncombe
Member
 
Posts: 904
Joined: Thu May 09, 2013 21:11

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

by Dan Duncombe » Mon Jul 15, 2013 21:50

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.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Sat Jul 20, 2013 06:32

Checkout the tbm mod, That should explain allot! You can find it in my simple mod pack.
 

User avatar
ch98
Member
 
Posts: 463
Joined: Wed Jan 02, 2013 06:14

by ch98 » Sat Jul 20, 2013 22:05

maybe looking at the code for furnace will help. That is how I learned how to do stuff with inventory.
Mudslide mod Click Here
 


Return to WIP Mods

Who is online

Users browsing this forum: Bing [Bot] and 6 guests

cron