Limit input for hoppers

Started by coolbot100s on Mon, 08/31/2020 - 03:11

Topic category: Help with modding (Java Edition)

Last seen on 20:45, 16. Sep 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Limit input for hoppers
Mon, 08/31/2020 - 03:11

When I create a gui and select a slot in that gui to only accept a certain item as input, hoppers will still place any item in that slot.
How do I change it so the slot will only store a specific item? and canonly have that specific item inserted by a hopper?

Last seen on 17:52, 16. Oct 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It may be that it wasn't…
Tue, 09/01/2020 - 01:25

It may be that it wasn't thoroughly tested and only works when being placed by hand, not by hopper input. So if possible, you can use the "on block tick" trigger to check the block inventory, and if an item is placed inside it (that isn't "x" item), spit it out of the inventory or something of the sorts.