Barrels [Mod]

1244
Member
 
Posts: 45
Joined: Fri Jul 13, 2012 16:40
Location: Poland

Barrels [Mod]

by 1244 » Thu Jun 06, 2013 19:23

Hello, this mod adds barrels to minetest. Barrel is something like chest, but 1 barrel can store infinite amount of 1 type of item. This is very useful when we have large amounts of cobblestone or other things. Barrels look like this:
Image
To insert items into the barrel you must put item to hand and rightclick them on barrel.
To get items back you must leftclick (punch) barrel, if you hold shift during the punching barrel you get the stack of items from the barrel. To find out how much items are in the barrel you must craft barrels checker. You can made it from barrel and control logic unit from technic mod. The barrels checker look like this:
Image
To use it you must leftclick(punch) them barrel.
Crafting recipes:

Barrel:

tree|tree|tree
tree| |tree
tree|tree|tree

Barrels checker:

barrel|control logic unit|
| |
| |

Download link:
https://github.com/m97/Barrels/archive/master.zip
View on github:
https://github.com/m97/Barrels

To do:
- Add compability with pipeworks.
- Make locked barrel.

If you have ideas to make this mod better you can write here about this.
Last edited by 1244 on Sun Jun 09, 2013 15:55, edited 1 time in total.
 

Sokomine
Member
 
Posts: 3869
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

by Sokomine » Thu Jun 06, 2013 19:41

The idea sounds nice. But why do you call it "barrel"? I thought barrels are used for storing liquids? Why don't you give them a formspec where the amount of items is stored? Or a description?
A list of my mods can be found here.
 

User avatar
Evergreen
Member
 
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
Location: A forest in the midwest
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Thu Jun 06, 2013 19:47

Sokomine wrote:The idea sounds nice. But why do you call it "barrel"? I thought barrels are used for storing liquids? Why don't you give them a formspec where the amount of items is stored? Or a description?

Where he got the idea from is a mod in FTB. They are called barrels in FTB. Also, why do you need a formspec? This is used for storing mass amounts of one kind of item, however when you point at them it should say how many items there are in it.
Last edited by Evergreen on Thu Jun 06, 2013 19:48, edited 1 time in total.
Back from the dead!
 

1244
Member
 
Posts: 45
Joined: Fri Jul 13, 2012 16:40
Location: Poland

by 1244 » Thu Jun 06, 2013 19:48

Barrels don't need formspec because in fact have only 1 slot. To get items we only must punch barrel. It is very comfortable. The info about items in barrel is stored in metadata. One meta stores the item amount, other stores item name so in barrel w can't storing tools but items in barrel use a very small amount of memory. The name barrel is from similar minecraft mod.
Last edited by 1244 on Thu Jun 06, 2013 19:53, edited 1 time in total.
 

User avatar
Evergreen
Member
 
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
Location: A forest in the midwest
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Fri Jun 07, 2013 13:17

I'm gonna go test this, it looks pretty awesome. :D EDIT: it would be very nice if you could add pipeworks support
Last edited by Evergreen on Fri Jun 07, 2013 13:17, edited 1 time in total.
Back from the dead!
 

JBR
Member
 
Posts: 76
Joined: Sun May 26, 2013 22:04
Location: United Kingdom, Wales

by JBR » Sun Jun 09, 2013 00:13

can other people take the stuff out? If so you should make a locked barrel :)
 

keyxmakerx
Member
 
Posts: 104
Joined: Mon Apr 08, 2013 23:53

by keyxmakerx » Mon Jun 10, 2013 07:29

Can you make this mod not dependent on technical? I'm having issues with that mod. :\ sorry for the trouble.

The reason I ask, I removed technic Dependant and it gives me the item, but it gives it to me three blocks under the ground..
 

User avatar
Zane
Member
 
Posts: 122
Joined: Fri Apr 19, 2013 20:28
Location: mars-JUST KIDDING!! XD
In-game: Zane

by Zane » Wed Mar 26, 2014 13:37

hey,1244
I had no idea you know modding.
well,you learn somthing every day =)
home of a+ent.
note:
hi everyone im Zane and im the
creator of the sunrisetest stories.
and for a bonus im learning BASIC programing language.sunrisetest doesn't exist anymore so im planning to replace the server
replacement's name:new sunrisetest
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33
Location: world
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice

by hoodedice » Wed Mar 26, 2014 13:38

Zane wrote:hey,1244
I had no idea you know modding.
well,you learn somthing every day =)


Protip: Check the date of the first post.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 7 guests