How to give an entity multiple weapons?

Started by Shitty mod creator on

Topic category: Help with modding (Java Edition)

Last seen on 21:27, 21. Dec 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to give an entity multiple weapons?

How can I give an entity multiple weapons? I'm working on a rideable tank, and I want there to be a cannon that fires shells, and a machine gun that fires bullets. The machine gun shoots fast, while the cannon shoots slowly. Is it possible to give this entity multiple weapons?

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
with a biped model, yes. or…
Sat, 11/06/2021 - 22:58

with a biped model, yes. or unless you want to add the weapons to the entities model. or code

Last seen on 21:27, 21. Dec 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thanks. It sucks that I…
Sat, 11/06/2021 - 23:00

Ok thanks. It sucks that I can't do it with my custom model, but I guess I'll make a new type of tank with machine guns only or something. Thanks for the help.

Last seen on 21:27, 21. Dec 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also, by "or code" do you…
Sun, 11/07/2021 - 15:47

also, by "or code" do you mean the block code that mcreator uses? Or do I have to type code for the entity

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
type the code
Sun, 11/07/2021 - 15:56

type the code