How do I make a custom crafting station similar to a Brewing Stand?

Started by tazzan on

Topic category: Help with MCreator software

Last seen on 19:56, 31. Oct 2022
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a custom crafting station similar to a Brewing Stand?

Infuser GUI

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.

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBTs, only show images when…
Thu, 10/14/2021 - 00:15

NBTs, only show images when NBT is enabled

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and set NBT when items in…
Thu, 10/14/2021 - 00:15

and set NBT when items in slots

Last seen on 19:56, 31. Oct 2022
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@RexCerv, the NBT method…
Sun, 10/17/2021 - 04:15

@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?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
maybe block tick update and…
Sun, 10/17/2021 - 04:17

maybe block tick update and not gui tick update?

Last seen on 19:56, 31. Oct 2022
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think block tick…
Sun, 10/17/2021 - 04:23

I don't think block tick update supports guistate dependencies

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think it can work, make 2…
Sun, 10/17/2021 - 04:30

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

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think it could work,…
Sun, 10/17/2021 - 04:33

I don't think it could work, I know it will work. I have used this before

Last seen on 19:56, 31. Oct 2022
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
could you send some images…
Sun, 10/17/2021 - 04:38

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

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know how to send images,…
Sun, 10/17/2021 - 15:02

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

Last seen on 19:56, 31. Oct 2022
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@RexCerv I seem to have…
Sun, 10/17/2021 - 20:12

@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

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and the timer? that is only…
Sun, 10/17/2021 - 20:20

and the timer? that is only logic

Last seen on 17:12, 16. Nov 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can i get some tuto on ytb
Fri, 10/28/2022 - 19:36

can i get some tuto on ytb