Cannot choose any potion in procedure???

Started by DarkWither_ on

Topic category: Help with modding (Java Edition)

Last seen on 21:21, 8. Mar 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cannot choose any potion in procedure???

Hey modders! Today i was making a potion sack! While i was making the item i had to make a procedure to make sure i could only store potions inside this sack! Basically pressing the right mouse button will make you open a gui with 4 slots, one of them is made to insert the potion! after that you will need to press a button (i like buttons in guis) to check if the item is a potion and then see if the first available potion slot to then insert it! The poblem? well you see i was starting with making the first if statement and i made so it would check the object in the place were potions are inserted and then if it equaled to a potion, well i was trying to find the potion and i was surprised to see no potions other than the simple water ones! Will i be able to choose at least one type of potion or will i haft to wait to have made a lot of my own potions for this object to be useful? 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
u can't store items in slots…
Mon, 03/09/2020 - 01:26

u can't store items in slots yet

and also all the potions has the same id