Difficulty creating a procedure for a GUI

Started by MahyAss on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.

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