[TUTORIAL] Baubles in mcreator!

Started by WOSAJ2 on

Topic category: User side tutorials

Last seen on 14:33, 18. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Baubles in mcreator!
Sat, 02/06/2021 - 14:12 (edited)

Hello everyone, today we will make baubles in mcreator, we will be able to wear rings and amulets just like in this mod.
The guide will be further developed 
Let's go! 
To begin with, we create a GUI, remove all the checkboxes in each slot, and arrange the slots according to your taste.

My GUI

GUI

Next, go to variables, there make logical and itemstack variables, there will be as many of them as you have slots in the gui, configure them like this:

Name         |           type |            scope       | initial value

Amuletslot | itemstack | player lifetime |

Ringslot1    | itemstack | player lifetime |

Ringslot2    | itemstack | player lifetime |

Save            | logic          | player persistent | true

 

 

The next step is to do 4 procedures, for convenience, call them: read, write, open, save.
That's what the horses look like:

Write:

 

Write

 

This is a bit truncated unfortunately, it says: if get global "save" do: repeat 10 times: call "read" set global "save" to false

Read:

Read

Save:

Save

Open:

Open screen to event/target entity (your GUI name)

 

next, we do key binding and assign it to 'when key pressed' insert the 'open' procedure.
Take longer to open shashe GUI click "click to expand" and insert the following procedures: "read" in 'when GUI open', "write" in 'update tick', "save" in 'when GUI closed'
Done!

To add effects to the rings/what you need, just do a variable check

BB4N!

Edited by WOSAJ2 on Sat, 02/06/2021 - 14:12
Last seen on 21:55, 18. Aug 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, could I make it to…
Tue, 03/09/2021 - 14:30

Also, could I make it to when I put an item into a slot, there be, for example, a headband on the players head? Is it possible to make a position for this in Blockbench?

Last seen on 14:33, 18. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortunately, no
Tue, 03/09/2021 - 14:44

Unfortunately, no

Last seen on 11:11, 27. Nov 2022
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wonderful tutorial! Is there…
Tue, 03/09/2021 - 16:33

Wonderful tutorial!

Is there a way to make that only a few items are able to be put in accessory slots?

Last seen on 01:09, 29. Aug 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Awesome! Very helpful, thank…
Wed, 03/10/2021 - 16:02

Awesome! Very helpful, thank you

Last seen on 21:55, 18. Aug 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could I make a piece of…
Fri, 03/12/2021 - 20:56

Could I make a piece of armor that I could put it into a slot that would show the model then? 

(this is similar to my recent question)  

Last seen on 19:29, 27. Oct 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Pls, give full pictures
Sun, 03/28/2021 - 00:07

Pls, give full pictures

Last seen on 14:33, 18. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Google drive truncates them…
Sun, 03/28/2021 - 01:03

Google drive truncates them in any case

Last seen on 19:29, 27. Oct 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you send me a discord…
Sun, 03/28/2021 - 01:10

can you send me a discord please 96maxxam69#8449

Last seen on 15:38, 1. Dec 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'll make a new complex…
Sun, 03/28/2021 - 01:44

I'll make a new complex Armory System in my mod,
you'll see soon (whenever I finish it).

Last seen on 20:38, 30. Dec 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This works great! I just ask…
Sun, 03/28/2021 - 02:33

This works great! I just ask if you could upload better pictures u-u" . Something showing the procedure blocks fully would be best! You can use the Windows Screen Snipping tool, or just press PrtSc (print screen) and edit on Paint.

Last seen on 05:10, 27. Apr 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
omg I did this for my mod…
Sun, 03/28/2021 - 23:59

omg I did this for my mod before seeing this, it is exactly the same

Last seen on 05:10, 27. Apr 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
needs some improvements  
Mon, 03/29/2021 - 00:00

needs some improvements

 

Last seen on 19:29, 27. Oct 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can show screenshots of…
Mon, 03/29/2021 - 08:11

You can show screenshots of your block system ?

Last seen on 01:09, 29. Aug 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This tutorial doesn't seem…
Thu, 05/20/2021 - 21:45

This tutorial doesn't seem to work for me. 

I followed it step-by-step and it just doesn't work. 

(I am using MCreator 2021.1, 1.16.5)