Help me I can't blow up a modding creeper

Started by Elxist23 on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Feb 2021
Points:
590

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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.
Active 4 months ago
Joined Sep 2019
Points:
1195

User statistics:

  • Modifications: 4
  • Forum topics: 58
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 425
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!

Active 4 years ago
Joined Feb 2021
Points:
590

User statistics:

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

Its not worked