“Splash” Area of Effect on items

Started by Calazacks on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
“Splash” Area of Effect on items

Hello. I am relatively new to MCreator and I was curious as to whether or not I could make items (for example a ranged item or a sword) that could cause a small area of effect damage/adding potion effects to nearby mobs. Basically a splash potion effect on a different item. Many thanks for any assistance. 

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To further elaborate, I am…
Fri, 02/21/2020 - 00:24

To further elaborate, I am wanting to make a ranged item similar to a splash potion but with a custom appearance and effects, and also a sword that when hitting a mob would have the same effect as a splash potion of poison, effecting all nearby. 

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured out a decent…
Sat, 06/20/2020 - 20:23

I figured out a decent solution, execute a command to summon a splash/lingering potion of whatever type on hit.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured out a decent…
Sun, 06/21/2020 - 02:55

I figured out a decent solution, execute a command to summon a splash/lingering potion of whatever type on hit.

I suggest not using commands, however if you dont know how to code that may be the best option as what I will provide I dont believe is possible yet in MCreator.

If you do know/want to code;

World::getEntitiesWithinAABB

This will provide you with an iterable list.

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tbroski, I see you have a…
Sun, 06/21/2020 - 04:23

Tbroski, I see you have a lot of skills about coding, why dont you make plugins?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Perhaps I will haha. I'll…
Sun, 06/21/2020 - 10:44

Perhaps I will haha. I'll look more into it tonight lol👍

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get the closet entity to x y…
Sun, 06/21/2020 - 13:22

get the closet entity to x y z optionally in a radius desperately needed :D

can't figure out how to do it XD

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get nbt of the closest…
Sun, 06/21/2020 - 16:11

Get nbt of the closest entity subtype of ... in radious ... would be a dream