Topic category: Help with MCreator software
I'm making a crafting station that works similar to a Brewing Stand but I don't know where to start. How I would like it to work would be that you would put a Blaze Powder into the bottom left slot (filling the meter it's connected to,) a Dragon's Breath into the bottom right slot (filling the meter it's connected to,) insert the infusion ingredient into the top left slot, and a Thick/Mundane/Awkward Potion into the top left slot. Once all of these items are in the GUI they get consumed and the arrow fills up while the bubbles boil (similar to that of a Brewing Stand) and the middle slot is filled with your crafted infusion. I have images of the filled Blaze & Breath meters hidden and the bubble and arrow parts of the GUI have empty variants underneath.
The thing I'm having the most trouble with is actually telling the GUI when and when not to render the appropriate images with procedures, the crafting itself and timer I can do myself with no problem.
NBTs, only show images when NBT is enabled
and set NBT when items in slots
@RexCerv, the NBT method works, but it only actually updates the image once you exist and re-enter the block. Is there any alternative method that would update it in real time?
maybe block tick update and not gui tick update?
I don't think block tick update supports guistate dependencies
I think it can work, make 2 procedures, one on entity tick update if get item in slot of block at x y z etc
do set nbt number tag Timer of block at x y z etc etc
and on condition just check the Timer tag
I don't think it could work, I know it will work. I have used this before
could you send some images of what this would look like or a .ptpl file cuz i'm having trouble visualising that
you can use imgur to host images and link them
I know how to send images, but right now I can't, but basically on block tick update get the item on blocks inventory and set a Number Tag Timer to get tag timer + 1
and on the condition get tag of block at x y z
@RexCerv I seem to have found another way to achieve the same effect without calling constant tick updates
I have two procedures trigger when slot 2 and slot 3 change respectively. I then check whether the slots changed to contain either blaze powder or dragon's breath and if they do, set the NBT to true and else set NBT to false. Then into if do and if else I update the block at x y z once so that the GUI also updates in real time without calling constant updates every tick
and the timer? that is only logic
can i get some tuto on ytb