How to make enemies that inflict conditions?

Started by Rednax on

Topic category: Help with MCreator software

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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. 

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
? 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?

Joined Jan 2020
Points:

User statistics:

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

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

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Joined Sep 2019
Points:

User statistics:

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

Also what do you mean by shoot?

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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