[Mod] Hoppers

Byakuren
Member
 
Posts: 751
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Mod] Hoppers

by Byakuren » Sun Apr 02, 2017 03:18

What's the "difference in how they're placed" mentioned in the OP? That you get unexpected results if you have multiple things next to a hopper?

Is that why the chests aren't next to each other in the screenshot?

EDIT: Actually looking at the code, the answer is no.
Every time a mod API is left undocumented, a koala dies.
 

FaceDeer
Member
 
Posts: 222
Joined: Sat Aug 29, 2015 19:01

Re: [Mod] Hoppers

by FaceDeer » Sun Apr 02, 2017 03:58

Good news, I was picking through Pipeworks to see if I could borrow its API and I think my original approach might be salvageable after all. Pipeworks does a neat trick where it creates "fake" player objects to pass into the allow_metadata_inventory_take etc. methods. here's where it does the deed. I'm going to try implementing that.

Edit: Seems to be working! The current version of hopper now has fake players implemented for players who are offline.
 

Byakuren
Member
 
Posts: 751
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Mod] Hoppers

by Byakuren » Sun Apr 02, 2017 09:09

I know about that trick and think it's a big hack, but I guess that's fine for working temporarily. It also doesn't account for things like drawers that don't have a real inventory.
Every time a mod API is left undocumented, a koala dies.
 

User avatar
BBmine
Member
 
Posts: 3384
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: [Mod] Hoppers

by BBmine » Sun Sep 24, 2017 23:02

Can someone please explain to me how to make a side hopper?

EDIT: Ok, I get it. The reason I asked the question in the first place was because I was wondering if it's possible to place them "On top" of each other horizontally.
God's not dead! -- Mods, Servers, My Youtube Channel My forum Good Music -- Never gonna give you up!!
 

FaceDeer
Member
 
Posts: 222
Joined: Sat Aug 29, 2015 19:01

Re: [Mod] Hoppers

by FaceDeer » Mon Sep 25, 2017 04:40

BBmine wrote:Can someone please explain to me how to make a side hopper?

EDIT: Ok, I get it. The reason I asked the question in the first place was because I was wondering if it's possible to place them "On top" of each other horizontally.


Do you mean a line of side hoppers, each feeding into the next one, so that they can draw from a whole bunch of sources above and send all the items to the same destination? That should be quite possible.
 

User avatar
BBmine
Member
 
Posts: 3384
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: [Mod] Hoppers

by BBmine » Mon Sep 25, 2017 11:44

FaceDeer wrote:
BBmine wrote:Can someone please explain to me how to make a side hopper?

EDIT: Ok, I get it. The reason I asked the question in the first place was because I was wondering if it's possible to place them "On top" of each other horizontally.


Do you mean a line of side hoppers, each feeding into the next one, so that they can draw from a whole bunch of sources above and send all the items to the same destination? That should be quite possible.

Yes, but not necessarily a bunch of sources from the top. (Unless that's the only way to do it)
God's not dead! -- Mods, Servers, My Youtube Channel My forum Good Music -- Never gonna give you up!!
 

User avatar
BBmine
Member
 
Posts: 3384
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: [Mod] Hoppers

by BBmine » Mon Sep 25, 2017 19:12

Nevermind! I figured it out! :D
God's not dead! -- Mods, Servers, My Youtube Channel My forum Good Music -- Never gonna give you up!!
 

FaceDeer
Member
 
Posts: 222
Joined: Sat Aug 29, 2015 19:01

Re: [Mod] Hoppers

by FaceDeer » Mon Sep 25, 2017 23:42

BBmine wrote:Yes, but not necessarily a bunch of sources from the top. (Unless that's the only way to do it)


If you just want to move items along a line, the minetest-mods fork of Hoppers has a "chute" node that can do that. Set up a hopper feeding in to a line of chutes and then have the final chute connected to your destination. It's like a much simplified version of Pipeworks.
 

IanniPowerup!!!
Member
 
Posts: 88
Joined: Wed Nov 29, 2017 17:33
In-game: IanniPowerup
 

User avatar
TenPlus1
Member
 
Posts: 2197
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1
 

sofar
Developer
 
Posts: 1579
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [Mod] Hoppers

by sofar » Thu Dec 07, 2017 20:11

I've fixed the download URL in the top post! You can download a zip file straight from Jordan_ibanez' github tree.

Don't confuse this mod with tenplus1's fork, they're not the same. I don't like how tenplus1 is not clear about this. He could have explained this instead of dropping a link and nothing more.

There is also a maintained version (again, different) in the minetest-mods team:

https://github.com/minetest-mods/hopper

This one is community maintained - several people are contributing to it and making it a team effort. If you don't know which one to choose, I may have made it worse, but at least you'll have more information to make a decision.
 

IanniPowerup!!!
Member
 
Posts: 88
Joined: Wed Nov 29, 2017 17:33
In-game: IanniPowerup

Re: [Mod] Hoppers

by IanniPowerup!!! » Sat Dec 16, 2017 09:13

AAAAA!!!!! When i enable this mod to one of my worlds it says that the mod contains dessalowed characters ! fix it :/
 

sofar
Developer
 
Posts: 1579
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [Mod] Hoppers

by sofar » Sat Dec 16, 2017 19:02

IanniPowerup!!! wrote:AAAAA!!!!! When i enable this mod to one of my worlds it says that the mod contains dessalowed characters ! fix it :/


You can fix it yourself.
 

User avatar
TumeniNodes
Member
 
Posts: 2313
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: [Mod] Hoppers

by TumeniNodes » Sat Dec 16, 2017 20:11

IanniPowerup!!! wrote:AAAAA!!!!! When i enable this mod to one of my worlds it says that the mod contains dessalowed characters ! fix it :/


You need to learn some forum etiquette:
Here is a better way to ask for help

(When I enable this mod to one of my worlds, it says that the mod contains disallowed characters. Could someone please help me fix this? Thank you)

Stop using capital letters and "!" to the tenth power.
And, when you say "fix it"..., this seems like a demand, and will not get you much help.

Now, with that.
Go to the folder for the mod. Rename it to simply hoppers and that should fix it
There is nothing closer to Hell on Earth, than peanut butter in your jelly jar.
 

hajo
Member
 
Posts: 541
Joined: Thu Oct 13, 2016 10:45
Location: DE

Re: [Mod] Hoppers

by hajo » Thu Mar 22, 2018 18:26

sofar wrote:You can download a zip file straight from Jordan_ibanez' github tree.

Don't confuse this mod with tenplus1's fork, they're not the same.

There is also a maintained version (again, different) in the minetest-mods team:
https://github.com/minetest-mods/hopper

What is the difference between these versions ?

I feel this needs its own wiki-page...
 

User avatar
TenPlus1
Member
 
Posts: 2197
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] Hoppers

by TenPlus1 » Fri Mar 23, 2018 08:16

hajo: Jordan initially started the Hopper mod which I took over by adding an API and new features, then the user FaceDeer forked it and added new pipes.

I keep my version lite for speed :)
Last edited by TenPlus1 on Fri Mar 23, 2018 14:50, edited 1 time in total.
 

User avatar
texmex
Member
 
Posts: 662
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Hoppers

by texmex » Fri Mar 23, 2018 10:03

minetest-mods/hopper version got chutes, sorting and ejection in addition to tenplus1's features.
 

Previous

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 8 guests