Help me I can't blow up a modding creeper

Started by Elxist23 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help me I can't blow up a modding creeper
Hello
I am asking you for help with a creeper that I am developing except that I cannot detonate it (AI).
Could you help me with the AI ​​for when I approach the creeper it explodes and it rushes on me because I have to hit it for it to attack me.
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is kinda complicated…
Thu, 02/18/2021 - 08:03

This is kinda complicated but It should work. This is an example for an ordinary creeper.

Make a Procedure called "CreeperExplode"

On the green block that auto generates, you will see a bar on it. Press the bar and scroll down until you see "Entity Attacked" Now write the following.

If [Source Entity] = Of Type (Place Creeper Here)

Then: Despawn Source Entity

Explode with radius 3.

 

Hopefully this is helpful!

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Its not worked
Sat, 03/27/2021 - 12:55

Its not worked