Problem with Keybinds and Entities

Started by Stonkman on

Topic category: Help with MCreator software

Last seen on 15:59, 24. Oct 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with Keybinds and Entities

Hi, I'm attempting to create a working A10 and so far it flies. I wanted to integrate the weapon I made for it into the Entity via Procedure and Keybind, yet this is not working. I set the additional trigger to "on entity tick update" for test purposes and it shoots continuously, is I select anything else it does nothing, not even when combined with the Keybinding I created, any suggestions on how to fix this? I'm on MCreator 2021.1 and relatively new to this, thanks for any help!

Last seen on 00:59, 19. Oct 2022
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have the idea, I will do…
Sun, 05/02/2021 - 16:13

I have the idea, I will do some tests
and I will tell you the results

Last seen on 00:59, 19. Oct 2022
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There, it worked create a…
Sun, 05/02/2021 - 17:01

There, it worked
create a key binding and add a procedure to the tigger "on key pressed".
https://imgur.com/a/ZvXro7r

Then create a procedure that is not bound to anything
and put the following
https://imgur.com/a/N4MKCm6

Remember that you have to create a "ranged item" where you can add the model of the bullet (it is recommended), you can also add if you want it to do something when it hits an entity or a block (in my case it would make it explode).

Last seen on 15:59, 24. Oct 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much, I'm gonna…
Sun, 05/02/2021 - 17:37

Thank you so much, I'm gonna try it right now and if it works I'll publish the finished mod soon, thanks again!