Vacuum Hopper?

Started by myxical on

Topic category: Help with modding (Java Edition)

Last seen on 23:47, 20. Jan 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Vacuum Hopper?

How to make a vacuum hopper? Probably something with "Does entity exist" block...

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
By vacuum, you mean make it…
Sun, 06/06/2021 - 06:48

By vacuum, you mean make it pull entity's in to it?

If that's the case, use motion vector. Depending on the distance from entity, determine the correct velocity and calculate the right direction.

 

Last seen on 23:47, 20. Jan 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
By vacuum hopper I mean a…
Thu, 06/10/2021 - 14:36

By vacuum hopper I mean a hopper that funnels items in a radius. aka if you were to throw an item next to the block it will put it into it's inventory

Last seen on 16:03, 13. Aug 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also need an answer for…
Thu, 08/12/2021 - 18:10

I also need an answer for this. I'm making a mod for a friend and i need a new kind of hopper but that works similar to vanilla hopper and i'm having troubles with the part where the hopper takes a item that is dropped on top

Last seen on 16:03, 13. Aug 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also need an answer to…
Thu, 08/12/2021 - 18:15

I also need an answer to this. I'm making a hopper that works similar to vanilla hopper and i'm having stugles to make the hopper put a dropped item on the top side into the inventory 

Last seen on 16:03, 13. Aug 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok sorry for the duplicated…
Fri, 08/13/2021 - 12:39

Ok sorry for the duplicated message from before.

I made a procedure where it detects if an item is on top of the block and if the hopper has an empty slot or an incomplete stack of that item in the inventory, but I am new to mcreator so this procedure is not working exactly as the hopper in minecraft actually works. In minecraft the hopper when he gets one item it has a small cooldown before getting another so when you drop like an entire stack of an item on top of the hopper the game has time to process all the items and get everything inside the hopper. I cant found anywhere a way to make this so the procedure dont work very well as it absorbs every item as soon as it touches the block. If you drop a lot of items in a small period of time on top of the hopper you will probably lose some items so drop one at the time and it works fine.

I put this procedure in the trigger "when entity walks on the block" I also tried in the update tick trigger but it didn't work for some reason

Print of the procedure

 

Last seen on 14:53, 23. Aug 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for your procedure,…
Mon, 09/20/2021 - 16:31

Thanks for your procedure, MicoMan!