Cannot choose any potion in procedure???

Started by DarkWither_ on Sun, 03/08/2020 - 21:21

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Cannot choose any potion in procedure???
Sun, 03/08/2020 - 21:21

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:53, 19. Oct 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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