How to make enemies that inflict conditions?

Started by Rednax on

Topic category: Help with MCreator software

Active 4 years ago
Joined Jan 2020
Points:
852

User statistics:

  • Modifications: 5
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 184
How to make enemies that inflict conditions?

I'm making a large mod and one feature will be Mage enemies that are neutral and attack you with spells. I'm gonna make Fire Mage, Nature Mage etc. They will use a custom model, so no item wielding. How do you make enemy projectiles set on fire, or cause potion effects?

Active 5 years ago
Joined Sep 2019
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 139
So coincidentally I have…
Sat, 02/01/2020 - 09:21

So coincidentally I have been working on this as well and have come up with the entity using blocks as projectiles as you cannot change the speed of an arrow. If you are interested in this I will be able to give you my mod (please don't spread it as it is still being worked on) and I have created an entire entity exploring the possibility of a mage with random attacks. Let me know if you are interested and I will help you.

 

P.S. If you alter the code of the arrow that is fired by copying code from a bow that shoots a projectile then you can create an exploding arrow from an entity but i cannot create it to be slow. This makes it so that the projectile would be over powered and cannot be defeated easily but I could help you with this also

Active 4 years ago
Joined Jan 2020
Points:
852

User statistics:

  • Modifications: 5
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 184
Yes, but I want the…
Sat, 02/01/2020 - 22:30

Yes, but I want the projectile to inflict potion effect, fire and other conditions on the player without using an arrow. And yes, I would like to see your mod.

Active 5 years ago
Joined Sep 2019
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 139
Ok so I have been animating…
Sat, 02/01/2020 - 23:57

Ok so I have been animating a block to make it into a projectile. Unfortunately I have run into an error where the "when entity colides with block" event doesn't work. Because I don't know a better way here is a link to a document that will have screenshots and other things to help with the code.

 

https://docs.google.com/document/d/1qOUO8ZzYAe0G4_psvgVmwmluxtfdLTsii-n…

 

Thanks,

Shadow

Active 4 years ago
Joined Jan 2020
Points:
852

User statistics:

  • Modifications: 5
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 184
Hmmm. Looked at it, still…
Sat, 02/08/2020 - 09:43

Hmmm. Looked at it, still not what I was going for. But it's a good idea that I wouldn't have thought of. It would be very useful for lava or water mobs that leave a trail of liquid behind them. Thanks Shadowmaster. 

Active 5 years ago
Joined Sep 2019
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 139
? What are you going for?…
Sun, 02/09/2020 - 01:49

? What are you going for? When I get it I could give you a demonstration of what it would look like. What do you mean "leave a trail of liquid behind them?

Active 4 years ago
Joined Jan 2020
Points:
852

User statistics:

  • Modifications: 5
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 184
I'm going for: Mob shoots…
Tue, 02/11/2020 - 05:06

I'm going for: Mob shoots player > Player on fire/ poisoned/ othered,

Active 5 years ago
Joined Sep 2019
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 139
Yea... You can do that but…
Tue, 02/11/2020 - 10:06

Yea... You can do that but what do you mean by "lava or water mobs?

Active 5 years ago
Joined Sep 2019
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 139
Also what do you mean by…
Tue, 02/11/2020 - 10:10

Also what do you mean by shoot?

Active 4 years ago
Joined Jan 2020
Points:
852

User statistics:

  • Modifications: 5
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 184
Lava or water mob is just a…
Wed, 02/12/2020 - 19:38

Lava or water mob is just a mob textured and modelled to look like it's made of lava or water. And by shoot I mean mob ranged attack with projectile.

Active 5 years ago
Joined Sep 2019
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 139
Ok. It's just that i always…
Wed, 02/12/2020 - 19:49

Ok. It's just that i always envisioned a mage having a visible projectile

Active 5 years ago
Joined Sep 2019
Points:
760

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 139
I have no other ways of…
Wed, 02/12/2020 - 19:51

I have no other ways of doing that. Good luck on your endeavor,

Shadow