GUI where you can only place certain items

Started by RexCerv on Mon, 08/02/2021 - 17:33

Topic category: Advanced modding

Last seen on 22:04, 18. Sep 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
GUI where you can only place certain items
Mon, 08/02/2021 - 17:33

So I wanted to make a GUI and for testing, I made only 1 slot, in this slot I wanted to know if it's possible to specify only to accept certain items, so I first added a random block in the specification and then going to the code and deleting it, then I tried adding the stuff I want to specify where the random block was (and yes I did Import all of the items and delete completely the other block). And because it didn't work, I was wondering if there's a way to do it with procedures or just coding, maybe I did it wrong. By the way, I'm in 2021.1, Minecraft Version 1.16. 

(If anyone didn't understand what I meant, here's an example: Imagine I want to only be able to put Gold, Diamond, Iron, Coal, etc on 1 slot, but I can't put other items like dirt or other things. And yes MCreator does let me specify items per slot, but it only lets me specify 1 item, when I want to specify at least 10.)

Last seen on 01:31, 17. Sep 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That will take a lot of…
Wed, 08/04/2021 - 14:57

That will take a lot of procedures I recommend trying a tutorial from Mod monster or cursed warrior

Last seen on 22:04, 18. Sep 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
@RRTropical u got a link?
Wed, 08/04/2021 - 23:20

@RRTropical u got a link?