Started by MahyAss on Thu, 12/22/2022 - 15:00
Topic category: Help with modding (Java Edition)
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?
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.
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