Help in this element mod for my mod

Started by Ino on Wed, 05/20/2020 - 22:31

Topic category: Help with modding (Java Edition)

Last seen on 22:09, 22. May 2020
Joined May 2020

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help in this element mod for my mod
Wed, 05/20/2020 - 22:31

asked about making my mod through the platform, however, I didn't know how to add a function. I made an entity to be a "cannon" and I would like to add a function that makes it look where the player is looking and that it shoots whenever the player presses a button, can you help me with that?