Difficulty creating a procedure for a GUI

Started by MahyAss on

Topic category: Help with modding (Java Edition)

Last seen on 19:07, 23. Dec 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Difficulty creating a procedure for a GUI

Hello,

 I'm trying to create a block that allows you to craft enchantments that I created but I don't see what's wrong with my procedure. Looks like it should work.

 Can anyone help me on this problem?

Last seen on 15:01, 19. Apr 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think all of the required…
Fri, 12/23/2022 - 22:14

I think all of the required items should be under one [If] and not "If item, do item, if item, do item" as i think it does not understand that all of the items are required.

Try to have all of the required items within one if block, so if [and, and, and, and] (as many as needed).

So basicly, stack a bunch of "And" on eachother.

 

I think that is the solution but i am not sure, try it instead.

Last seen on 04:04, 3. Feb 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The GUI procedure is using…
Fri, 12/23/2022 - 22:54

The GUI procedure is using the player's position for XYZ, not the block's
The way I solved this is setting NBT data on the player for the XYZ position of the block they are interacting with before popping the GUI