Need Help With Something

Started by BigBacon28 on Sun, 10/13/2019 - 05:27

Topic category: Advanced modding

Last seen on 08:40, 20. Oct 2019
Joined Apr 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Need Help With Something
Sun, 10/13/2019 - 05:27

I'm making a mod about wizards and I'm wondering if its possible for me to make a way to switch spells with the push of a button, example

I push Q or E to cycle through a selection of spells when I'm holding a wand and I right click to cast the selected spell and the spell can be displayed in a gui in the corner of the screen.

is this possible? and if it is how can I do this?

Use a global variable …
Sun, 10/13/2019 - 09:38

Use a global variable (number) to store states, and key binding to increase/decrease this value. Then you can use this state variable in procedures.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Last seen on 08:40, 20. Oct 2019
Joined Apr 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thanks! Also I love all your…
Mon, 10/14/2019 - 07:40

Thanks!

Also I love all your youtube videos and I love mcreator aswell!

Last seen on 08:40, 20. Oct 2019
Joined Apr 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Sorry To Bother You But Can…
Mon, 10/14/2019 - 08:13

Sorry To Bother You But Can You Perhaps Help Me Out With The Code,

I Watched a few videos and fiddled around with the procedures but I just cant get, however I did get the decrease and increase thing for the var working just cant get anything else working ;(